On 06/24/2014 01:16 PM, Konstantin Khlebnikov wrote:> reserve;> > +#ifdef CONFIG_DEBUG_VM> + WARN_ONCE(percpu_counter_read(&vm_committed_as) <> + -(s64)vm_committed_as_batch * num_online_cpus(),> + "memory commitment underflow");> +#endifWhy not use VM_WARN_ON_ONCE()?