Page fault scalability patch V18: Overview

2005-03-01 Thread Christoph Lameter
Is there any chance that this patchset could go into mm now? This has been discussed since last August Changelog: V17-V18 Rediff against 2.6.11-rc5-bk4 V16-V17 Do not increment page_count in do_wp_page. Performance data posted. V15-V16 of this patch: Redesign to allow full backback

Re: Page fault scalability patch V18: atomic pte ops, pte_cmpxchg and pte_xchg

2005-03-01 Thread Christoph Lameter
The current way of updating ptes in the Linux vm includes first clearing a pte before setting it to another value. The clearing is performed while holding the page_table_lock to insure that the entry will not be modified by the CPU directly (clearing the pte clears the present bit), by an arch

Re: Page fault scalability patch V18: abstract rss counter ops

2005-03-01 Thread Christoph Lameter
This patch extracts all the operations on rss into definitions in include/linux/sched.h. All rss operations are performed through the following three macros: get_mm_counter(mm, member) - Obtain the value of a counter set_mm_counter(mm, member, value) - Set the value of a

Page fault scalability patch V18: No page table lock in do_anonymous_page

2005-03-01 Thread Christoph Lameter
Do not use the page_table_lock in do_anonymous_page. This will significantly increase the parallelism in the page fault handler in SMP systems. The patch also modifies the definitions of _mm_counter functions so that rss and anon_rss become atomic. Signed-off-by: Christoph Lameter [EMAIL

Re: Page fault scalability patch V18: Drop first acquisition of ptl

2005-03-01 Thread Christoph Lameter
The page fault handler attempts to use the page_table_lock only for short time periods. It repeatedly drops and reacquires the lock. When the lock is reacquired, checks are made if the underlying pte has changed before replacing the pte value. These locations are a good fit for the use of

Re: [Lse-tech] Re: A common layer for Accounting packages

2005-03-01 Thread Paul Jackson
Just a thought - perhaps you could see if Jay can test the performance scaling of these changes on larger systems (8 to 64 CPUs, give or take, small for SGI, but big for some vendors.) Things like a global lock, for example, might be harmless on smaller systems, but hurt big time on bigger

Re: Complicated networking problem

2005-03-01 Thread Daniel Gryniewicz
On Wed, 2005-03-02 at 13:27 +1000, Jarne Cook wrote: On Tuesday 01 March 2005 12:35, you wrote: On Monday 28 February 2005 21:02, [EMAIL PROTECTED] wrote: On Mon, 28 Feb 2005 14:59:31 +1000, Jarne Cook said: They are both using dhcp to the same simple network. That's right. Same

[PATCH] put newly registered shrinkers at the tail of the list

2005-03-01 Thread Christoph Hellwig
This way we actually share dentries before inodes and thus mark more inodes reclaimable once we shake them. --- 1.240/mm/vmscan.c 2005-02-04 01:53:32 +01:00 +++ edited/mm/vmscan.c 2005-03-02 07:09:00 +01:00 @@ -137,7 +137,7 @@ struct shrinker *set_shrinker(int seeks,

Re: cciss CSMI via sysfs for 2.6

2005-03-01 Thread Christoph Hellwig
On Fri, Feb 18, 2005 at 12:05:52PM -0800, Greg KH wrote: On Fri, Feb 18, 2005 at 07:46:28PM +, Christoph Hellwig wrote: /* + * sysfs stuff + * this should be moved to it's own file, maybe cciss_sysfs.h + */ + +static ssize_t cciss_firmver_show(struct device *dev, char *buf)

Re: question about sockfd_lookup( )

2005-03-01 Thread MingJie Chang
I can't use sockfd_put(sock) directly. I trace its code, the code is extern __inline__ void sockfd_put(struct socket *sock) { fput(sock-file); } so I use fput(sock-file) but it has problems too 1) execute ls in the ftp is also block 2) kernel prints socki_lookup: socket file changed!

[PATCH] aoe: fix printk warning (sparc64)

2005-03-01 Thread Randy.Dunlap
aoeblk: mac_addr() returns u64, coerce to unsigned long long to printk it: (sparc64 build warning) drivers/block/aoe/aoeblk.c:245: warning: long long unsigned int format, u64 arg (arg 2) drivers/block/aoe/aoeblk.c:31: warning: long long unsigned int format, u64 arg (arg 4) cross-compile

O_DIRECT on 2.4 ext3

2005-03-01 Thread Junfeng Yang
Hi, I tried to read from a regular ext3 file opened as O_DIRECT, but got the Invalid argument error. Running the same test program on a block device succeeded. uname -a shows Linux *** 2.4.27-2-686-smp #1 SMP Thu Jan 20 11:02:39 JST 2005 i686 GNU/Linux My test case is #include sys/types.h

Undefined symbols in 2.6.11-rc5-mm1

2005-03-01 Thread Keenan Pepper
Hi everybody, I just joined the LKML! Don't worry, this is not just a test message, I do actually have something to say. I just compiled 2.6.11-rc5-mm1 and got undefined symbols match_int, match_octal, match_token, and match_strdup in several modules. This is using binutils 2.15 and gcc 3.4.4

Re: [PATCH 2.6.11-rc3 01/11] ide: task_end_request() fix

2005-03-01 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: If somebody implements SG_IO ioctl and SCSI command pass-through from libata for IDE driver (and add possibility for discrete taskfiles), we can just deprecate HDIO_DRIVE_TASKFILE, forget about it and some time later remove this FPOS. Can you explain what you mean

Re: [patch ide-dev 8/9] make ide_task_ioctl() use REQ_DRIVE_TASKFILE

2005-03-01 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: Yes but it seems that you've assumed that ioctl == flagged taskfile and fs/internal == normal taskfile which is _not_ what I aim for. I want fully-flagged taskfile handling like flagged_taskfile() and hot path simpler taskfile handling like do_rw_taskfile() (at

Re: [PATCH/RFC] I/O-check interface for driver's error handling

2005-03-01 Thread Hidetoshi Seto
Linas Vepstas wrote: I'd prefer to see it as ioerr_clear(), ioerr_read() ... I'd prefer pci_io_start() and pci_io_check_err() The names should have pci in them. I don't like ioerr_clear because it implies we are clearing the io error; we are not; we are clearing the checker for io errors.

some /proc understandings

2005-03-01 Thread linux lover
Hello, 1) I want to know how much can i write to /proc entry file?? Is there any limitation on file size??? 2)Also how can i call /proc entry files proc_read_myfile function on that file by another kernel module call? What parameters i require to pass and how? Say i have read

Re: [PATCH] Possible AMD8111e free irq issue

2005-03-01 Thread Jeff Garzik
Panagiotis Issaris wrote: Hi, It seems to me that if in the amd8111e_open() fuction dev-irq isn't zero and the irq request succeeds it might not get released anymore. Specifically, on failure of the amd8111e_restart() call the function returns -ENOMEM without releasing the irq. The

Re: [PATCH] Possible VIA-Rhine free irq issue

2005-03-01 Thread Jeff Garzik
Panagiotis Issaris wrote: Hi, It seems to me that in the VIA Rhine device driver the requested irq might not be freed in case the alloc_ring() function fails. alloc_ring() can fail with a ENOMEM return value because of possible pci_alloc_consistent() failures. This patch applies to 2.6.11-rc5-bk2.

Re: via 6420 pata/sata controller

2005-03-01 Thread Jeff Garzik
If I had to guess, I would try the attached patch. The via82cxxx.c driver is a bit annoying in that, here we do not talk to the ISA bridge but to the PCI device 0x4149 itself. If this doesn't work, I could probably whip together a quick PATA driver for libata that works on this hardware.

Re: O_DIRECT on 2.4 ext3

2005-03-01 Thread Andreas Dilger
On Mar 01, 2005 21:34 -0800, Junfeng Yang wrote: I tried to read from a regular ext3 file opened as O_DIRECT, but got the Invalid argument error. Running the same test program on a block device succeeded. ext3 doesn't support the direct_IO method in 2.4 kernels, though there was a patch at

Re: [2.6.11-rc4-mm1 patch] fix buggy IEEE80211_CRYPT_* selects

2005-03-01 Thread Jeff Garzik
Adrian Bunk wrote: + select CRYPTO select CRYPTO_AES ---help--- Include software based cipher suites in support of IEEE 802.11i (aka TGi, WPA, WPA2, WPA-PSK, etc.) for use with CCMP enabled networks. @@ -54,10 +55,11 @@ ieee80211_crypt_ccmp. config IEEE80211_CRYPT_TKIP tristate

SCSI Target Mode issue...... pls help

2005-03-01 Thread Nauman
hello all the gurus out there, i have written simple Target for SCSI device. its in very early stage. I started to handle simple commands from the INITIATOR like INQUIRY, READ CAPACITY , REPORT LUN. Now i am upto READ and WRITE. I have responded READ properly. Problem is in WRITE command. For

[PATCH] fix module paramater permissions in radeon_base.c

2005-03-01 Thread Greg KH
You really don't want -2 for the file mode in sysfs. It creates: -rwsrwsrwT 1 root root 4096 Mar 1 22:59 /sys/module/radeonfb/parameters/default_dynclk on my box. Here's a fix against a clean 2.6.11-rc5 kernel, please forward onward as you see fit. Signed-off-by: Greg Kroah-Hartman

Re: [PATCH] fix module paramater permissions in radeon_base.c

2005-03-01 Thread Benjamin Herrenschmidt
On Tue, 2005-03-01 at 23:11 -0800, Greg KH wrote: You really don't want -2 for the file mode in sysfs. It creates: -rwsrwsrwT 1 root root 4096 Mar 1 22:59 /sys/module/radeonfb/parameters/default_dynclk on my box. Here's a fix against a clean 2.6.11-rc5 kernel, please forward onward

Re: [PATCH 2.6.11-rc4-mm1] end-of-proces handling for acct-csa

2005-03-01 Thread Guillaume Thouvenin
On Tue, 2005-03-01 at 10:06 -0800, Jay Lan wrote: Sorry I was not clear on my point. I was trying to point out that, an exit hook for BSD and CSA is essential to save accounting data before the data is gone. That can not be done with a netlink. So, my patch was to keep acct_process as a

Re: [PATCH] remove dead cyrix/centaur mtrr init code

2005-03-01 Thread Andries Brouwer
On Tue, Mar 01, 2005 at 11:52:44PM +, Alan Cox wrote: On Llu, 2005-02-28 at 19:20, Andries Brouwer wrote: One such case is the mtrr code, where struct mtrr_ops has an init field pointing at __init functions. Unless I overlook something, this case may be easy to settle, since the .init

Re: [PATCH] Possible AMD8111e free irq issue

2005-03-01 Thread Panagiotis Issaris
Hi, Jeff Garzik wrote: diff -uprN linux-2.6.11-rc5-bk2/drivers/net/amd8111e.c linux-2.6.11-rc5-bk2-pi/drivers/net/amd8111e.c --- linux-2.6.11-rc5-bk2/drivers/net/amd8111e.c2005-02-28 13:44:46.0 +0100 +++ linux-2.6.11-rc5-bk2-pi/drivers/net/amd8111e.c2005-02-28 13:45:09.0

<    1   2   3   4   5   6