History log of /netbsd-src/sys/uvm/uvm_readahead.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 59e0001f 23-Sep-2023 ad <ad@NetBSD.org>

Repply this change with a couple of bugs fixed:

- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one o

Repply this change with a couple of bugs fixed:

- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one of my
test systems this makes for a small (~1%) but repeatable reduction in system
time during builds presumably because it decreases the kernel's cache /
memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

show more ...


# ef0f79c8 12-Sep-2023 ad <ad@NetBSD.org>

Back out recent change to replace pool_cache with then general allocator.
Will return to this when I have time again.


# cbcf86cb 10-Sep-2023 ad <ad@NetBSD.org>

- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one of my
test systems this makes for a small (~1%)

- Do away with separate pool_cache for some kernel objects that have no special
requirements and use the general purpose allocator instead. On one of my
test systems this makes for a small (~1%) but repeatable reduction in system
time during builds presumably because it decreases the kernel's cache /
memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

show more ...


# 5ba8a082 19-May-2020 ad <ad@NetBSD.org>

Drop & re-acquire vmobjlock less often.


# acd97723 08-Mar-2020 ad <ad@NetBSD.org>

Only need a read lock for uvm_pagelookup().


# d2a0ebb6 23-Feb-2020 ad <ad@NetBSD.org>

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap. Others to follow later.

show more ...


# 9b785b52 19-May-2018 jdolecek <jdolecek@NetBSD.org>

adjust heuristics for read-ahead to skip the full read-ahead when last page of
the range is already cached; this speeds up I/O from cache, since it avoids
the lookup and allocation overhead

on my sy

adjust heuristics for read-ahead to skip the full read-ahead when last page of
the range is already cached; this speeds up I/O from cache, since it avoids
the lookup and allocation overhead

on my system I observed 4.5% - 15% improvement for cached I/O - from 2.2 GB/s to
2.3 GB/s for cached reads using non-direct UBC, and from 5.6 GB/s to 6.5 GB/s
for UBC using direct map

part of PR kern/53124

show more ...


# c69d6c55 30-Mar-2018 mlelstv <mlelstv@NetBSD.org>

Increase UVM read ahead window limit a bit to match concurrency of reading
from the raw device.


# e225b7bd 12-Jun-2011 rmind <rmind@NetBSD.org>

Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in

Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

show more ...


# 8e16588b 15-Oct-2010 tsutsui <tsutsui@NetBSD.org>

Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?


# c87ccfd3 10-Jun-2009 yamt <yamt@NetBSD.org>

- add a function to perform explicit read-ahead.
- ra_startio: tweak locking a bit.


# 4a780c9a 02-Jan-2008 ad <ad@NetBSD.org>

Merge vmlocking2 to head.


# 31c6ef67 11-May-2007 tsutsui <tsutsui@NetBSD.org>

Add temporary workaround for PR kern/36019 (panic on sun2 and sun3).
Ok'ed by yamt.


# 59d979c5 12-Mar-2007 ad <ad@NetBSD.org>

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.


# b0985931 29-Nov-2005 yamt <yamt@NetBSD.org>

add files i forgot to add when merging yamt-readahead branch.