Hi Andrew. On Tue, May 13, 2008 at 11:33:41PM -0700, Andrew Morton (akpm@linux-foundation.org) wrote:It never takes the whole LAST_PKMAP maps. So the same can be applied to any user who kmaps at least one page - while user waits for free slot, it can be reused by someone else and so on. But it can be speed issue, on 32 bit machine with 8gb of ram essentially all pages were highmem and required mapping, so this does slows things down (probably a lot), so I will extend writeback path of the POHMELFS not to kmap pages, but instead use ->sendpage(), which if needed will map page one-by-one. Current approach when page is mapped and then copied looks really beter since the only one sending function is used which takes lock only single time. When ->writepage() is used, it has to wait until page is written (remote side sent acknowledge), so if multiple pages are being written simultaneously we either have to allocate shared structure or use per-page wait. Right now there are transactions (and they will be used for all operations eventually), so this waiting can go away. It is exactly the same logic which lock_page() uses. Will lock_page_killable()/__lock_page_killable() be exported to modules? -- Evgeniy Polyakov --
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.27 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Denis Bueno | Recovering from repository corruption |
| Linus Torvalds | I'm a total push-over.. |
| J. Bruce Fields | "failed to read delta base object at..." |
| Robin Rosenberg | Re: [wishlist] graphical diff |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Paolo Supino | order |
| Simon Horman | Possible regression in HTB |
| Corey Hickey | SFQ: backport some features from ESFQ (try 4) |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Ingo Molnar | Re: [crash] kernel BUG at net/core/dev.c:1328! |
| usb mic not detected | 8 minutes ago | Applications and Utilities |
| Problem in Inserting a module | 1 hour ago | Linux kernel |
| Treason Uncloaked | 6 hours ago | Linux kernel |
| Shared swap partition | 17 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
