diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-04-20 13:16:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-08 11:04:45 -0400 |
commit | df5f7e91dcf6c1decdc9785033b804bc0401a3b5 (patch) | |
tree | 7fe61672ef0d60be3463b11b518cbde04bb0634e /drivers | |
parent | 0d0efdf5a6d09c9a9865c9cb984d85f75a88ed79 (diff) |
mm/memcontrol.c: Convert to printbuf
This converts memory_stat_format() from seq_buf to printbuf. Printbuf is
simalar to seq_buf except that it heap allocates the string buffer:
here, we were already heap allocating the buffer with kmalloc() so the
conversion is trivial.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Acked-by: Michal Hocko <mhocko@suse.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions