From patchwork Sat Apr 6 16:47:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuan-Wei Chiu X-Patchwork-Id: 13619872 X-Patchwork-Delegate: snitzer@redhat.com Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BB3D40878 for ; Sat, 6 Apr 2024 16:47:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712422067; cv=none; b=BPYEwwsETFUSB9hvsnc68rbLq4iwqIYBvoxzyRdYi2gvbJUwlt51FMyrmUHFu2rBrp5eTD7+bXI2AZ9ZoEq474k43ewUF4QfhT1ZnN0xhYqJqoM/MHxpr25QO00pBRs4EAMVQ9ZS8st5csTw/2HUzRJW53scnYFHQs3wsPQ93m0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712422067; c=relaxed/simple; bh=4n3PXoq7ifTVripzMWtTfmPNaw+I1mTBtc6mbpGaWSs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YAJ2Y5mBHKWPLmIM7CdjH/H5wFMM0Vjq76zXF1Q9JCUF4Mew4pG4uZlheoI5Qc7kmfqyXxeGt3Pgsr9ATRUh/BquFrN0y7HBntJHsCQ+NXTy3/I7YV6zsyuMQSilGqQ8TSQFSa004/fn+xm9EQBQqvstL9gprjcy66g0S1QaB3w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M5BN/YG4; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M5BN/YG4" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1e2ae3a3f66so5426395ad.0 for ; Sat, 06 Apr 2024 09:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712422065; x=1713026865; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QdmOvG2jwhJ+3WEh/LmFh3bdry4XeMTeGj+wdIbS7uw=; b=M5BN/YG4xMxbgmJNGnXamQaJO0Tq2OllAsD+LWATfcHQ1dHFJe/hltfn5JC4NpPG0K h++fX8ulbeOLyc9XptaTGB8IWy4cVtaKsnc598aC+aU3XDcjxivv1VFFYSXxDAhnW76C OFJrJtS6d7dDz8FL/gyFHosHPu29Ym/e9TSXDIVumgDxK/b2WxthMkAYoKzh/ADSfj1g uGX4ThcbQGokBl4C77xGDoEfKkEjzQ6fjw2R5yhGXqRq9rXdjoAnFXPqR3fK7MhUG9c5 xp3A1V+RVjcrNN9VKunHXSKSOmV13hviATz2hnSFDKExXz4zfPAEHVybd+Kp2hUeDxsC mhJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712422065; x=1713026865; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QdmOvG2jwhJ+3WEh/LmFh3bdry4XeMTeGj+wdIbS7uw=; b=I44JGkxkEr7zjSE5fkjHDG2iSAf1ojmIW9lQn14NZPffF/8CvLgWwBZw2NkcA19qOl EO062mqkMEjaNEC3zVbLX83gZy/BWUIbvU0obsT49DkraYXh1eRwZAceSdxIYRV9x77X +LCbZDJBX7JLglvuVzWjhhEZGQZxz0B7abo14Qt4KvPFpqT5x0G3/3HJGofxDSvntbjC MlWU3k8HRHaHt+ZITo7yFmW67ZAAubOKWXzqvejsGfGz2Q9L/hmMq9hYnBosc+go3urP 7pXwIY2SXM/w4n3nhw8OzqLOs7V69uQvRG7Tqvpn3d+4ZRhcUeLWRpr+ncUIWfz7NsaX kR1g== X-Forwarded-Encrypted: i=1; AJvYcCWwmVeCyMcrvSzX06frJqpZp4GG5THZ18rla/A7ReILxGtx3Uv9dUBgldYAeRG9EA8Q+yWwvUgXKE7cdU7iqdCCw9zU81XNWek= X-Gm-Message-State: AOJu0YwSXw5T9O60LzqpwzmUfYvmREHtJCDkQv19TO1If9ghd3U1WfBY UvdhzI46wDW3ifx8576dLVVg4P4xqoAAy5HiGbGyylb8HGgHINB/ X-Google-Smtp-Source: AGHT+IGWOuc9Ol7ysbO6FZhlZBOwsHS2RXhDQei5cJ5VQ0IsBFf7wE0rKclroa0qJR1vURSdXfR9/Q== X-Received: by 2002:a17:902:e5c1:b0:1e0:99b2:8a91 with SMTP id u1-20020a170902e5c100b001e099b28a91mr5337876plf.4.1712422065264; Sat, 06 Apr 2024 09:47:45 -0700 (PDT) Received: from visitorckw-System-Product-Name.. ([140.113.216.168]) by smtp.gmail.com with ESMTPSA id q14-20020a170902a3ce00b001e2b8c91f04sm3665068plb.22.2024.04.06.09.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 09:47:44 -0700 (PDT) From: Kuan-Wei Chiu To: colyli@suse.de, kent.overstreet@linux.dev, msakai@redhat.com, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, akpm@linux-foundation.org Cc: bfoster@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, jserv@ccns.ncku.edu.tw, linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org, dm-devel@lists.linux.dev, linux-bcachefs@vger.kernel.org, linux-perf-users@vger.kernel.org, Kuan-Wei Chiu Subject: [PATCH v3 01/17] perf/core: Fix several typos Date: Sun, 7 Apr 2024 00:47:11 +0800 Message-Id: <20240406164727.577914-2-visitorckw@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240406164727.577914-1-visitorckw@gmail.com> References: <20240406164727.577914-1-visitorckw@gmail.com> Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Replace 'artifically' with 'artificially'. Replace 'irrespecive' with 'irrespective'. Replace 'futher' with 'further'. Replace 'sufficent' with 'sufficient'. Signed-off-by: Kuan-Wei Chiu Reviewed-by: Ian Rogers Reviewed-by: Randy Dunlap --- kernel/events/core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index 724e6d7e128f..10ac2db83f14 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -534,7 +534,7 @@ void perf_sample_event_took(u64 sample_len_ns) __this_cpu_write(running_sample_length, running_len); /* - * Note: this will be biased artifically low until we have + * Note: this will be biased artificially low until we have * seen NR_ACCUMULATED_SAMPLES. Doing it this way keeps us * from having to maintain a count. */ @@ -596,10 +596,10 @@ static inline u64 perf_event_clock(struct perf_event *event) * * Event groups make things a little more complicated, but not terribly so. The * rules for a group are that if the group leader is OFF the entire group is - * OFF, irrespecive of what the group member states are. This results in + * OFF, irrespective of what the group member states are. This results in * __perf_effective_state(). * - * A futher ramification is that when a group leader flips between OFF and + * A further ramification is that when a group leader flips between OFF and * !OFF, we need to update all group member times. * * @@ -891,7 +891,7 @@ static int perf_cgroup_ensure_storage(struct perf_event *event, int cpu, heap_size, ret = 0; /* - * Allow storage to have sufficent space for an iterator for each + * Allow storage to have sufficient space for an iterator for each * possibly nested cgroup plus an iterator for events with no cgroup. */ for (heap_size = 1; css; css = css->parent)