From patchwork Tue Mar 19 17:59:53 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: 13596974 X-Patchwork-Delegate: snitzer@redhat.com Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 1C0452C1A9 for ; Tue, 19 Mar 2024 18:00:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710871221; cv=none; b=cXm3tMZJfWc2jxsKF2b3Wq2XMNnfwHYbg8YXr8J8DMxl60yPHopJ+PnPkgtaGx7i9AC/YEqCANvokBibxgyS+0H19V6J6yTo2ViyU+ut4BuRxjwkqKgEXznEwx0Ym9eW51HrCjSTl5GkIYclHXiKGDj2jmhYUzDJ5+4X62n7LbU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710871221; c=relaxed/simple; bh=Uxy4FXDyNLzaAJy4CxHQi0yIvgpDLivSSBXdnPwCwuQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=NRUwUjP5ABfB+HccxlCNDaQT48jK9OQ/7u+Z40PXkJcFHIvlPrDEVTpUXzYC0IENWy9pD96RmWmDAMeR/SONJzxTQ9zbCgdydOMqZJ6cIZR/HUpnJDbWINgZBIZCDxCjYkEe1i8reE1AXfOThUtW+DmUnJKR3fSc0mul7jrfr5g= 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=CebX4a22; arc=none smtp.client-ip=209.85.210.174 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="CebX4a22" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6e73f67adcdso378665b3a.0 for ; Tue, 19 Mar 2024 11:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710871219; x=1711476019; 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=pHaHpy3VMSxU4FhivVA5zrQI0a35rqqHjlYe3D324Dw=; b=CebX4a22a30UoMW0JyBx20UFq0X5Jetfj3htqZgDMLMHdaE5BbHS4DtXoTxirQTqt/ sanhisrToDf2sfIN0k/oLr73TCmQlL1x05wFYkjr/vJb3Mj65E2ynC9xCH6boWmAgByL 3sPpp7B5H/SN8uMwnUEr/iJrV5HD7PqNVGDnX1Josj29lZeZdj/51KYDTqlcESRrD7XR EhwsqqtI5t7mlT4nXHa3Kwprv//0DwquNT/kUNBGpO36qO70FldVJ9l2f9xOm/vmXfxK V3iXvXj+8z0tk74MjuRFRSuCtAVJKjdaMmpg3FGxWTAbW/BLbFIRC9EBwhvPhSb8D8TT +xTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710871219; x=1711476019; 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=pHaHpy3VMSxU4FhivVA5zrQI0a35rqqHjlYe3D324Dw=; b=ggpWVxdlh6syBmLZyQd9cGLQaaN3ibVNeEbG+M4MkMo5KRlo73RrzGx/ISp2pkNDEE /aGVnwwXlKYvahyDEIraT9ID2k/LeaK9e7x/3kRvfkijWJ1+JXtxcAclxtrdINgsW3jT xpfuP8WZaJAdn9L/aQ2QTSkpNhCnbtTZla227/H93AIBJGU0R7gjAzuqu0pi2FB7Z4oo 34ZteOtr7AyDaL0pTnzvmAbtTQFyL+E5RPX1MOGBwqHq+Y40KalsNajSG084OuZ344IF hZ7mzghSPI/8VMnuZ9gBeELWZX8FmLzb8YsFx9QXDqxUSyVSu1d7ADVxIfk/FICrmoj4 WQqw== X-Forwarded-Encrypted: i=1; AJvYcCXFq0n8Tb/gSZwYPc4uZJjkhZt8uFgCjt3kxL8o3RxfWcg+yhosdkKlt2Je8+ZCZCW1zQrsBgASW83kTyEgBr5kCEARAgRmYzg= X-Gm-Message-State: AOJu0Yx5+1oNzTktgPo8A2vS0JFMqiQC8skG34hkMzjuoz6Cru0Qy9vK orCzDRyz5PRIR8sjZwC+xecJ4rHH/DhG0btHmASwm4FO+cTzflWZ X-Google-Smtp-Source: AGHT+IEhvdpXvwvqRRV0hHJ9/OeRmetDSphgKPoBonzn3eX0p5BLYq7lCrwYVR2oGhatifQimhK+0w== X-Received: by 2002:a05:6a20:72a9:b0:1a1:1a07:b0b3 with SMTP id o41-20020a056a2072a900b001a11a07b0b3mr17181784pzk.5.1710871219281; Tue, 19 Mar 2024 11:00:19 -0700 (PDT) Received: from visitorckw-System-Product-Name.. ([140.113.216.168]) by smtp.gmail.com with ESMTPSA id u16-20020a17090341d000b001dd3bee3cd6sm5531359ple.219.2024.03.19.11.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 11:00:18 -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, dm-devel@lists.linux.dev, linux-bcachefs@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Kuan-Wei Chiu Subject: [PATCH 01/13] perf/core: Fix several typos Date: Wed, 20 Mar 2024 01:59:53 +0800 Message-Id: <20240319180005.246930-2-visitorckw@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240319180005.246930-1-visitorckw@gmail.com> References: <20240319180005.246930-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 --- 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)