reactos/ntoskrnl/cc
Pierre Schweitzer 09f068086d [0.4.9] cherry-pick [NTOSKRNL] Only consider SharedCacheMap value once ViewLock is acquired.
This avoids a really nasty race condition in our cache controler where
two concurrents could try to initialize cache on the same file.
This had two nasty effects: first shared map was purely leaked and erased
by the second one. And the private cache map, allocated on the first shared
cache map couldn't be freed and was leading to Mm BSOD (free in a middle of
a block).

This was often triggered while building ReactOS on ReactOS (with multi threads).
With that patch, I cannot crash anylonger while building ReactOS.

CORE-14634

(cherry picked from commit 8a8cb4d890)
2018-05-26 14:12:42 +02:00
..
cacheman.c [NTOS:CC] Use UNIMPLEMENTED_ONCE instead of custom code 2018-04-07 12:00:10 +02:00
copy.c [NTOSKRNL] Map the VACB in kernel space before inserting it in lists. 2018-04-15 22:52:53 +02:00
fs.c [NTOSKRNL] Drop the VACB lock. 2018-04-15 22:52:53 +02:00
lazywrite.c [NTOSKRNL] Optimize a bit deferred writes. 2018-05-02 23:33:45 +02:00
mdl.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
pin.c [NTOSKRNL] Fix lazy writer for in-use VACB. 2018-04-29 20:42:53 +02:00
view.c [0.4.9] cherry-pick [NTOSKRNL] Only consider SharedCacheMap value once ViewLock is acquired. 2018-05-26 14:12:42 +02:00