Messages in this thread | | | Date | Mon, 15 Oct 2018 12:44:43 -0600 | From | Yu Zhao <> | Subject | Re: [PATCH] mm: detect numbers of vmstat keys/values mismatch |
| |
On Mon, Oct 15, 2018 at 08:41:52PM +0200, Jann Horn wrote: > On Mon, Oct 15, 2018 at 8:38 PM Yu Zhao <yuzhao@google.com> wrote: > > There were mismatches between number of vmstat keys and number of > > vmstat values. They were fixed recently by: > > commit 58bc4c34d249 ("mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly") > > commit 28e2c4bb99aa ("mm/vmstat.c: fix outdated vmstat_text") > > > > Add a BUILD_BUG_ON to detect such mismatch and hopefully prevent > > it from happening again. > > A BUILD_BUG_ON() like this is already in the mm tree: > https://ozlabs.org/~akpm/mmotm/broken-out/mm-vmstat-assert-that-vmstat_text-is-in-sync-with-stat_items_size.patch
My bad! Didn't notice this. Please disregard this patch.
| |