diff options
| author | Minchan Kim <minchan@kernel.org> | 2022-01-22 09:14:01 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-22 09:33:37 +0300 |
| commit | 3ae92ac23bd88ed18c43a5b138d5a91252c31d2a (patch) | |
| tree | 7db70266dd3802af8f27e4060348c7532e46ec9d /include/linux/fpga/fpga-mgr.h | |
| parent | 0a5f079b810765be3bd931fce0f88154035af897 (diff) | |
| download | linux-3ae92ac23bd88ed18c43a5b138d5a91252c31d2a.tar.xz | |
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
