]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: rename next_pool_inited to next_pool_required
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:16:02 +0000 (22:16 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:12 +0000 (15:36 -0800)
commit6a6430f2dcccacdb475f2530e1fb1efc3d6b0244
treee97588972a2284ceab85c6ba070010e1ca07d03e
parenta08a2b48184fc0bb2dce09b619f04306805a5400
lib/stackdepot: rename next_pool_inited to next_pool_required

Stack depot uses next_pool_inited to mark that either the next pool is
initialized or the limit on the number of pools is reached. However,
the flag name only reflects the former part of its purpose, which is
confusing.

Rename next_pool_inited to next_pool_required and invert its value.

Also annotate usages of next_pool_required with comments.

Link: https://lkml.kernel.org/r/484fd2695dff7a9bdc437a32f8a6ee228535aa02.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c