Home
last modified time | relevance | path

Searched hist:c0a12a6b7d697382511ff36e7815aad6a379b3a7 (Results 1 – 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DDataContainer.hc0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.
H A DDataContainer.cppc0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.
H A DJamfilec0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.
H A Dkernel_interface.cppc0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.
/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cppc0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.
/haiku/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.hc0a12a6b7d697382511ff36e7815aad6a379b3a7 Wed Aug 14 22:35:37 UTC 2024 Augustin Cavalier <waddlesplash@gmail.com> ramfs: Properly acquire/release references to the vnode in VMCache.

This is what AcquireStoreRef/ReleaseStoreRef are for. We don't use
VMVnodeCache here because that is a non-"temporary" cache that
writes its pages back to disk, while we need a store for the pages
that won't discard unmodified ones when memory is low.

Add a close() to the mmap_cut_tests, which triggers the case where
this is important (a file is unlinked, mmap'ed, and then the lone
FD referring to it is closed, triggering the file's deletion unless
the mmap also acquired a reference to the vnode.)

Fixes KDLs with Firefox test builds.