summaryrefslogtreecommitdiff
path: root/net/devres.c
diff options
context:
space:
mode:
authorMinchan Kim <minchan@kernel.org>2022-01-21 22:14:01 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-22 08:33:37 +0200
commit3ae92ac23bd88ed18c43a5b138d5a91252c31d2a (patch)
tree7db70266dd3802af8f27e4060348c7532e46ec9d /net/devres.c
parent0a5f079b810765be3bd931fce0f88154035af897 (diff)
zsmalloc: introduce obj_allocated
The usage pattern for obj_to_head is to check whether the zpage is allocated or not. Thus, introduce obj_allocated. Link: https://lkml.kernel.org/r/20211115185909.3949505-5-minchan@kernel.org Signed-off-by: Minchan Kim <minchan@kernel.org> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Mike Galbraith <umgwanakikbuti@gmail.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/devres.c')
0 files changed, 0 insertions, 0 deletions