[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.5-247-g261d957
From: |
Justus Winter |
Subject: |
[SCM] Hurd branch, master, updated. v0.5-247-g261d957 |
Date: |
Tue, 06 May 2014 11:20:39 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 261d957ebe4cf16aed76eed24b5bfd32f1f5a79a (commit)
via 3ad900b84497a2e619c30f76670e4757e8765f3e (commit)
from 8612278973d167a20f4d60d018f18c6975b37cca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 261d957ebe4cf16aed76eed24b5bfd32f1f5a79a
Author: Justus Winter <address@hidden>
Date: Wed Apr 30 01:10:05 2014 +0200
fatfs: use two distinct pager buckets for the disk and file pager
fatfs has two kinds of pagers. One for the files, one for the disk.
Previously, both were in the same port bucket.
If a request for a file pager arrives, it most likely touches some
metadata (like the superblock). This is in turn backed by the disk
pager, so another request is generated for the disk pager.
Seperate all pagers clearly by using two port buckets. This will
enable us to use a single thread per port bucket in the future.
* fatfs/pager.c (pager_bucket): Rename to...
(disk_pager_bucket): ... this to make the change explicit at every
occurrence.
(file_pager_bucket): New variable.
(service_paging_requests): New function.
(create_fat_pager): Also create the file pager.
(diskfs_get_filemap): Handout pagers from the file_pager_bucket.
(diskfs_shutdown_pager): This is only concerned with the file pager.
Simplify code accordingly.
(diskfs_sync_everything): Likewise.
(diskfs_pager_users): Likewise.
(diskfs_max_user_pager_prot): Likewise.
(disable_caching): Iterate over both buckets.
(enable_caching): Likewise.
commit 3ad900b84497a2e619c30f76670e4757e8765f3e
Author: Justus Winter <address@hidden>
Date: Sun May 4 12:14:58 2014 +0200
libports: unlock _ports_lock on malloc failure
* libports/bucket-iterate.c (_ports_bucket_class_iterate): Unlock
_ports_lock on malloc failure.
-----------------------------------------------------------------------
Summary of changes:
fatfs/pager.c | 87 ++++++++++++++++++++++++++++++++-------------
libports/bucket-iterate.c | 5 ++-
2 files changed, 66 insertions(+), 26 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.5-247-g261d957,
Justus Winter <=