linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] perpcu: correct pcpu_find_block_fit comments
@ 2019-03-04 10:33 Peng Fan
  2019-03-04 10:33 ` [PATCH 2/2] percpu: pcpu_next_md_free_region: inclusive check for PCPU_BITMAP_BLOCK_BITS Peng Fan
  2019-03-04 19:13 ` [PATCH 1/2] perpcu: correct pcpu_find_block_fit comments Dennis Zhou
  0 siblings, 2 replies; 6+ messages in thread
From: Peng Fan @ 2019-03-04 10:33 UTC (permalink / raw)
  To: dennis, tj, cl; +Cc: linux-mm, linux-kernel, van.freenix, Peng Fan

pcpu_find_block_fit is not find block index, it is to find
the bitmap off in a chunk.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V1:
  Based on https://patchwork.kernel.org/cover/10832459/ applied linux-next

 mm/percpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 7f630d5469e8..5ee90fc34ea3 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1061,7 +1061,7 @@ static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits,
 }
 
 /**
- * pcpu_find_block_fit - finds the block index to start searching
+ * pcpu_find_block_fit - finds the offset in chunk bitmap to start searching
  * @chunk: chunk of interest
  * @alloc_bits: size of request in allocation units
  * @align: alignment of area (max PAGE_SIZE bytes)
-- 
2.16.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-05  1:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 10:33 [PATCH 1/2] perpcu: correct pcpu_find_block_fit comments Peng Fan
2019-03-04 10:33 ` [PATCH 2/2] percpu: pcpu_next_md_free_region: inclusive check for PCPU_BITMAP_BLOCK_BITS Peng Fan
2019-03-04 18:56   ` dennis
2019-03-05  1:31     ` Peng Fan
2019-03-04 19:13 ` [PATCH 1/2] perpcu: correct pcpu_find_block_fit comments Dennis Zhou
2019-03-05  1:49   ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox