El Wed, 19 Mar 2008 02:04:40 -0700, Andrew Morton <akpm@linux-foundation.org> escribió:In the Dark Side of operating systems, the prefetching system they use can log several access patterns for a single executable, because a single executable can have different behaviours even for the same user, depending on what parameters the executable is passed and what COM machinery it uses. For example, wmplayer.exe can play a dvd, rip a CD, listen to a music stream, etc...diferent usages, different access patterns. Linux probably faces the same problem (bash, cat...) A alternative design for a userspace solution that doesn't needs LD_PRELOAD is to use CONFIG_PROC_EVENTS to get notifications of what processes are started, which can be used to poll its /proc files or try to preload data (asynchronously, and a bit hacky maybe). But if a kernel patch is really needed to implement this properly, maybe it'd be worth to take a look at the prefetch project that the Ubuntu guys are apparently going to merge in the next ubuntu development release (8.10)... https://wiki.ubuntu.com/DesktopTeam/Specs/Prefetch There are even kernel patches: http://code.google.com/p/prefetch/source/browse/tags/soc2007-end/trunk/kernel-patches/... http://code.google.com/p/prefetch/source/browse/tags/soc2007-end/trunk/kernel-patches/... --
| David Miller | Slow DOWN, please!!! |
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
| holzheu | [RFC/PATCH] Documentation of kernel messages |
| Jiri Kosina | HID merge plans for 2.6.28 |
git: | |
| ir0s | Local branch ahead of tracked remote branch but git push claims everything up-to-d... |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Aubrey Li | git proxy issue |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Jussi Kivilinna | [PATCH 01/14] Fix sparse warning: returning void-valued expression |
| Roland Dreier | Re: setsockopt() |
| Shyam_Iyer | RE: [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator |
| L. V. Lammert | 'Nother broken package - git-1.5.4.2 |
| Jason Dixon | Wasting our Freedom |
| Pau | acer aspire one dmesg? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| high memory | 1 hour ago | Linux kernel |
| semaphore access speed | 4 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 5 hours ago | Linux kernel |
| Easter Eggs in windows XP | 7 hours ago | Windows |
| Shared swap partition | 8 hours ago | Linux general |
| Root password | 8 hours ago | Linux general |
| Where/when DNOTIFY is used? | 10 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 13 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 13 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 19 hours ago | Linux general |
