[PATCH] dax: make sure inodes are flushed before destroy cache

2022-02-11 Thread Tong Zhang
A bug can be triggered by following command $ modprobe nd_pmem && modprobe -r nd_pmem [ 10.060014] BUG dax_cache (Not tainted): Objects remaining in dax_cache on __kmem_cache_shutdown() [ 10.060938] Slab 0x85b729ac objects=9 used=1 fp=0x4f5ae469 flags=0x2010200(slab|

Re: [PATCH v1 1/1] ACPI: Switch to use list_entry_is_head() helper

2022-02-11 Thread kernel test robot
Hi Andy, I love your patch! Yet something to improve: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on nvdimm/libnvdimm-for-next v5.17-rc3 next-20220211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH v1 1/1] ACPI: Switch to use list_entry_is_head() helper

2022-02-11 Thread Andy Shevchenko
Since we got list_entry_is_head() helper in the generic header, we may switch the ACPI modules to use it. This eliminates the need in additional variable. In some cases it reduces critical sections as well. Signed-off-by: Andy Shevchenko --- drivers/acpi/acpi_ipmi.c | 16 ++-- driver