Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc)

2024-06-07 Thread Nhat Pham
On Thu, Jun 6, 2024 at 6:43 AM Sergey Senozhatsky wrote: > > On (24/06/06 12:46), Chengming Zhou wrote: > > >> Agree, I think we should try to improve locking scalability of zsmalloc. > > >> I have some thoughts to share, no code or test data yet: > > >> > > >> 1. First, we can change the pool

Re: [RFC PATCH] mm: z3fold: rename CONFIG_Z3FOLD to CONFIG_Z3FOLD_DEPRECATED

2024-01-15 Thread Nhat Pham
On Mon, Jan 15, 2024 at 4:27 AM Vitaly Wool wrote: > > On Fri, Jan 12, 2024 at 8:31 PM Yosry Ahmed wrote: > > > > The z3fold compressed pages allocator is not widely used, most users use > > zsmalloc. The only disadvantage of zsmalloc in comparison is the > > dependency on MMU, and zbud is a

Re: [RFC PATCH] mm: z3fold: rename CONFIG_Z3FOLD to CONFIG_Z3FOLD_DEPRECATED

2024-01-14 Thread Nhat Pham
On Sun, Jan 14, 2024 at 10:49 AM Yosry Ahmed wrote: > > On Fri, Jan 12, 2024 at 4:38 PM Nhat Pham wrote: > > > > On Fri, Jan 12, 2024 at 3:37 PM Yosry Ahmed wrote: > > > > > > On Fri, Jan 12, 2024 at 11:42 AM Nhat Pham wrote: > > > > >

Re: [RFC PATCH] mm: z3fold: rename CONFIG_Z3FOLD to CONFIG_Z3FOLD_DEPRECATED

2024-01-12 Thread Nhat Pham
On Fri, Jan 12, 2024 at 3:37 PM Yosry Ahmed wrote: > > On Fri, Jan 12, 2024 at 11:42 AM Nhat Pham wrote: > > > > On Fri, Jan 12, 2024 at 11:31 AM Yosry Ahmed wrote: > > > > > > The z3fold compressed pages allocator is not widely used, most users use &

Re: [RFC PATCH] mm: z3fold: rename CONFIG_Z3FOLD to CONFIG_Z3FOLD_DEPRECATED

2024-01-12 Thread Nhat Pham
he zswap maintainers. > + > A special purpose allocator for storing compressed pages. > It is designed to store up to three compressed pages per physical > page. It is a ZBUD derivative so the simplicity and determinism are > still there. > > +config Z3FOLD > + tristate > + default y > + depends on Z3FOLD_DEPRECATED > + > config ZSMALLOC > tristate > prompt "N:1 compression allocator (zsmalloc)" if ZSWAP > -- > 2.43.0.275.g3460e3d667-goog > FWIW: Acked-by: Nhat Pham

Re: [RFC PATCH] mm: z3fold: rename CONFIG_Z3FOLD to CONFIG_Z3FOLD_DEPRECATED

2024-01-12 Thread Nhat Pham
On Fri, Jan 12, 2024 at 11:31 AM Yosry Ahmed wrote: > > The z3fold compressed pages allocator is not widely used, most users use > zsmalloc. The only disadvantage of zsmalloc in comparison is the > dependency on MMU, and zbud is a more common option for !MMU as it was > the default zswap

Re: [PATCH] cachestat: wire up cachestat for other architectures

2023-05-11 Thread Nhat Pham
On Wed, May 10, 2023 at 8:23 PM Michael Ellerman wrote: > > Nhat Pham writes: > > cachestat is previously only wired in for x86 (and architectures using > > the generic unistd.h table): > > > > https://lore.kernel.org/lkml/20230503013608.2431726-1-npha...@gmail

Re: [PATCH v13 3/3] selftests: Add selftests for cachestat

2023-05-11 Thread Nhat Pham
On Wed, May 10, 2023 at 8:21 PM Michael Ellerman wrote: > > Nhat Pham writes: > > Test cachestat on a newly created file, /dev/ files, and /proc/ files. > > Also test on a shmem file (which can also be tested with huge pages > > since tmpfs supports huge pages). > >

Re: [PATCH] cachestat: wire up cachestat for other architectures

2023-05-11 Thread Nhat Pham
On Thu, May 11, 2023 at 12:05 AM Arnd Bergmann wrote: > > On Wed, May 10, 2023, at 21:58, Nhat Pham wrote: > > cachestat is previously only wired in for x86 (and architectures using > > the generic unistd.h table): > > > > https://lore.kernel.org/lkml/202305030136

Re: [PATCH] cachestat: wire up cachestat for other architectures

2023-05-11 Thread Nhat Pham
On Thu, May 11, 2023 at 12:01 AM Geert Uytterhoeven wrote: > > Hi Nat, > > On Wed, May 10, 2023 at 9:58 PM Nhat Pham wrote: > > cachestat is previously only wired in for x86 (and architectures using > > the generic unistd.h table): > > > > https://lore.kern

[PATCH] cachestat: wire up cachestat for other architectures

2023-05-10 Thread Nhat Pham
cachestat is previously only wired in for x86 (and architectures using the generic unistd.h table): https://lore.kernel.org/lkml/20230503013608.2431726-1-npha...@gmail.com/ This patch wires cachestat in for all the other architectures. Signed-off-by: Nhat Pham --- arch/alpha/kernel/syscalls