bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] _pager_do_write_request fixes


From: Sergey Bugaev
Subject: [PATCH 0/4] _pager_do_write_request fixes
Date: Sat, 8 May 2021 18:31:40 +0300

This is the same patch, split into three for readabilty and
reviewability. I'm still looking for feedback :)

Instead of removing the munmap from _pager_do_write_request (),
document that pager_write_page () is *not* supposed to unmap the
page (nor keep references to it), and remove the munmap call from
storeio.

Sergey Bugaev (4):
  libpager: pager_write_page () should not unmap page
  libpager: Store omit_data in an array
  libpager: Track which pages are precious
  libpager: Do not throw away precious pages

 doc/hurd.texi          |  6 ++--
 libpager/data-return.c | 67 ++++++++++++++++--------------------------
 libpager/offer-page.c  |  2 ++
 libpager/pager.h       |  6 ++--
 libpager/priv.h        |  1 +
 storeio/pager.c        |  8 ++---
 tmpfs/pager-stubs.c    |  6 ++--
 7 files changed, 41 insertions(+), 55 deletions(-)

-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]