* Re: 2.5.67-mm1
@ 2003-04-08 16:41 Alistair Strachan
2003-04-08 21:28 ` 2.5.67-mm1 Andrew Morton
0 siblings, 1 reply; 17+ messages in thread
From: Alistair Strachan @ 2003-04-08 16:41 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
Hi,
> . sparc64 is now using gcc-3.x, so there is a patch here to make
> gcc-2.95 the minimum required version.
>
> . A few rmap-speedup patches reduce the rmap CPU tax by 25-30% on a P4
>
> . Various other cleaups, speedups and fixups.
On attempting to boot this kernel, I get the following just before init:
Kernel panic: VFS: Unable to mount root fs on 03:05
2.5.67 base works fine. I discovered that reverting the following
patches allows me to boot. I can increase the granularity of my search
if nothing comes immediately to mind:
aggregated-disk-stats.patch
dynamic-hd_struct-allocation-fixes.patch
dynamic-hd_struct-allocation.patch
I reverted the aggregated-xx patch because it depends on the dynamic
hd_struct work in a single line;
+ struct hd_struct *hd = gp->part[n];
Therefore it may not be this patch that is the source of the problem,
but I backed it out anyway.
Cheers,
Alistair Strachan.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 16:41 2.5.67-mm1 Alistair Strachan
@ 2003-04-08 21:28 ` Andrew Morton
2003-04-08 23:06 ` 2.5.67-mm1 Badari Pulavarty
2003-04-08 23:24 ` 2.5.67-mm1 Badari Pulavarty
0 siblings, 2 replies; 17+ messages in thread
From: Andrew Morton @ 2003-04-08 21:28 UTC (permalink / raw)
To: Alistair Strachan; +Cc: linux-kernel
Alistair Strachan <alistair@devzero.co.uk> wrote:
>
> On attempting to boot this kernel, I get the following just before init:
> Kernel panic: VFS: Unable to mount root fs on 03:05
>
> 2.5.67 base works fine. I discovered that reverting the following
> patches allows me to boot. I can increase the granularity of my search
> if nothing comes immediately to mind:
>
> aggregated-disk-stats.patch
> dynamic-hd_struct-allocation-fixes.patch
> dynamic-hd_struct-allocation.patch
>
Ah, good detective work, thanks. It looks like the hd_struct dynamic allocation
patch has broken devfs partition discovery somehow.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 21:28 ` 2.5.67-mm1 Andrew Morton
@ 2003-04-08 23:06 ` Badari Pulavarty
2003-04-09 7:00 ` 2.5.67-mm1 Alistair Strachan
2003-04-08 23:24 ` 2.5.67-mm1 Badari Pulavarty
1 sibling, 1 reply; 17+ messages in thread
From: Badari Pulavarty @ 2003-04-08 23:06 UTC (permalink / raw)
To: Andrew Morton, Alistair Strachan; +Cc: linux-kernel
On Tuesday 08 April 2003 02:28 pm, Andrew Morton wrote:
> Alistair Strachan <alistair@devzero.co.uk> wrote:
> > On attempting to boot this kernel, I get the following just before init:
> > Kernel panic: VFS: Unable to mount root fs on 03:05
> >
> > 2.5.67 base works fine. I discovered that reverting the following
> > patches allows me to boot. I can increase the granularity of my search
> > if nothing comes immediately to mind:
> >
> > aggregated-disk-stats.patch
> > dynamic-hd_struct-allocation-fixes.patch
> > dynamic-hd_struct-allocation.patch
>
> Ah, good detective work, thanks. It looks like the hd_struct dynamic
> allocation patch has broken devfs partition discovery somehow.
Thanks.. I am going to look now. Must have broken something in devfs.
- Badari
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 21:28 ` 2.5.67-mm1 Andrew Morton
2003-04-08 23:06 ` 2.5.67-mm1 Badari Pulavarty
@ 2003-04-08 23:24 ` Badari Pulavarty
1 sibling, 0 replies; 17+ messages in thread
From: Badari Pulavarty @ 2003-04-08 23:24 UTC (permalink / raw)
To: Andrew Morton, Alistair Strachan; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 816 bytes --]
On Tuesday 08 April 2003 02:28 pm, Andrew Morton wrote:
> Alistair Strachan <alistair@devzero.co.uk> wrote:
> > On attempting to boot this kernel, I get the following just before init:
> > Kernel panic: VFS: Unable to mount root fs on 03:05
> >
> > 2.5.67 base works fine. I discovered that reverting the following
> > patches allows me to boot. I can increase the granularity of my search
> > if nothing comes immediately to mind:
> >
> > aggregated-disk-stats.patch
> > dynamic-hd_struct-allocation-fixes.patch
> > dynamic-hd_struct-allocation.patch
>
> Ah, good detective work, thanks. It looks like the hd_struct dynamic
> allocation patch has broken devfs partition discovery somehow.
Okay !! My bad.
Here is the patch for 2.5.67-mm1. Could you try and let me know ?
Thanks,
Badari
[-- Attachment #2: devfs.patch --]
[-- Type: text/x-diff, Size: 1098 bytes --]
--- linux-2.5.67/fs/partitions/check.c Tue Apr 8 16:21:30 2003
+++ linux-2.5.67.new/fs/partitions/check.c Tue Apr 8 16:26:01 2003
@@ -163,13 +163,13 @@ static void devfs_register_partition(str
struct hd_struct *p = dev->part;
char devname[16];
- if (p[part-1].de)
+ if (p[part-1]->de)
return;
dir = dev->de;
if (!dir)
return;
sprintf(devname, "part%d", part);
- p[part-1].de = devfs_register (dir, devname, 0,
+ p[part-1]->de = devfs_register (dir, devname, 0,
dev->major, dev->first_minor + part,
S_IFBLK | S_IRUSR | S_IWUSR,
dev->fops, NULL);
@@ -281,14 +281,13 @@ void add_partition(struct gendisk *disk,
memset(p, 0, sizeof(struct hd_struct));
p->start_sect = start;
p->nr_sects = len;
+ p->partno = part;
+ disk->part[part-1] = p;
devfs_register_partition(disk, part);
snprintf(p->kobj.name,KOBJ_NAME_LEN,"%s%d",disk->kobj.name,part);
p->kobj.parent = &disk->kobj;
p->kobj.ktype = &ktype_part;
kobject_register(&p->kobj);
-
- p->partno = part;
- disk->part[part-1] = p;
}
static void disk_sysfs_symlinks(struct gendisk *disk)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 23:06 ` 2.5.67-mm1 Badari Pulavarty
@ 2003-04-09 7:00 ` Alistair Strachan
2003-04-09 15:59 ` 2.5.67-mm1 Badari Pulavarty
0 siblings, 1 reply; 17+ messages in thread
From: Alistair Strachan @ 2003-04-09 7:00 UTC (permalink / raw)
To: Badari Pulavarty, Andrew Morton; +Cc: linux-kernel
Hi,
On Wednesday 09 April 2003 00:06, Badari Pulavarty wrote:
> On Tuesday 08 April 2003 02:28 pm, Andrew Morton wrote:
> > Ah, good detective work, thanks. It looks like the hd_struct
> > dynamic allocation patch has broken devfs partition discovery
> > somehow.
>
> Thanks.. I am going to look now. Must have broken something in devfs.
>
> - Badari
Sorry for the delay, I've only just woken up. I applied the patch, it
wouldn't compile, you missed the following (I think obvious) chunk:
--- linux-2.5/fs/partitions/check.c.old 2003-04-09 07:49:29 +0100
+++ linux-2.5/fs/partitions/check.c 2003-04-09 07:51:26 +0100
@@ -160,7 +160,7 @@
{
#ifdef CONFIG_DEVFS_FS
devfs_handle_t dir;
- struct hd_struct *p = dev->part;
+ struct hd_struct **p = dev->part;
char devname[16];
if (p[part-1]->de)
With that in place, it compiled without warning and the machine now
boots with the dynamic hd_struct work + aggregate stats patch.
Thanks for your time.
Cheers,
Alistair.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-09 7:00 ` 2.5.67-mm1 Alistair Strachan
@ 2003-04-09 15:59 ` Badari Pulavarty
0 siblings, 0 replies; 17+ messages in thread
From: Badari Pulavarty @ 2003-04-09 15:59 UTC (permalink / raw)
To: Alistair Strachan, Andrew Morton; +Cc: linux-kernel
On Wednesday 09 April 2003 12:00 am, Alistair Strachan wrote:
>
> Sorry for the delay, I've only just woken up. I applied the patch, it
> wouldn't compile, you missed the following (I think obvious) chunk:
>
> --- linux-2.5/fs/partitions/check.c.old 2003-04-09 07:49:29 +0100
> +++ linux-2.5/fs/partitions/check.c 2003-04-09 07:51:26 +0100
> @@ -160,7 +160,7 @@
> {
> #ifdef CONFIG_DEVFS_FS
> devfs_handle_t dir;
> - struct hd_struct *p = dev->part;
> + struct hd_struct **p = dev->part;
> char devname[16];
>
> if (p[part-1]->de)
>
> With that in place, it compiled without warning and the machine now
> boots with the dynamic hd_struct work + aggregate stats patch.
>
> Thanks for your time.
Thank you for testing it with devfs.
- Badari
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 16:10 ` 2.5.67-mm1 Andrew Morton
@ 2003-04-08 16:50 ` Ed Tomlinson
0 siblings, 0 replies; 17+ messages in thread
From: Ed Tomlinson @ 2003-04-08 16:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm
On April 8, 2003 12:10 pm, Andrew Morton wrote:
> Does the below patch help?
Yes. With it 67-mm1 boots. I do find the following in dmesg though:
CPU: AMD-K6(tm) 3D+ Processor stepping 01
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Initializing RT netlink socket
mtrr: v2.0 (20020519)
pty: 256 Unix98 ptys configured
Bad boy: i8042 (at 0xc0320738) called us without a dev_id!
Bad boy: i8042 (at 0xc0320852) called us without a dev_id!
Bad boy: i8042 (at 0xc020a9e8) called us without a dev_id!
serio: i8042 AUX port at 0x60,0x64 irq 12
Bad boy: i8042 (at 0xc020a9e8) called us without a dev_id!
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
PCI: PCI BIOS revision 2.10 entry at 0xfb520, last bus=1
PCI: Using configuration type 1
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
Box seems to work fine. There is nothing plugged onto AUX
as my mouse is USB. The keyboard is plugged into the other
PS2 port...
Ed
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
` (2 preceding siblings ...)
2003-04-08 14:08 ` 2.5.67-mm1 William Lee Irwin III
@ 2003-04-08 16:43 ` Helge Hafting
3 siblings, 0 replies; 17+ messages in thread
From: Helge Hafting @ 2003-04-08 16:43 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm
Devfs fails to find all partitions with 2.5.67-mm1, plain 2.5.67 is fine
I have 2 scsi disks, and 2.5.67-mm1 find only some of the partitions
when I boot. Below is ls -l listings for /dev/discs/disc0 and
/dev/discs/disc1. Note the missing stuff - linux wasn't at all
happy when the device for /usr couldn't be found at boot time.
Running cfdisk showed that the partitions were there though.
Helge Hafting
2.5.67-mm1: ls -l /dev/discs/disc0/
total 0
brw-rw---- 1 root disk 8, 0 Jan 1 1970 disc
crw------- 1 root root 21, 0 Jan 1 1970 generic
brw-rw---- 1 root disk 8, 1 Jan 1 1970 part1
brw-rw---- 1 root disk 8, 8 Jan 1 1970 part8
2.5.67: ls -l /dev/discs/disc0/
totalt 0
brw-rw---- 1 root disk 8, 0 1970-01-01 01:00 disc
crw------- 1 root root 21, 0 1970-01-01 01:00 generic
brw-rw---- 1 root disk 8, 1 1970-01-01 01:00 part1
brw-rw---- 1 root disk 8, 2 1970-01-01 01:00 part2
brw-rw---- 1 root disk 8, 3 1970-01-01 01:00 part3
brw-rw---- 1 root disk 8, 5 1970-01-01 01:00 part5
brw-rw---- 1 root disk 8, 6 1970-01-01 01:00 part6
brw-rw---- 1 root disk 8, 7 1970-01-01 01:00 part7
brw-rw---- 1 root disk 8, 8 1970-01-01 01:00 part8
And the second disk:
2.5.67-mm1: ls -l /dev/discs/disc1/
total 0
brw-rw---- 1 root disk 8, 16 Jan 1 1970 disc
crw------- 1 root root 21, 1 Jan 1 1970 generic
brw-rw---- 1 root disk 8, 17 Jan 1 1970 part1
brw-rw---- 1 root disk 8, 18 Jan 1 1970 part2
brw-rw---- 1 root disk 8, 22 Jan 1 1970 part6
brw-rw---- 1 root disk 8, 23 Jan 1 1970 part7
brw-rw---- 1 root disk 8, 24 Jan 1 1970 part8
2.5.67: ls -l /dev/discs/disc1/
totalt 0
brw-rw---- 1 root disk 8, 16 1970-01-01 01:00 disc
crw------- 1 root root 21, 1 1970-01-01 01:00 generic
brw-rw---- 1 root disk 8, 17 1970-01-01 01:00 part1
brw-rw---- 1 root disk 8, 18 1970-01-01 01:00 part2
brw-rw---- 1 root disk 8, 21 1970-01-01 01:00 part5
brw-rw---- 1 root disk 8, 22 1970-01-01 01:00 part6
brw-rw---- 1 root disk 8, 23 1970-01-01 01:00 part7
brw-rw---- 1 root disk 8, 24 1970-01-01 01:00 part8
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 15:31 ` 2.5.67-mm1 Randy.Dunlap
2003-04-08 15:39 ` 2.5.67-mm1 Ed Tomlinson
@ 2003-04-08 16:18 ` Ed Tomlinson
1 sibling, 0 replies; 17+ messages in thread
From: Ed Tomlinson @ 2003-04-08 16:18 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: akpm, linux-kernel, linux-mm
On April 8, 2003 11:31 am, Randy.Dunlap wrote:
> | This does not boot here. I loop with the following message.
> |
> | i8042.c: Can't get irq 12 for AUX, unregistering the port.
> |
> | irq 12 is used (correctly) by my 20267 ide card. My mouse is
> | usb and AUX is not used.
> |
> | Ideas?
>
> I guess that's due to my early kbd init patch.
Just to confirm, removing the above patch lets me
boot just fine.
Thanks
Ed
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 15:39 ` 2.5.67-mm1 Ed Tomlinson
@ 2003-04-08 16:14 ` Randy.Dunlap
0 siblings, 0 replies; 17+ messages in thread
From: Randy.Dunlap @ 2003-04-08 16:14 UTC (permalink / raw)
To: Ed Tomlinson; +Cc: akpm, linux-kernel, linux-mm
On Tue, 8 Apr 2003 11:39:58 -0400 Ed Tomlinson <tomlins@cam.org> wrote:
| On April 8, 2003 11:31 am, Randy.Dunlap wrote:
| > On Tue, 8 Apr 2003 09:17:15 -0400 Ed Tomlinson <tomlins@cam.org> wrote:
| > | Hi,
| > |
| > | This does not boot here. I loop with the following message.
| > |
| > | i8042.c: Can't get irq 12 for AUX, unregistering the port.
| > |
| > | irq 12 is used (correctly) by my 20267 ide card. My mouse is
| > | usb and AUX is not used.
| > |
| > | Ideas?
| >
| > I guess that's due to my early kbd init patch.
| > So why do you have i8042 configured into your kernel?
|
| One, What exactly configures it? Two my keyboard is not usb, just
| my mouse.
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
Is your keyboard PS/2 or PC-AT-like, or something else?
| > The loop doesn't terminate? Do you get the same message (above)
| > over and over again?
|
| Yes, until I trigger a reboot (SysReq+B).
Interesting. If I force that register IRQ 12 to fail, I just get this
one time:
i8042.c: Can't get irq 12 for AUX, unregistering the port.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Just saw Andrew's email...
--
~Randy
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 13:17 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 15:31 ` 2.5.67-mm1 Randy.Dunlap
@ 2003-04-08 16:10 ` Andrew Morton
2003-04-08 16:50 ` 2.5.67-mm1 Ed Tomlinson
1 sibling, 1 reply; 17+ messages in thread
From: Andrew Morton @ 2003-04-08 16:10 UTC (permalink / raw)
To: Ed Tomlinson; +Cc: linux-kernel, linux-mm
Ed Tomlinson <tomlins@cam.org> wrote:
>
> Hi,
>
> This does not boot here. I loop with the following message.
>
> i8042.c: Can't get irq 12 for AUX, unregistering the port.
>
> irq 12 is used (correctly) by my 20267 ide card. My mouse is
> usb and AUX is not used.
>
Does the below patch help? Probably not...
And does reverting
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm1/broken-out/earlier-keyboard-init.patch
fix it?
Thanks.
diff -puN drivers/input/serio/i8042.c~i8042-share-irqs drivers/input/serio/i8042.c
--- 25/drivers/input/serio/i8042.c~i8042-share-irqs 2003-04-08 09:05:16.000000000 -0700
+++ 25-akpm/drivers/input/serio/i8042.c 2003-04-08 09:05:59.000000000 -0700
@@ -235,7 +235,8 @@ static int i8042_open(struct serio *port
if (i8042_mux_open++)
return 0;
- if (request_irq(values->irq, i8042_interrupt, 0, "i8042", NULL)) {
+ if (request_irq(values->irq, i8042_interrupt,
+ SA_SHIRQ, "i8042", NULL)) {
printk(KERN_ERR "i8042.c: Can't get irq %d for %s, unregistering the port.\n", values->irq, values->name);
values->exists = 0;
serio_unregister_port(port);
@@ -570,7 +571,7 @@ static int __init i8042_check_mux(struct
* Check if AUX irq is available.
*/
- if (request_irq(values->irq, i8042_interrupt, 0, "i8042", NULL))
+ if (request_irq(values->irq, i8042_interrupt, SA_SHIRQ, "i8042", NULL))
return -1;
free_irq(values->irq, NULL);
@@ -641,7 +642,7 @@ static int __init i8042_check_aux(struct
* in trying to detect AUX presence.
*/
- if (request_irq(values->irq, i8042_interrupt, 0, "i8042", NULL))
+ if (request_irq(values->irq, i8042_interrupt, SA_SHIRQ, "i8042", NULL))
return -1;
free_irq(values->irq, NULL);
_
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 15:31 ` 2.5.67-mm1 Randy.Dunlap
@ 2003-04-08 15:39 ` Ed Tomlinson
2003-04-08 16:14 ` 2.5.67-mm1 Randy.Dunlap
2003-04-08 16:18 ` 2.5.67-mm1 Ed Tomlinson
1 sibling, 1 reply; 17+ messages in thread
From: Ed Tomlinson @ 2003-04-08 15:39 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: akpm, linux-kernel, linux-mm
On April 8, 2003 11:31 am, Randy.Dunlap wrote:
> On Tue, 8 Apr 2003 09:17:15 -0400 Ed Tomlinson <tomlins@cam.org> wrote:
> | Hi,
> |
> | This does not boot here. I loop with the following message.
> |
> | i8042.c: Can't get irq 12 for AUX, unregistering the port.
> |
> | irq 12 is used (correctly) by my 20267 ide card. My mouse is
> | usb and AUX is not used.
> |
> | Ideas?
>
> I guess that's due to my early kbd init patch.
> So why do you have i8042 configured into your kernel?
One, What exactly configures it? Two my keyboard is not usb, just
my mouse.
> The loop doesn't terminate? Do you get the same message (above)
> over and over again?
Yes, until I trigger a reboot (SysReq+B).
Ed
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 13:17 ` 2.5.67-mm1 Ed Tomlinson
@ 2003-04-08 15:31 ` Randy.Dunlap
2003-04-08 15:39 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 16:18 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 16:10 ` 2.5.67-mm1 Andrew Morton
1 sibling, 2 replies; 17+ messages in thread
From: Randy.Dunlap @ 2003-04-08 15:31 UTC (permalink / raw)
To: Ed Tomlinson; +Cc: akpm, linux-kernel, linux-mm
On Tue, 8 Apr 2003 09:17:15 -0400 Ed Tomlinson <tomlins@cam.org> wrote:
| Hi,
|
| This does not boot here. I loop with the following message.
|
| i8042.c: Can't get irq 12 for AUX, unregistering the port.
|
| irq 12 is used (correctly) by my 20267 ide card. My mouse is
| usb and AUX is not used.
|
| Ideas?
I guess that's due to my early kbd init patch.
So why do you have i8042 configured into your kernel?
The loop doesn't terminate? Do you get the same message (above)
over and over again?
--
~Randy
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
2003-04-08 13:01 ` 2.5.67-mm1 William Lee Irwin III
2003-04-08 13:17 ` 2.5.67-mm1 Ed Tomlinson
@ 2003-04-08 14:08 ` William Lee Irwin III
2003-04-08 16:43 ` 2.5.67-mm1 Helge Hafting
3 siblings, 0 replies; 17+ messages in thread
From: William Lee Irwin III @ 2003-04-08 14:08 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm
On Tue, Apr 08, 2003 at 04:22:39AM -0700, Andrew Morton wrote:
> http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.67-mm1.gz
> Will appear sometime at
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm1/
> . sparc64 is now using gcc-3.x, so there is a patch here to make gcc-2.95
> the minimum required version.
> . A few rmap-speedup patches reduce the rmap CPU tax by 25-30% on a P4
> . Various other cleaups, speedups and fixups.
task_vsize() mysteriously appeared on my profiles. This should remove
it from them by using the already in-use elsewhere for rlimit checks
mm->total_vm for the benefit of O(1) cachelines touched.
--- virgin-2.5.67/fs/proc/task_mmu.c Wed Jan 15 08:46:04 2003
+++ wli-2.5.67-1/fs/proc/task_mmu.c Tue Apr 8 06:57:27 2003
@@ -45,13 +45,7 @@
unsigned long task_vsize(struct mm_struct *mm)
{
- struct vm_area_struct *vma;
- unsigned long vsize = 0;
-
- for (vma = mm->mmap; vma; vma = vma->vm_next)
- vsize += vma->vm_end - vma->vm_start;
-
- return vsize;
+ return PAGE_SIZE * mm->total_vm;
}
int task_statm(struct mm_struct *mm, int *shared, int *text,
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
2003-04-08 13:01 ` 2.5.67-mm1 William Lee Irwin III
@ 2003-04-08 13:17 ` Ed Tomlinson
2003-04-08 15:31 ` 2.5.67-mm1 Randy.Dunlap
2003-04-08 16:10 ` 2.5.67-mm1 Andrew Morton
2003-04-08 14:08 ` 2.5.67-mm1 William Lee Irwin III
2003-04-08 16:43 ` 2.5.67-mm1 Helge Hafting
3 siblings, 2 replies; 17+ messages in thread
From: Ed Tomlinson @ 2003-04-08 13:17 UTC (permalink / raw)
To: Andrew Morton, linux-kernel, linux-mm
Hi,
This does not boot here. I loop with the following message.
i8042.c: Can't get irq 12 for AUX, unregistering the port.
irq 12 is used (correctly) by my 20267 ide card. My mouse is
usb and AUX is not used.
Ideas?
Ed Tomlinson
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.67-mm1
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
@ 2003-04-08 13:01 ` William Lee Irwin III
2003-04-08 13:17 ` 2.5.67-mm1 Ed Tomlinson
` (2 subsequent siblings)
3 siblings, 0 replies; 17+ messages in thread
From: William Lee Irwin III @ 2003-04-08 13:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm
On Tue, Apr 08, 2003 at 04:22:39AM -0700, Andrew Morton wrote:
> +remove-nr_reverse_maps.patch
> Remove /proc/meminfo:ReverseMaps. It is measurably expensive.
This is fine. The changelog comment doesn't look right though. It says
it's inferrable from slabinfo; it's meant to measure the number of
reverse mappings performed, or aggregate faulted-in virtualspace on the
system, or the number of PTE's pointing at userspace data.
The internal fragmentation within slabs is a separate notion.
pte_chains carry more than a single pointer, so the net utilization and
internal fragmentation of the things allocated can be computed from
nr_reverse_maps/(#pte_chains * NR_PTE), and is very different from the
internal fragmentation of slabs (there is no relationship whatsoever).
This stuff has been disturbed on several occasions, and effectively
lost whatever meaning it had left after PG_direct anyway, regardless
of who changed it to mean what, as the accounting was never adjusted to
remove PG_direct reverse mappings (the actions, not any kind of space)
from the count due to not being able to identify the notion that would
be measured by it. nr_shared_reverse_maps? It's dead, kill it.
-- wli
^ permalink raw reply [flat|nested] 17+ messages in thread
* 2.5.67-mm1
@ 2003-04-08 11:22 Andrew Morton
2003-04-08 13:01 ` 2.5.67-mm1 William Lee Irwin III
` (3 more replies)
0 siblings, 4 replies; 17+ messages in thread
From: Andrew Morton @ 2003-04-08 11:22 UTC (permalink / raw)
To: linux-kernel, linux-mm
http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.67-mm1.gz
Will appear sometime at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.67/2.5.67-mm1/
. sparc64 is now using gcc-3.x, so there is a patch here to make gcc-2.95
the minimum required version.
. A few rmap-speedup patches reduce the rmap CPU tax by 25-30% on a P4
. Various other cleaups, speedups and fixups.
Changes since 2.5.66-mm3:
linus.patch
Latest from Linus
-monotonic-clock-hangcheck.patch
-warning-fixes-1.patch
-bio_kmap-fix.patch
-file-limit-checking-cleanup.patch
-tmpfs-1-use-generic_write_checks.patch
-tmpfs-2-remove-shmem_readpage.patch
-tmpfs-3-user-generic_file_llseek.patch
-tmpfs-4-use-mark_page_accessed.patch
-tmpfs-4-use-cond_resched.patch
-tmpfs-6-percentile-sizing.patch
-stat_t-larger-dev_t.patch
-misc.patch
-smp_call_function-barrier.patch
-adaptec-del_timer_sync.patch
-3c59x-980-support.patch
-fadvise-flush-data.patch
-console-scrollback.patch
-devfs-rescan_partitions-fix.patch
-umsdos-fixes.patch
-exp_parent-locking-fix.patch
-real_lookup-race-fix.patch
-remove-dparent_lock.patch
-jbd_expect.patch
-jbd-assert-io-failure-fix.patch
-ext3_mark_inode_dirty-speedup.patch
-ext3_mark_inode_dirty-less-calls.patch
-ext3-handle-cache.patch
-jbd-handle-journal-io-errors.patch
Merged
+kgdb-ga-up-warning-fix.patch
Fix a kgb warning
+gcc-295-required.patch
Require gcc-2.95 or higher.
+dmfe-kfree_skb-fix.patch
Fix a goes-BUG bug in dmfe.c.
+ppc64-update.patch
Stuff from Anton.
+remove-nr_reverse_maps.patch
Remove /proc/meminfo:ReverseMaps. It is measurably expensive.
+rmap-search-speedup.patch
Warm up the rmap code.
+rmap-tweaks.patch
Ditto
+page-lock-is-spin_lock.patch
Make mapping->page_lock a spinlock. It is faster than an rwlock.
+file_lock-spinlock.patch
Ditto file->file_lock
+paride-remove-blk_queue_empty.patch
Leftovers from the blk_queue_empty() removal
+as-use-queue_empty.patch
Anticipatory scheduler rework
-fremap-all-mappings.patch
Accidentally dropped
-objrmap-2.5.62-5.patch
-hugh-04-page_convert_anon-ENOMEM.patch
-hugh-05-page_convert_anon-unlocking.patch
-hugh-06-wrap-below-vm_start.patch
-hugh-07-objrmap-page_table_lock.patch
-hugh-08-rmap-comments.patch
-hugh-11-fix-unuse_pmd-fixme.patch
-tmpfs-blk_congestion_wait-fix.patch
-page_convert_anon-locking-fix.patch
-objrmap-sort-vma-list.patch
-stale-inode-fix.patch
All rolled together, into objrmap.patch
+objrmap.patch
Partial objrmap.
+32bit-dev_t-nfs-export-fix.patch
Make NFS work better with 32-bit dev_t
+jbd-warning-fix.patch
Fox a compile warning
+earlier-keyboard-init.patch
Init the keyboard earlier, so sysrq is available
+epoll-cross-thread-deletion-fix.patch
epoll fix
+mbcache-missing-brelse.patch
Extended attribute leak fix
+nfs-read-corruption-fix.patch
NFS read fix from Trond
+MS_ASYNC-more-async.patch
Make msync(MS_ASYNC) just dirty the pages, and not start any I/O
+tasklist_lock-docco-fix.patch
Commentary corrections
+dynamic-hd_struct-allocation.patch
+dynamic-hd_struct-allocation-fixes.patch
Dynamically allocate struct hd_struct, to save RAM with 4000 disks.
+remove-flush_page_to_ram.patch
Remove flush_page_to_ram()
+nfs-resource-management.patch
Make NFS play more nicely with the VM/VFS memory balancing.
+compound-page-fix.patch
Fix futex-in-hugepage, perhaps.
+xfs-dev_t-warning-fix.patch
Compile warning fix for 32-bit dev-t
+fadvise-file-leak.patch
fadvise() can leak a file ref
All 97 patches:
linus.patch
mm.patch
add -mmN to EXTRAVERSION
kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)
kgdb-ga-warning-fix.patch
-mm traps.c warning
kgdb-ga-up-warning-fix.patch
wait_on_buffer-debug-fix.patch
fix wait_on_buffer() debug code
tty-shutdown-race-fix.patch
fix tty shutdown race
ppa-null-pointer-fix.patch
gcc-295-required.patch
Enforce gcc-2.95 as the minimum compiler requirement
dmfe-kfree_skb-fix.patch
dmfe: don't free skb with local interrupts disabled
config_spinline.patch
uninline spinlocks for profiling accuracy.
ppc64-reloc_hide.patch
ppc64-pci-patch.patch
Subject: pci patch
ppc64-aio-32bit-emulation.patch
32/64bit emulation for aio
ppc64-scruffiness.patch
Fix some PPC64 compile warnings
ppc64-update.patch
ppc64 update
sym-do-160.patch
make the SYM driver do 160 MB/sec
config-PAGE_OFFSET.patch
Configurable kenrel/user memory split
ptrace-flush.patch
cache flushing in the ptrace code
buffer-debug.patch
buffer.c debugging
warn-null-wakeup.patch
ext3-truncate-ordered-pages.patch
ext3: explicitly free truncated pages
reiserfs_file_write-5.patch
rcu-stats.patch
RCU statistics reporting
ext3-journalled-data-assertion-fix.patch
Remove incorrect assertion from ext3
nfs-speedup.patch
nfs-oom-fix.patch
nfs oom fix
sk-allocation.patch
Subject: Re: nfs oom
nfs-more-oom-fix.patch
rpciod-atomic-allocations.patch
Make rcpiod use atomic allocations
linux-isp.patch
isp-update-1.patch
remove-nr_reverse_maps.patch
remove nr_reverse_maps VM accounting
rmap-search-speedup.patch
speed up rmap searching
rmap-tweaks.patch
misc rmap speedups
page-lock-is-spin_lock.patch
Replace the radix-tree rwlock with a spinlock
file_lock-spinlock.patch
convert file_lock to a spinlock
kblockd.patch
Create `kblockd' workqueue
paride-remove-blk_queue_empty.patch
fix up the paride driver for blk_queue_empty() removal
as-iosched.patch
anticipatory I/O scheduler
as-np-reads-1.patch
AS: read-vs-read fixes
as-np-reads-2.patch
AS: more read-vs-read fixes
as-predict-data-direction.patch
as: predict direction of next IO
as-remove-frontmerge.patch
AS: remove frontmerge tunable
as-misc-cleanups.patch
AS: misc cleanups
as-minor-tweaks.patch
AS: tuning and tweaks
as-remove-stats.patch
AS: remove statistics
as-locking-fix.patch
AS: Fix minor race
as-disable-thinktime.patch
as-use-queue_empty.patch
AS: Use the queue_empty API
cfq-2.patch
CFQ scheduler, #2
unplug-use-kblockd.patch
Use kblockd for running request queues
objrmap.patch
object-based rmap
32bit-dev_t-nfs-export-fix.patch
Fix nfsd exports with big dev_t
sched-2.5.64-D3.patch
sched-2.5.64-D3, more interactivity changes
scheduler-tunables.patch
scheduler tunables
show_task-free-stack-fix.patch
show_task() fix and cleanup
jbd-warning-fix.patch
JBD pasting warning fix
yellowfin-set_bit-fix.patch
yellowfin driver set_bit fix
htree-nfs-fix.patch
Fix ext3 htree / NFS compatibility problems
task_prio-fix.patch
simple task_prio() fix
earlier-keyboard-init.patch
earlier keyboard init
panic-on-oops.patch
Allow panics and reboots at oops time.
epoll-cross-thread-deletion-fix.patch
epoll cross-thread deletion fix
mbcache-missing-brelse.patch
Missing brelse() in ext2/ext3 extended attribute code
nfs-read-corruption-fix.patch
NFS read corruption fix
MS_ASYNC-more-async.patch
Make msync(MS_ASYNC) no longer start the I/O
tasklist_lock-docco-fix.patch
task_lock commentary fixes
posix-timer-hang-fix.patch
posix_timer hang fix
dynamic-hd_struct-allocation.patch
Allocate hd_structs dynamically
dynamic-hd_struct-allocation-fixes.patch
dynamic allocation of hd_structs
remove-flush_page_to_ram.patch
Remove flush_page_to_ram()
slab_store_user-large-objects.patch
slab debug: perform redzoning against larger objects
nfs-resource-management.patch
Subject: Resource management for NFS...
compound-page-fix.patch
htree-nfs-fix-2.patch
htree nfs fix
put_task_struct-debug.patch
percpu_counter.patch
percpu_counters: approximate but scalabel counters
blockgroup_lock.patch
blockgroup_lock: hashed spinlocks for ext2 and ext3 blockgroup locking
ext2-no-lock_super-ng.patch
ext2-ialloc-no-lock_super-ng.patch
dev_t-32-bit.patch
[for playing only] change type of dev_t
dev_t-remove-B_FREE.patch
dev_t: eliminate B_FREE
sg-dev_t-fix.patch
32-bit dev_t fix for sg
xfs-dev_t-warning-fix.patch
xfs dev_t printk warning fix
init-sections-in-kallsyms.patch
Put all functions in kallsyms
aggregated-disk-stats.patch
Aggregated disk statistics
fadvise-file-leak.patch
fix file leak in fadvise()
oops-dump-preceding-code.patch
i386 oops output: dump preceding code
usb-disconnect-crash-fix.patch
Subject: Re: [linux-usb-devel] timer hang with current 2.5 BK
conntrack-use-after-free-fix.patch
fix use-after-free in ip_conntrack
ext3-no-bkl.patch
journal_dirty_metadata-speedup.patch
journal_get_write_access-speedup.patch
ext3-concurrent-block-inode-allocation.patch
Subject: [PATCH] concurrent block/inode allocation for EXT3
ext3-concurrent-block-allocation-fix-1.patch
ext3-concurrent-block-allocation-hashed.patch
Subject: Re: [PATCH] concurrent block/inode allocation for EXT3
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2003-04-09 15:52 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 16:41 2.5.67-mm1 Alistair Strachan
2003-04-08 21:28 ` 2.5.67-mm1 Andrew Morton
2003-04-08 23:06 ` 2.5.67-mm1 Badari Pulavarty
2003-04-09 7:00 ` 2.5.67-mm1 Alistair Strachan
2003-04-09 15:59 ` 2.5.67-mm1 Badari Pulavarty
2003-04-08 23:24 ` 2.5.67-mm1 Badari Pulavarty
-- strict thread matches above, loose matches on Subject: below --
2003-04-08 11:22 2.5.67-mm1 Andrew Morton
2003-04-08 13:01 ` 2.5.67-mm1 William Lee Irwin III
2003-04-08 13:17 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 15:31 ` 2.5.67-mm1 Randy.Dunlap
2003-04-08 15:39 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 16:14 ` 2.5.67-mm1 Randy.Dunlap
2003-04-08 16:18 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 16:10 ` 2.5.67-mm1 Andrew Morton
2003-04-08 16:50 ` 2.5.67-mm1 Ed Tomlinson
2003-04-08 14:08 ` 2.5.67-mm1 William Lee Irwin III
2003-04-08 16:43 ` 2.5.67-mm1 Helge Hafting
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).