• Andrew Morton's avatar
    [PATCH] percpu: convert global page accounting · afce7191
    Andrew Morton authored
    Convert global page state accounting to use per-cpu storage
    
    (I think this code remains a little buggy, btw.  Note how I do
    
    	per_cpu(page_states, cpu).member += (delta);
    
    This gets done at interrupt time and hence is assuming that
    the "+=" operation on a ulong is atomic wrt interrupts on
    all architectures. How do we feel about that assumption?)
    afce7191
main.c 12.8 KB