page_writer(): Added TODO about potential deadlock in case of loop file

systems/devices.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37502 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-07-13 23:42:31 +00:00
parent 62b6f47670
commit 2fd209cf00

View File

@ -2016,6 +2016,11 @@ page_writer(void* /*unused*/)
}
run.AddPage(page);
// TODO: We're possibly adding pages of different caches and
// thus maybe of different underlying file systems here. This
// is a potential problem for loop file systems/devices, since
// we could mark a page busy that would need to be accessed
// when writing back another page, thus causing a deadlock.
DEBUG_PAGE_ACCESS_END(page);