Hi Mattew Please discard this email, and I will send another email again. Thanks Matthew Wilcox 于2018年6月2日周六 下午7:19写道: > On Sat, Jun 02, 2018 at 07:06:44PM +0800, 禹舟键 wrote: > > From: yuzhoujian > > > > This patch will make some preparation for the follow-up patch: Refactor > > part of the oom report in dump_header. It puts enum oom_constraint in > > memcontrol.h and adds an array of const char for each constraint. > > This patch is whitespace damaged. See the instructions for using git > send-email with gmail: https://git-scm.com/docs/git-send-email > > > +static const char * const oom_constraint_text[] = { > > + [CONSTRAINT_NONE] = "CONSTRAINT_NONE", > > + [CONSTRAINT_CPUSET] = "CONSTRAINT_CPUSET", > > + [CONSTRAINT_MEMORY_POLICY] = "CONSTRAINT_MEMORY_POLICY", > > + [CONSTRAINT_MEMCG] = "CONSTRAINT_MEMCG", > > +}; > > + > > Um, isn't this going to put the strings in every file which includes > memcontrol.h? >