Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/uvm
Hi,
On Sun, Dec 01, 2019 at 08:19:09AM +0000, Maxime Villard wrote:
> Modified Files:
> src/sys/uvm: uvm_fault.c
>
> Log Message:
> Use atomic_{load,store}_relaxed() on global counters.
If you would be so kind, please don't do any more of the UVM counters. I
have a patch to make these CPU local which will be going out for review in
the near future.
Cheers,
Andrew
<<<<<<< uvm_fault.c
uvm_stat_inc(UVM_STAT_FLTANGET);
=======
atomic_store_relaxed(&uvmexp.fltanget,
atomic_load_relaxed(&uvmexp.fltanget) + 1);
>>>>>>> 1.210
Home |
Main Index |
Thread Index |
Old Index