Re: [PATCH RFC 04/14] mm: vmstat: convert slab vmstat counter to bytes

2019-09-16 Thread Roman Gushchin
On Mon, Sep 16, 2019 at 02:38:40PM +0200, Johannes Weiner wrote: > On Thu, Sep 05, 2019 at 02:45:48PM -0700, Roman Gushchin wrote: > > In order to prepare for per-object slab memory accounting, > > convert NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE vmstat > > items to bytes. > > > > To make

Re: [PATCH RFC 04/14] mm: vmstat: convert slab vmstat counter to bytes

2019-09-16 Thread Johannes Weiner
On Thu, Sep 05, 2019 at 02:45:48PM -0700, Roman Gushchin wrote: > In order to prepare for per-object slab memory accounting, > convert NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE vmstat > items to bytes. > > To make sure that these vmstats are in bytes, rename them > to NR_SLAB_RECLAIMABLE_B

[PATCH RFC 04/14] mm: vmstat: convert slab vmstat counter to bytes

2019-09-05 Thread Roman Gushchin
In order to prepare for per-object slab memory accounting, convert NR_SLAB_RECLAIMABLE and NR_SLAB_UNRECLAIMABLE vmstat items to bytes. To make sure that these vmstats are in bytes, rename them to NR_SLAB_RECLAIMABLE_B and NR_SLAB_UNRECLAIMABLE_B (similar to NR_KERNEL_STACK_KB). The size of slab