From patchwork Fri May 24 15:29:43 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: 13673270 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 E63C412E1ED for ; Fri, 24 May 2024 15:30:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564614; cv=none; b=WVTuV7fyt61VS9PWAlIIzHbSmtkTO+o56UxaWyl5ODXO7jPF7eEAxi4CmFG1gonLRPHSx22Al4CrGFkvyy+6BD65H1OSvAuKmd0Ghv7uWtJvoDSpwThBNRygrLh5RZw0Ed3/Sofm3F1/Y5UDIIW+6ObwE8l30R7N5HX4I8vNEA4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716564614; c=relaxed/simple; bh=Vb+x/ZZbyvOZEx4tZHTKF+8NUAMDYHXMfePXFUeJ064=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=S98koyxykmvhEVH6vlnIO/2tHJuxLiQl24e8eZ6PBKCyA3VinjiU4yBD5rCCSs/yBsrRIEm+7tudRdFuDddBmPAbuh2eBq81mqANYrkgz6EZRzpCri1SonGE5XbRaFfDAHCkkhjpKWBqlkF3LvTri6J61mT46Y3DnQ9lFJbmu8I= 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=BaMaV8/u; arc=none smtp.client-ip=209.85.216.51 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="BaMaV8/u" Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2bf5bb3508fso182729a91.1 for ; Fri, 24 May 2024 08:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716564612; x=1717169412; 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=yA2giIirIzyk3qPOvNZ+vbWO0ihNMW8s6ZdoXXb+0f0=; b=BaMaV8/ulBJc9yRW0OXMjcTl6BnV5/IQxgRJViq72b3VZPE0ZZwovBgR0PEO1/o9AE nfGPtlhqMy2e26euQXqilcIEBPXAolIu/5TyLXofpHKHTrogFv+TseYldfwOkm2GHv0x Q/2jAI/bcJDLA3+y+Vtq5I1Gjv+GCXzc4bZDV3lgxbbjZ4Kcfnii37QeeFh+nHBxn1N8 9YwjLhoUBzFXf0aiS2L+C/ic7/s03OMY/H/Hi3JqdBPEiSaQHOcXNStt52dVPhQhD164 sC2cQLVeT8y9AApwNX180VJ9iENwRFo1viB4HQdFialtJNbGU7afoPbT/XTaYxaDLg4o y5Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716564612; x=1717169412; 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=yA2giIirIzyk3qPOvNZ+vbWO0ihNMW8s6ZdoXXb+0f0=; b=Zr16FjFJqEOClrf1jD1gcPDKudk7FnMZr8KTjmv4JUO7t/dmMW4JjiTooJaNI/owpE KdmbKS9Y9Uzm/KhtUCQBrzo0azEUlLZqy/B84x0ZhCvmFKDkO0bHRiRKVPGM843GrzHr Wimj2ubL/ie73ql0QmgEzoHmc0IAMyqg50h9X6guq7LOLN3vuVtz1Mg13yL9TkXxsqJg /2pLIMp4Wui33uyXR+sdLlVwhushWD0K45YduPK1mPnxW4oV8Vc7mrjfrRGUeUx2m/O9 InsISEtL3eScqsIPBb93R3YvibdySSImpcB/ogACr8p9oyTvZFR8tYD2ZRCwfns37Xp5 bGHQ== X-Forwarded-Encrypted: i=1; AJvYcCVsPNqqcFdpr98o2Y0zDQVGAA4E6P3F3IwD+qQRh//pIj0ny8OVGGGtOL+Il+z2l8Kl511j0zdQS3llZeEtKHqdIZExcsQS2D4= X-Gm-Message-State: AOJu0YwkKD+JGknvO1QAQarZCPI64RFczyau4GTVus2LXx8wFNM07fxm i0CVKgv2weu+cuFkCZCDCqFvn23CJXtNd3jcVwqkqceWV8jvNpGm X-Google-Smtp-Source: AGHT+IGLArb7OqWEB6CrXg11EyYlnXTDni6xakbN7NY6EO02Mt7rz76EsWl65GGah93FseFaBLmQUg== X-Received: by 2002:a17:90a:df13:b0:2bd:7e73:6628 with SMTP id 98e67ed59e1d1-2bf5e0c1bc4mr2586413a91.0.1716564612133; Fri, 24 May 2024 08:30:12 -0700 (PDT) Received: from visitorckw-System-Product-Name.. ([140.113.216.168]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2bf5f50d294sm1525556a91.20.2024.05.24.08.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 08:30:11 -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, bagasdotme@gmail.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 , Randy Dunlap Subject: [PATCH v6 01/16] perf/core: Fix several typos Date: Fri, 24 May 2024 23:29:43 +0800 Message-Id: <20240524152958.919343-2-visitorckw@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240524152958.919343-1-visitorckw@gmail.com> References: <20240524152958.919343-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 f0128c5ff278..5e4ad32aeb71 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)