| From | Subject | Date |
|---|---|---|
| David Woodhouse | [PATCH 17/18] ti_usb_3410_5052: use request_firmware()
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
drivers/usb/serial/Kconfig | 17 +
drivers/usb/serial/ti_fw_3410.h | 885 ---------------------------------
drivers/usb/serial/ti_fw_5052.h | 885 ---------------------------------
drivers/usb/serial/ti_usb_3410_5052.c | 40 +-
firmware/Makefile | 3 +
firmware/WHENCE | 15 +
firmware/ti_3410.fw.ihex | 862 ++++++++++++++++++++++++++++++++
...
| May 30, 8:49 am 2008 |
| David Woodhouse | [PATCH 18/18] whiteheat: use request_firmware()
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
drivers/usb/serial/Kconfig | 8 +
drivers/usb/serial/whiteheat.c | 77 +-
drivers/usb/serial/whiteheat_fw.h | 1669 -----------------------------------
firmware/Makefile | 2 +
firmware/WHENCE | 21 +
firmware/whiteheat.HEX | 1097 +++++++++++++++++++++++
firmware/whiteheat_loader.HEX | 314 +++++++
firmware/whiteheat_loader_debug.HEX | 403 +++++++++
8 ...
| May 30, 3:35 pm 2008 |
| David Woodhouse | [PATCH 14/18] keyspan_pda: use request_firmware()
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
drivers/usb/serial/Kconfig | 17 +
drivers/usb/serial/keyspan_pda.S | 1124 --------------------------------
drivers/usb/serial/keyspan_pda.c | 51 +-
drivers/usb/serial/keyspan_pda_fw.h | 99 ---
drivers/usb/serial/xircom_pgs.S | 1192 ----------------------------------
drivers/usb/serial/xircom_pgs_fw.h | 103 ---
firmware/Makefile | 2 +
firmware/WHENCE | 14 ...
| May 30, 5:15 am 2008 |
| David Woodhouse | [PATCH 10/18] ihex.h: binary representation of ihex records
Some devices need their firmware as a set of {address, len, data...}
records in some specific order rather than a simple blob.
The normal way of doing this kind of thing is 'ihex', which is a text
format and not entirely suitable for use in the kernel.
This provides a binary representation which is very similar, but much
more compact -- and a helper routine to skip to the next record,
because the alignment constraints mean that everybody will screw it up
for themselves otherwise.
Also a ...
| May 30, 3:57 am 2008 |
| Jeremy Fitzhardinge | [PATCH 0 of 5] xen device driver updates
Hi,
This is a series of cleanups to xen-blkfront, xen-netfront and xenbus.
They're mostly changes imported from the linux-2.6.18-xen repo because
they looked like they would be useful.
Thanks,
J
drivers/block/xen-blkfront.c | 48 ++++++++++++++++++++++++++---
drivers/net/xen-netfront.c | 4 +-
drivers/xen/xenbus/xenbus_client.c | 2 -
drivers/xen/xenbus/xenbus_xs.c | 10 +++---
4 files changed, 52 insertions(+), 12 deletions(-)
--
| May 30, 4:50 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 4 of 5] xen/blkfront: add __exit to module_exit() ...
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
drivers/block/xen-blkfront.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -1045,7 +1045,7 @@
module_init(xlblk_init);
-static void xlblk_exit(void)
+static void ...
| May 30, 4:50 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 2 of 5] xn/blkfront: Add the CDROM_GET_CAPABILITY ...
From: Christian Limpach <Christian.Limpach@xensource.com>
Return 0 instead of -EINVAL if the blkfront device is a cdrom,
i.e. had the VDISK_CDROM attribute. This allows udev's cdrom_id
to correctly detect the device as a cdrom device.
[ Add blkif_ioctl, and CDROMMULTISESSION ]
[ linux-2.6.18-xen changeset d2bd9af846b5 ]
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
drivers/block/xen-blkfront.c ...
| May 30, 4:50 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 3 of 5] xen/blkfront: Make sure that the device i ...
From: Wim Colgate <wim@xensource.com>
[ linux-2.6.18-xen changeset c1c57fea77e9 ]
Signed-off-by: Wim Colgate <wim@xensource.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
drivers/block/xen-blkfront.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -997,7 +997,7 @@
struct xenbus_device *dev = ...
| May 30, 4:50 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 1 of 5] xen/blkfront: Make sure we don't use boun ...
From: Ian Campbell <ian.campbell@xensource.com>
[ linux-2.6.18-xen changeset 667228bf8fc5 ]
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
drivers/block/xen-blkfront.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -324,6 +324,9 @@
/* Make sure buffer addresses ...
| May 30, 4:50 pm 2008 |
| Jeremy Fitzhardinge | [PATCH 5 of 5] xen: Avoid allocations causing swap activ ...
From: Ian Campbell <ian.campbell@citrix.com>
Avoid allocations causing swap activity on the resume path by allowing
such allocations to access the emergency pools otherwise a
save/restore/migration of a guest which is low on memory can
deadlock.
[ linux-2.6.18-xen changesets e8b49cfbdac, fdb998e79aba ]
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
drivers/block/xen-blkfront.c | 5 +++--
...
| May 30, 4:50 pm 2008 |
| Alexey Dobriyan | netsc520 remapping RAM
Steps to reproduce:
modprobe netsc520
NetSc520 flash device: 0x100000 at 0x200000
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:159 __ioremap_caller+0x15e/0x2c0()
Modules linked in: netsc520(+) [many]
Pid: 13101, comm: modprobe Not tainted 2.6.26-rc4-fat #6
Call Trace:
[<ffffffff80238042>] warn_on_slowpath+0x58/0x88
[<ffffffff80238c7e>] ? printk+0x67/0x69
[<ffffffff80222adc>] __ioremap_caller+0x15e/0x2c0
[<ffffffffa1fab033>] ? ...
| May 30, 4:38 pm 2008 |
| Alexey Dobriyan | [PATCH] isdn divas: fix proc creation
1. creating proc entry and not saving pointer to PDE and checking it
is not going to work.
2. if proc entry wasn't created, no reason to remove it on error path.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/isdn/hardware/eicon/divasmain.c | 1 -
drivers/isdn/hardware/eicon/divasproc.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
--- a/drivers/isdn/hardware/eicon/divasmain.c
+++ b/drivers/isdn/hardware/eicon/divasmain.c
@@ -806,7 +806,6 @@ ...
| May 30, 4:34 pm 2008 |
| Alexey Dobriyan | [PATCH] edd: fix suspicious return of 1 from module_init
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/firmware/edd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/firmware/edd.c
+++ b/drivers/firmware/edd.c
@@ -753,7 +753,7 @@ edd_init(void)
if (!edd_num_devices()) {
printk(KERN_INFO "EDD information not available.\n");
- return 1;
+ return -ENODEV;
}
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
--
| May 30, 4:29 pm 2008 |
| Bjorn Helgaas | [patch 15/15] PNP: convert resource options to single li ...
ISAPNP, PNPBIOS, and ACPI describe the "possible resource settings" of
a device, i.e., the possibilities an OS bus driver has when it assigns
I/O port, MMIO, and other resources to the device.
PNP used to maintain this "possible resource setting" information in
one independent option structure and a list of dependent option
structures for each device. Each of these option structures had lists
of I/O, memory, IRQ, and DMA resources, for example:
dev
independent options
ind-io0 ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 14/15] PNP: support optional IRQ resources
This patch adds an IORESOURCE_IRQ_OPTIONAL flag for use when
assigning resources to a device. If the flag is set and we are
unable to assign an IRQ to the device, we can leave the IRQ
disabled but allow the overall resource allocation to succeed.
Some devices request an IRQ, but can run without an IRQ
(possibly with degraded performance). This flag lets us run
the device without the IRQ instead of just leaving the
device disabled.
This is a reimplementation of this previous change by ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 11/15] PNP: centralize resource option allocations
This patch moves all the option allocations (pnp_mem, pnp_port, etc)
into the pnp_register_{mem,port,irq,dma}_resource() functions. This
will make it easier to rework the option data structures.
The non-trivial part of this patch is the IRQ handling. The backends
have to allocate a local pnp_irq_mask_t bitmap, populate it, and pass
a pointer to pnp_register_irq_resource().
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
drivers/pnp/base.h | 12 ++-
...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 13/15] PNP: rename pnp_register_*_resource() loca ...
No functional change; just rename "data" to something more
descriptive.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/resource.c
===================================================================
--- work10.orig/drivers/pnp/resource.c 2008-05-20 13:23:06.000000000 -0600
+++ work10/drivers/pnp/resource.c 2008-05-20 13:24:27.000000000 -0600
@@ -80,40 +80,40 @@ struct pnp_option *pnp_register_dependen
int pnp_register_irq_resource(struct pnp_dev *dev, struct ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 12/15] PNPACPI: ignore _PRS interrupt numbers lar ...
ACPI Extended Interrupt Descriptors can encode 32-bit interrupt
numbers, so an interrupt number may exceed the size of the bitmap
we use to track possible IRQ settings.
To avoid corrupting memory, complain and ignore too-large interrupt
numbers.
There's similar code in pnpacpi_parse_irq_option(), but I didn't
change that because the small IRQ descriptor can only encode
IRQs 0-15, which do not exceed bitmap size.
In the future, we could handle IRQ numbers greater than PNP_IRQ_NR
by ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 06/15] PNP: increase I/O port & memory option add ...
ACPI Address Space Descriptors can be up to 64 bits wide.
We should keep track of the whole thing when parsing resource
options, so this patch changes PNP port and mem option
fields from "unsigned short" and "unsigned int" to
"resource_size_t".
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
drivers/pnp/base.h | 16 ++++++++--------
drivers/pnp/interface.c | 17 +++++++++++------
drivers/pnp/resource.c | 14 ++++++++++----
3 files changed, 29 insertions(+), 18 ...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 09/15] PNP: make resource assignment functions re ...
This patch doesn't change any behavior; it just makes the return
values more conventional.
This changes pnp_assign_dma() from a void function to one that
returns an int, just like the other assignment functions. For
now, at least, pnp_assign_dma() always returns 0 (success), so
it appears to never fail, just like before.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/manager.c
===================================================================
--- ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 10/15] PNP: remove redundant pnp_can_configure() check
pnp_assign_resources() is static and the only caller checks
pnp_can_configure() before calling it, so no need to do it
again.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/manager.c
===================================================================
--- work10.orig/drivers/pnp/manager.c 2008-05-13 13:29:57.000000000 -0600
+++ work10/drivers/pnp/manager.c 2008-05-13 13:30:21.000000000 -0600
@@ -231,9 +231,6 @@ static int pnp_assign_resources(struct p
struct ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 08/15] PNP: in debug resource dump, make empty li ...
If the resource list is empty, say that explicitly. Previously,
it was confusing because often the heading was followed by zero
resource lines, then some "add resource" lines from auto-assignment,
so the "add" lines looked like current resources.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/support.c
===================================================================
--- work10.orig/drivers/pnp/support.c 2008-05-16 16:01:26.000000000 -0600
+++ ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 07/15] PNP: improve resource assignment debug
When we fail to assign an I/O or MEM resource, include the min/max
in the debug output to help match it with the options.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/manager.c
===================================================================
--- work10.orig/drivers/pnp/manager.c 2008-05-13 12:01:17.000000000 -0600
+++ work10/drivers/pnp/manager.c 2008-05-13 12:50:57.000000000 -0600
@@ -47,7 +47,10 @@ static int pnp_assign_port(struct pnp_de
res->start ...
| May 30, 3:49 pm 2008 |
| Bjorn Helgaas | [patch 05/15] PNP: introduce pnp_irq_mask_t typedef
This adds a typedef for the IRQ bitmap, which should cause
no functional change, but will make it easier to pass a
pointer to a bitmap to pnp_register_irq_resource().
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/base.h
===================================================================
--- work10.orig/drivers/pnp/base.h 2008-05-30 13:20:29.000000000 -0600
+++ work10/drivers/pnp/base.h 2008-05-30 13:20:36.000000000 -0600
@@ -30,8 +30,10 @@ struct pnp_port {
...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 03/15] PNP: define PNP-specific IORESOURCE_IO_* f ...
PNP previously defined PNP_PORT_FLAG_16BITADDR and PNP_PORT_FLAG_FIXED
in a private header file, but put those flags in struct resource.flags
fields. Better to make them IORESOURCE_IO_* flags like the existing
IRQ, DMA, and MEM flags.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
include/linux/ioport.h | 10 +++++++---
include/linux/pnp.h | 3 ---
drivers/pnp/interface.c | 2 +-
drivers/pnp/isapnp/core.c | 4 ++--
...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 04/15] PNP: make resource option structures priva ...
Nothing outside the PNP subsystem should need access to a
device's resource options, so this patch moves the option
structure declarations to a private header file.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/base.h
===================================================================
--- work10.orig/drivers/pnp/base.h 2008-05-16 16:10:32.000000000 -0600
+++ work10/drivers/pnp/base.h 2008-05-16 16:10:56.000000000 -0600
@@ -19,6 +19,54 @@ void ...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 02/15] PNP: whitespace/coding style fixes
No functional change; just make a couple declarations
consistent with the rest of the file.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work10/drivers/pnp/interface.c
===================================================================
--- work10.orig/drivers/pnp/interface.c 2008-05-09 14:42:25.000000000 -0600
+++ work10/drivers/pnp/interface.c 2008-05-09 14:45:57.000000000 -0600
@@ -216,12 +216,12 @@ static ssize_t pnp_show_options(struct d
struct device_attribute *attr, ...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 01/15] serial: when guessing, check only active r ...
Given a completely unknown PNP device, if it happens to have
a modem-like string in its name and it matches a COM port
address, we assume it's a modem.
We used to check the address against all the possible resource
options for the device. But the device is already configured
and enabled, so we only need to check the resources it is
actually using. If we matched an address that wasn't currently
enabled, we would fail anyway as soon as we attempted to touch
the device at that address.
This ...
| May 30, 3:48 pm 2008 |
| Bjorn Helgaas | [patch 00/15] PNP: convert resource options to unified d ...
This patch series converts the PNP resource option structures
to a unified linked list. This preserves resource order, which
is important for some devices. There's more detail in the
comments for the last patch.
Any comments would be welcome.
This depends on some patches that are in -mm, but not yet
upstream. In mmotm, these would probably go after
pnp-dont-sort-by-type-in-sys-resources.patch
Bjorn
--
--
| May 30, 3:48 pm 2008 |
| Casey Schaufler | Re: [PATCH BUGFIX -v2 -rc4] Smack: Respect 'unlabeled' n ...
This is truely awful. I suggest that instead of doing this
locking you disallow changes to the ambient label if the
nltype is not a well handled type, that is, CIPSO. The overhead
you're introducing to handle a case that will cause the system
to be pretty well useless (if ambient isn't the floor label
Casey Schaufler
casey@schaufler-ca.com
--
| May 30, 4:45 pm 2008 |
| Casey Schaufler | Re: [PATCH BUGFIX -rc4] Smack: Respect 'unlabeled' netla ...
To date the behavior of a Smack system running with nltype
unlabeled has been carefully undefined. The way you're defining
it will result in a system in which only processes running with
the ambient label will be able to use sockets, unless I'm reading
the code incorrectly. This seems like "correct" behavior, but
I don't think it is what those who've tried it would expect.
Casey Schaufler
casey@schaufler-ca.com
--
| May 30, 4:10 pm 2008 |
| Tetsuo Handa | Re: [PATCH BUGFIX -v2 -rc4] Smack: Respect 'unlabeled' n ...
Hello.
Getting a mutex lock might sleep, so why not use GFP_KERNEL ?
--
| May 30, 4:10 pm 2008 |
| Andrew Morton | Re: [PATCH BUGFIX -v2 -rc4] Smack: Respect 'unlabeled' n ...
On Sat, 31 May 2008 02:57:51 +0300
no no no no no. And no.
GFP_ATOMIC is *unreliable*. Using it in a "security" feature is a bug
- if it fails, the feature isn't secure any more.
Failing to check the kmalloc() return value might be a bug.
If we _need_ GFP_ATOMIC here then taking a mutex in a cannot-sleep
context is a bug.
The patch adds a kmalloc but doesn't add a kfree. Is it leaky?
Finally, why is there a need to take a lock around a single store
instruction?
--
| May 30, 4:25 pm 2008 |
| Ahmed S. Darwish | [PATCH BUGFIX -v2 -rc4] Smack: Respect 'unlabeled' netla ...
Hi!,
[ Sorry, Fix: Acquire smack_ambient_lock before reading smack_net_ambient ]
-->
In case of Smack 'unlabeled' netlabel option, Smack passes a _zero_
initialized 'secattr' to label a packet/sock. This causes an
[unfound domain label error]/-ENOENT by netlbl_sock_setattr().
Above Netlabel failure leads to Smack socket hooks failure causing
an always-on socket() -EPERM error.
Such packets should have a netlabel domain agreed with netlabel to
represent unlabeled packets. Fortunately ...
| May 30, 4:57 pm 2008 |
| Ahmed S. Darwish | [PATCH BUGFIX -rc4] Smack: Respect 'unlabeled' netlabel mode
Hi all,
In case of Smack 'unlabeled' netlabel option, Smack passes a _zero_
initialized 'secattr' to label a packet/sock. This causes an
[unfound domain label error]/-ENOENT by netlbl_sock_setattr().
Above Netlabel failure leads to Smack socket hooks failure causing
an always-on socket() -EPERM error.
Such packets should have a netlabel domain agreed with netlabel to
represent unlabeled packets. Fortunately Smack net ambient label
packets are agreed with netlabel to be treated as ...
| May 30, 4:36 pm 2008 |
| Paul Jackson | [PATCH v2] doc: document the kernel-doc conventions for ...
From: Paul Jackson <pj@sgi.com>
Provide documentation of the kernel-doc documentation conventions
oriented to kernel hackers.
Since I figure that there will be more people reading this
kernel-doc-nano-HOWTO.txt file who are kernel developers focused
on the rest of the kernel, than there will be readers of this
file who are documentation developers extracting that embedded
kernel-doc documentation, I have taken the liberty of making
the new section added here:
How to format kernel-doc ...
| May 30, 3:19 pm 2008 |
| Jeff Garzik | [git patches] libata fixes
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus
to receive the following updates:
drivers/ata/ahci.c | 8 +-
drivers/ata/ata_piix.c | 7 +-
drivers/ata/libata-core.c | 2 +-
drivers/ata/libata-pmp.c | 7 +-
drivers/ata/libata-scsi.c | 3 +-
drivers/ata/sata_fsl.c | 224 ++++++++++++++++++++++++++++++++------------
drivers/ata/sata_mv.c | 83 ++++++++---------
7 files ...
| May 30, 3:13 pm 2008 |
| Clifford Wolf | Re: [PATCH] Add rlimits to /proc/<PID>/status
Hi,
this was a cleanup of a patch I've sent to lkml about 6 months ago
when there was no yet-released (non-rc) kernel with /proc/<PID>/limits ...
my patch is a more or less duplicate of commit d85f50d5. oops.
please simply ignore it.. ;-)
yours,
- clifford
--
A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?"
Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked
a bit off."
--
| May 30, 3:50 pm 2008 |
| Peter Zijlstra | Re: [PATCH] Add rlimits to /proc/<PID>/status
fs/proc/base.c already has an array with strings in it
--
| May 30, 2:46 pm 2008 |
| Hugh Dickins | Re: [PATCH] Add rlimits to /proc/<PID>/status
Aren't they better staying in /proc/<PID>/limits?
Hugh
--
| May 30, 2:35 pm 2008 |
| Clifford Wolf | [PATCH] Add rlimits to /proc/<PID>/status
Signed-off-by: Clifford Wolf <clifford@clifford.at>
---
fs/proc/array.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 9e3b8c3..3cb2ad3 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -242,6 +242,62 @@ static void collect_sigign_sigcatch(struct task_struct *p, sigset_t *ign,
}
}
+static const char *rlim_names[RLIM_NLIMITS] = {
+ [RLIMIT_CPU] = ...
| May 30, 1:11 pm 2008 |
| Ivo van Doorn | Re: "BUG: unable to handle kernel paging request" on shu ...
Could you try below patch to see if that works?
Ivo
---
diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
index 58d1633..63381cf 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.c
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
@@ -347,8 +347,11 @@ void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev)
}
/*
- * Kill guardian urb.
+ * Kill guardian urb (if required by driver).
*/
+ if (!test_bit(DRIVER_REQUIRE_BEACON_GUARD, ...
| May 30, 2:06 pm 2008 |
| Stefanik Gábor | "BUG: unable to handle kernel paging request" on shutdow ...
I have just compiled a kernel from wireless-testing (32-bit x86), and
I get this during shutdown or if I kill NetworkManager (blacklisting
rt73usb fixes it):
BUG: unable to handle kernel paging request at 0000759d
IP: [<f8ac8f77>] :usbcore:usb_kill_urb+0x17/0xd0
*pdpt = 00000000354d2001 *pde = 0000000000000000
Oops: 0000 [#1] SMP
Modules linked in: ocfs2_dlmfs ocfs2_dlm ocfs2_nodemanager configfs
ipv6 af_packet microcode rfkill_input binfmt_misc snd_pcm_oss
snd_mixer_oss snd_seq ...
| May 30, 1:36 pm 2008 |
| Paul Jackson | [PATCH] doc: document the kernel-doc conventions for ker ...
From: Paul Jackson <pj@sgi.com>
Provide documentation of the kernel-doc documentation conventions
oriented to kernel hackers.
Since I figure that there will be more people reading this
kernel-doc-nano-HOWTO.txt file who are kernel developers focused
on the rest of the kernel, than there will be readers of this
file who are documentation developers extracting that embedded
kernel-doc documentation, I have taken the liberty of making
the new section added here:
How to format kernel-doc ...
| May 30, 1:34 pm 2008 |
| Randy Dunlap | Re: [PATCH] doc: document the kernel-doc conventions for ...
Yes, that comment is correct. And unfortunate. We need some way to provide
Please fix the few typos and add Acked-by: Randy Dunlap <rdunlap@xenotime.net>.
Thanks, Paul.
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 30, 2:14 pm 2008 |
| Johannes Weiner | [PATCH -mm 14/14] bootmem: replace node_boot_start in st ...
Almost all users of this field need a PFN instead of a physical
address, so replace node_boot_start with node_min_pfn.
Signed-off-by: Johannes Weiner <hannes@saeureba.de>
CC: linux-arch@vger.kernel.org
---
arch/alpha/mm/numa.c | 2 +-
arch/arm/plat-omap/fb.c | 4 +---
arch/avr32/mm/init.c | 3 +--
arch/ia64/mm/discontig.c | 19 ++++++++++---------
arch/m32r/mm/discontig.c | 3 +--
arch/m32r/mm/init.c | 4 +---
arch/mn10300/mm/init.c | 6 +++---
...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 13/14] bootmem: revisit alloc_bootmem_section
Since alloc_bootmem_core does no goal-fallback anymore and just
returns NULL if the allocation fails, we might now use it in
alloc_bootmem_section without all the fixup code for a misplaced
allocation.
Also, the limit can be the first PFN of the next section as the
semantics is that the limit is _above_ the allocated region, not
within.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
CC: Yasunori Goto <y-goto@jp.fujitsu.com>
---
mm/bootmem.c | 27 ++++++---------------------
1 ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 12/14] bootmem: Make __alloc_bootmem_low_node ...
__alloc_bootmem_node already does this, make the interface consistent.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
CC: Ingo Molnar <mingo@elte.hu>
CC: Yinghai Lu <yhlu.kernel@gmail.com>
CC: Andi Kleen <andi@firstfloor.org>
---
mm/bootmem.c | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -595,6 +595,19 @@ void * __init __alloc_bootmem_low(unsign
return ___alloc_bootmem(size, align, goal, ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | Re: [PATCH -mm 11/14] bootmem: respect goal more likely
Hi,
Sorry, forgot to update ->last_success handling here. Update coming soon.
Hannes
--
| May 30, 1:16 pm 2008 |
| Johannes Weiner | [PATCH -mm 11/14] bootmem: respect goal more likely
The old node-agnostic code tried allocating on all nodes starting from
the one with the lowest range. alloc_bootmem_core retried without the
goal if it could not satisfy it and so the goal was only respected at
all when it happened to be on the first (lowest page numbers) node (or
theoretically if allocations failed on all nodes before to the one
holding the goal).
Introduce a non-panicking helper that starts allocating from the node
holding the goal and falls back only after all thes tries ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 10/14] bootmem: factor out the marking of a P ...
Introduce new helpers that mark a range that resides completely on a
node or node-agnostic ranges that might also span node boundaries.
The free/reserve API functions will then directly use these helpers.
Note that the free/reserve semantics become more strict: while the
prior code took basically arbitrary range arguments and marked the
PFNs that happen to fall into that range, the new code requires
node-specific ranges to be completely on the node. The node-agnostic
requests might span node ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 09/14] bootmem: free/reserve helpers
Factor out the common operation of marking a range on the bitmap.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
CC: Ingo Molnar <mingo@elte.hu>
CC: Yinghai Lu <yhlu.kernel@gmail.com>
CC: Andi Kleen <andi@firstfloor.org>
---
mm/bootmem.c | 64 +++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 43 insertions(+), 21 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -225,6 +225,44 @@ unsigned long __init free_all_bootmem(vo
return ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | Re: [PATCH -mm 08/14] bootmem: clean up alloc_bootmem_core
Hi,
Another ->last_success error (missed updating it).
I already have a fixed up series here, will wait a bit for sending it
out to incorporate feedback as well.
Hannes
--
| May 30, 3:11 pm 2008 |
| Johannes Weiner | [PATCH -mm 08/14] bootmem: clean up alloc_bootmem_core
alloc_bootmem_core has become quite nasty to read over time. This is
a clean rewrite that keeps the semantics.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
include/linux/bootmem.h | 1
mm/bootmem.c | 208 ++++++++++++++++--------------------------------
2 files changed, 72 insertions(+), 137 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -427,36 +427,16 @@ int __init reserve_bootmem(unsigned long
}
#endif /* !CONFIG_HAVE_ARCH_BOOTMEM_NODE */
...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 07/14] bootmem: clean up free_all_bootmem_core
Rewrite the code in a more concise way using less variables.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
CC: Ingo Molnar <mingo@elte.hu>
CC: Yinghai Lu <yhlu.kernel@gmail.com>
CC: Andi Kleen <andi@firstfloor.org>
---
mm/bootmem.c | 83 +++++++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 45 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -144,66 +144,59 @@ unsigned long __init init_bootmem(unsign
static unsigned long __init ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 06/14] bootmem: revisit bootmem descriptor li ...
link_bootmem handles an insertion of a new descriptor into the sorted
list in more or less three explicit branches; empty list, insert in
between and append. These cases can be expressed implicite.
Also mark the sorted list as initdata as it can be thrown away after
boot as well.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
mm/bootmem.c | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -23,7 +23,6 ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 05/14] bootmem: revisit bitmap size calculations
Reincarnate get_mapsize as bootmap_bytes and implement
bootmem_bootmap_pages on top of it.
Adjust users of these helpers and make free_all_bootmem_core use
bootmem_bootmap_pages instead of open-coding it.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
mm/bootmem.c | 27 +++++++++------------------
1 file changed, 9 insertions(+), 18 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -50,17 +50,11 @@ early_param("bootmem_debug", bootmem_deb
__FUNCTION__, ## ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 04/14] bootmem: add debugging framework
Introduce the bootmem_debug kernel parameter that enables very verbose
diagnostics regarding all range operations of bootmem as well as the
initialization and release of nodes.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
mm/bootmem.c | 51 ++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 44 insertions(+), 7 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -34,6 +34,22 @@ unsigned long saved_max_pfn;
bootmem_data_t ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 03/14] bootmem: add documentation to API functions
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
mm/bootmem.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 146 insertions(+), 1 deletion(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -47,7 +47,10 @@ static unsigned long __init get_mapsize(
return ALIGN(mapsize, sizeof(long));
}
-/* return the number of _pages_ that will be allocated for the boot bitmap */
+/**
+ * bootmem_bootmap_pages - calculate bitmap size in pages
+ * @pages: number ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 02/14] bootmem: clean up bootmem.c file header
Change the description, move a misplaced comment about the allocator
itself and add me to the list of copyright holders.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
CC: Ingo Molnar <mingo@elte.hu>
---
mm/bootmem.c | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -1,12 +1,12 @@
/*
- * linux/mm/bootmem.c
+ * bootmem - A boot-time physical memory allocator and configurator
*
* Copyright (C) 1999 Ingo ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 01/14] bootmem: reorder code to match new boo ...
This only reorders functions so that further patches will be easier to
read. No code changed.
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
---
include/linux/bootmem.h | 79 ++++-----
mm/bootmem.c | 413 +++++++++++++++++++++++-------------------------
2 files changed, 246 insertions(+), 246 deletions(-)
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -38,6 +38,19 @@ unsigned long saved_max_pfn;
bootmem_data_t bootmem_node_data[MAX_NUMNODES] __initdata;
+/*
+ * ...
| May 30, 12:42 pm 2008 |
| Johannes Weiner | [PATCH -mm 00/14] bootmem rewrite v2
Hi Andrew,
to your request I broke up this big diff into more reviewable smaller
chunks. They apply to -mmotm (modulo the conflicts I ran into, but
they seemed unrelated).
So, here is another version of my attempt to cleanly rewrite the
bootmem allocator. More details in the respective patch changelogs.
Compile- and runtime tested on x86 32bit UMA.
Hannes
arch/alpha/mm/numa.c | 2 +-
arch/arm/plat-omap/fb.c | 4 +-
arch/avr32/mm/init.c | 3 +-
...
| May 30, 12:42 pm 2008 |
| Harvey Harrison | [PATCH] usb: speedtch.c fix sparse shadowed variable warning
i is used only as a for-loop index no need to declare another.
drivers/usb/atm/speedtch.c:832:7: warning: symbol 'i' shadows an earlier one
drivers/usb/atm/speedtch.c:766:6: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/usb/atm/speedtch.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c
index 7d27c9c..76fce44 100644
--- a/drivers/usb/atm/speedtch.c
+++ ...
| May 30, 10:39 am 2008 |
| Harvey Harrison | [PATCH] usb: cp2101.c fix sparse signedness mismatch warnings
The get/set 2101_config helpers take an unsigned int rather than an
int. It is safe to change these in each case and may even produce
better code as it will be an unsigned divide rather than a signed
divide in places. All other manipulation was setting/masking bits
which will not be affected by the sign change.
Fixes the following sparse warnings:
drivers/usb/serial/cp2101.c:378:44: warning: incorrect type in argument 3 (different signedness)
drivers/usb/serial/cp2101.c:378:44: expected ...
| May 30, 10:29 am 2008 |
| Guntsche Michael | May 30, 10:29 am 2008 | |
| Willy Tarreau | Re: New Kernel headers vs old Kernel headers
IMHO and from experience, the kernel's version is the right one. Also,
it makes some sense, considering that even if you try to run an old
binary on a recent kernel, it generally works while the other way around
is not always true. Note however that what is said in glibc's doc mostly
talks about missing features. They may consider that the glibc offers an
abstraction between the application and the kernel, so that it should be
transparent to the application.
I think the right approach is to ...
| May 30, 12:59 pm 2008 |
| Marco | New Kernel headers vs old Kernel headers
Hello All,
I've come across a little discrepancy between the glibc docs and linux
kernel docs when I was trying to figure out what kernel headers I should
being using for my cross compiling. The docs seem to say almost exactly
the opposite thing.
For a quick summary: linux docs(headers_install.txt) seem to indicate,
running glibc compiled against new kernel headers, on an older kernel
will possibly cause problems. Where as glib docs(FAQ) indicate glibc
compiled against new kernel headers, ...
| May 30, 10:28 am 2008 |
| Dave Jones | Rsync cannot copy to a vfat partition on kernel 2.6.25
We had a user report at https://bugzilla.redhat.com/show_bug.cgi?id=449080
that in 2.6.25, he can no longer rsync to a vfat partition, even as root.
I just reproduced this here. It gets -EPERM in the mkstemp call.
(full strace in the bug report).
Did we change behaviour somehow in the vfat code?
2.6.24.7 works fine apparently.
Dave
--
http://www.codemonkey.org.uk
--
| May 30, 10:14 am 2008 |
| OGAWA Hirofumi | Re: Rsync cannot copy to a vfat partition on kernel 2.6.25
Yes, it was changed. New one allows only acceptable chmod(), and if not
acceptable, it returns -EPERM. Old one allows even if it can't store the
disk inode. But it may be too strict for users.
Umm.. anyway, the following patch (still untested) will relax the check...
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
---
fs/fat/file.c | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 ...
| May 30, 12:06 pm 2008 |
| Harvey Harrison | [PATCH] usb: digi_accelport.c trivial sparse lock annotation
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/usb/serial/digi_acceleport.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c
index 04a56f3..d8209e9 100644
--- a/drivers/usb/serial/digi_acceleport.c
+++ b/drivers/usb/serial/digi_acceleport.c
@@ -573,6 +573,7 @@ static struct usb_serial_driver digi_acceleport_4_device = {
static long ...
| May 30, 10:18 am 2008 |
| Ilpo Järvinen | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
Hi Ray,
...I reorganized it a bit.
I think you miss here a lot of clues. First I suspected my FRTO changes as
well but later discoveries pointed elsewhere... Those fixes are for sender
behavior, which is not the problem here. It's just that once you have flow
control, the sending TCP obviously gets stuck once all "buffering"
capacity downstream is used up, and that's _correct_ sender behavior
rather than a bug in itself. Therefore both FRTO and Ingo's theory
about Cubic (though his ...
| May 30, 2:11 pm 2008 |
| Ray Lee | [bug] stuck localhost TCP connections, v2.6.26-rc3+
(Oy, resending. Freakin' gmail; sorry for the base64 encoded noise.)
Okay, but in some sense you've already bisected this somewhat. I'm
assuming that your testing uses the latest tip and is refreshed daily.
If that's the case, then I would (possibly naively) expect the culprit
to show up in a:
git log -p v2.6.26-rc1..78b58e549a3098 net/{compat.c,core,ipv4,netfilter,packet,sched,socket.c}
There are only a few commits in there that appear to touch network behavior:
...
| May 30, 9:31 am 2008 |
| Jack Howarth | EDAC i5000 MC0: NON-FATAL ERRORS
I am seeing the following errors on a Fedora 7 x86_64 linux box,
running on a Tyan Tempest i5000XL motherboard, after upgrading from
kernel-2.6.25-14.fc9.x86_64 to kernel-2.6.25.3-18.fc9.x86_64...
May 25 04:30:56 fourier kernel: EDAC i5000 MC0: NON-FATAL ERRORS Found!!! 1st NON-FATAL Err Reg= 0x10000
May 25 04:30:56 fourier kernel: EDAC MC0: CE row 1, channel 0, label "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=14339 CAS=672, CE Err=0x10000)
These messages occur about once an hour and are always ...
| May 30, 9:55 am 2008 |
| vjwfmkqjox | 活力健康減重!索取試用包
減重,沒時間運動,
索取免費體重控制試用包
**
→http://0rz.tw/d04au#.fjdkljafljreoiputfpovjcm,v;sflkdjgpoiujgf;dslkjg;sldfkjg;lfdkjg;lfdkjg;lkfjdgksldgjpoeirugfkjgs;lfjbfl;nbs;ljperoiugwersgj;fjdbjfdjb;sjgupoeri
--
| May 30, 9:55 am 2008 |
| Andrew Morton | Re: [PATCH 1/2] huge page private reservation review cleanups
On Fri, 30 May 2008 17:58:24 +0100
I'll stage this after Mel's
But I wonder if helpers which manipulate a vma's HPAGE_RESV_MASK
Oh. We already kinda have it. Perhaps vma_resv_huge_pages() should
have called set_vma_resv_flags(). I guess the assertions would have
busted that.
Oh well, whatever.
--
| May 30, 1:29 pm 2008 |
| Andy Whitcroft | [PATCH 1/2] huge page private reservation review cleanups
Create some new accessors for vma private data to cut down on and contain
the casts. Encapsulates the huge and small page offset calculations. Also
adds a couple of VM_BUG_ONs for consistency.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
mm/hugetlb.c | 56 +++++++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 43 insertions(+), 13 deletions(-)
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 729a830..7a5ac81 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ ...
| May 30, 9:58 am 2008 |
| Andy Whitcroft | [PATCH 2/2] huge page MAP_NORESERVE review cleanups
Use the new encapsulated huge page offset helper.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
mm/hugetlb.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 1dce03a..901e580 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -733,8 +733,7 @@ static int vma_needs_reservation(struct vm_area_struct *vma, unsigned long addr)
struct inode *inode = mapping->host;
if (vma->vm_flags & VM_SHARED) {
- unsigned long idx = ...
| May 30, 9:58 am 2008 |
| Andy Whitcroft | [PATCH 0/2] hugetlb reservations v4/MAP_NORESERVE V3 cleanups
Following on from Andrew's feedback here are a couple of update patches
for hugetlb reservations v4 and MAP_NORESERVE V3. These introduce a number
of new helpers and use those throughout.
This stack consists of two patches to allow them to be merged into the
appropriate stacks.
huge-page-private-reservation-review-cleanups -- adds the helpers and
utilises them in the base reservations stack, and
huge-page-MAP_NORESERVE-review-cleanups -- uses the same helpers in the
MAP_NORESERVE ...
| May 30, 9:57 am 2008 |
| Jesse Barnes | [git pull] last minute PCI fixes
Please pull a last minute fix intended for 2.6.26:
git pull git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6.git for-linus
BenH found a bug that broke ABI in the POWER6 PCI hotplug code, so we needed
to get the fix upstream asap.
Thanks,
Jesse
Benjamin Herrenschmidt (1):
PCI: fix rpadlpar pci hotplug driver sysfs usage
rpadlpar_sysfs.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--
| May 30, 9:54 am 2008 |
| Dmitry Torokhov | [git pull] Input updates for 2.6.26-rc4
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus
or
master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus
to receive updates for the input subsystem.
Changelog:
---------
Antonio Ospite (1):
Input: pxa27x_keypad - miscellaneous fixes
Bruno Prémont (2):
Input: i8042 - add Dritek quirk for Acer TravelMate 660
Input: i8042 - make sure Dritek quirk is invoked at resume
Dmitry Torokhov (2):
...
| May 30, 9:41 am 2008 |
| Arjan van de Ven | Re: Top kernel oopses/warnings for the week of May 30th 2008
ok for some it did gather this information, and it is
kernel BUG at mm/highmem.c:319!
--
| May 30, 3:00 pm 2008 |
| Jochen Voß | Re: Top kernel oopses/warnings for the week of May 30th 2008
Hi Arjan,
It seems like a strange coincidence that the first two entries have
the same number of total reports. Is this really the case or is there
something mixed up?
All the best,
Jochen
--
http://seehuhn.de/
--
| May 30, 3:34 pm 2008 |
| Arjan van de Ven | Re: Top kernel oopses/warnings for the week of May 30th 2008
coincidence; I just recreated a new version of the report (so several hours later) and they're 1 appart now.
--
| May 30, 3:36 pm 2008 |
| Arjan van de Ven | Top kernel oopses/warnings for the week of May 30th 2008
The http://www.kerneloops.org website collects kernel oops and
warning reports from various mailing lists and bugzillas as well as
with a client users can install to auto-submit oopses.
Below is a top 10 list of the traces collected in the last 7 days.
(Reports prior to 2.6.23 have been omitted in collecting the top 10)
This week, a total of 3670 oopses and warnings have been reported,
compared to 3029 reports in the previous week.
In addition to Fedora, Debian now has included the client ...
| May 30, 9:39 am 2008 |
| Arjan van de Ven | Re: Top kernel oopses/warnings for the week of May 30th 2008
I've seen it a few more times the last few weeks, I'll dig into how that is happening.
Maybe we changed the bug_on text to miss my regexps ;(
(it's only about 1000 lines of perl, so what can go wrong in that ;-)
--
| May 30, 2:49 pm 2008 |
| Linus Torvalds | Re: Top kernel oopses/warnings for the week of May 30th 2008
Hmm. Every single one is that one kernel version or 2.6.25.3-18.fc9.i686,
and with that many reports I'd have expected it from other kernels too.
What was the previous popular fc9 kernel (I assume it was 2.6.25-based
too?), and what changed?
Linus
--
| May 30, 3:55 pm 2008 |
| Hugh Dickins | May 30, 12:19 pm 2008 | |
| Arjan van de Ven | Re: Top kernel oopses/warnings for the week of May 30th 2008
ok it was a bug I already fixed a few days ago; any reports from the last 2 or 3 days shouldn't have this.
--
| May 30, 3:17 pm 2008 |
| Arjan van de Ven | Re: Top kernel oopses/warnings for the week of May 30th 2008
versions that do identify themselves as "2.6.25-14.fc9.i686.PAE", and these ones didn't,
(they're all in the "2.6.25-14.fc9.i686" form) so this is a kernel without PAE.
--
| May 30, 3:34 pm 2008 |
| Linus Torvalds | Re: Top kernel oopses/warnings for the week of May 30th 2008
That's just _odd_. The call chain actually has kmap() in it, and kmap
does:
if (!PageHighMem(page))
return page_address(page);
return kmap_high(page);
so if it's the one at line 319, which says
BUG_ON(!PageHighMem(page));
then I wonder what happened to that PageHighMem() test of the page in
between..
Ahh.. Not the same "page". It looks like it's in the
flush_all_zero_pkmaps() path, and it's clearing some _other_ page in the
pkmap table in order to make room for the ...
| May 30, 3:30 pm 2008 |
| Linus Torvalds | Re: Top kernel oopses/warnings for the week of May 30th 2008
It's a BUG_ON(), but sadly the oops gatherer doesn't seem to gather that
part. You can see it from the code portion: the "<0f> 0b" gives it away
(that's the ud2 opcode).
There's two BUG_ON()'s in that function, and I think it's the second one,
based on at least the code generation that my particular compiler version
gets. IOW, it would be the
BUG_ON(list_empty(&page_address_pool));
thing.
Why would we run out of the page-address pool? Or perhaps the right
question is what ...
| May 30, 2:43 pm 2008 |
| Aristeu Rozanski | [PATCH] 8250: fix break handling for Intel 82571
Intel 82571 has a "Serial Over LAN" feature that doesn't properly implements
the receiving of break characters. When a break is received, it doesn't set
UART_LSR_DR and unless another character is received, the break won't be
received by the application.
Signed-off-by: Aristeu Rozanski <arozansk@redhat.com>
---
drivers/serial/8250.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
--- linus-2.6.orig/drivers/serial/8250.c 2008-05-15 13:32:48.000000000 -0400
+++ ...
| May 30, 9:25 am 2008 |
| Alessandro Guido | [PATCH] sony-laptop: Add missing newline character
Add the missing newline character at the end of the warning string
Signed-off-by: Alessandro Guido <alessandro.guido@gmail.com>
---
drivers/misc/sony-laptop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
index 00e48e2..daf3c9c 100644
--- a/drivers/misc/sony-laptop.c
+++ b/drivers/misc/sony-laptop.c
@@ -969,7 +969,7 @@ static int sony_nc_resume(struct acpi_device *device)
/* set the last requested ...
| May 30, 9:20 am 2008 |
| Gabriel C | linux-next: strange CPU calibration
Hi Ingo , Thomas ,
on 2.6.26-rc4-next-20080530 ( probably in earlier -next releases I didn't checked yet ) the CPU calibration is random
wrong on my box with an Core2Quad CPU. The box is running x86_64 kernel.
After rebooting the box ( using 'reboot command' ) from 2.6.25 to 2.6.26-rc4-next-20080530 I get :
...
[4294014.566475] Calibrating delay using timer specific routine.. 5002.58 BogoMIPS (lpj=2501294)
[4294014.586558] Calibrating delay using timer specific routine.. 2822.66 BogoMIPS ...
| May 30, 8:42 am 2008 |
| Jiri Hladky | Bug in arch/i386/lib/delay.c file, delay_loop function
Hi all,
when trying to understand how Bogomips are implemented I have found
bug in arch/i386/lib/delay.c file, delay_loop function
/* simple loop based delay: */
static void delay_loop(unsigned long loops)
{
int d0;
__asm__ __volatile__(
"\tjmp 1f\n"
".align 16\n"
"1:\tjmp 2f\n"
".align 16\n"
"2:\tdecl %0\n\tjns 2b"
:"=&a" (d0)
:"0" (loops));
}
The function fails for loops > 2^31+1. It because SF is set when dec
returns numbers > 2^31
The fix ...
| May 30, 8:15 am 2008 |
| Dave Jones | kernel: sysctl table check failed: /dev/parport/parport0 ...
Well, that's umm, special.
I wonder if powering off the printer isn't causing the sysctl to be removed,
causing the next power-on to look like a new device ?
Eric, you poked around the sysctl paths in parport last year, any ideas?
Dave
--
http://www.codemonkey.org.uk
| May 30, 8:05 am 2008 |
| Eric W. Biederman | Re: kernel: sysctl table check failed: /dev/parport/parp ...
Yes. The short answer is that this is a real bug in the parport code
that has existed forever. We just now complain.
http://bugzilla.kernel.org/show_bug.cgi?id=9749
It takes something like two accessors of the parallel port to trigger
this. Though not in a bad way.
In particular each open creates the sysctl for the duration of the
open (or something like that) and so if you open (I think it is
/dev/parport0) twice you try and create the sysctls twice.
I got as far as basic ...
| May 30, 11:19 am 2008 |
| kmlsgxrvlxzqpqb | 活力健康減重!索取試用包
減重,沒時間運動,
索取免費體重控制試用包
**
→http://0rz.tw/d04au#.fjdkljafljreoiputfpovjcm,v;sflkdjgpoiugjpoeirugfkjgs;lfjbfl;nbs;ljperoiugwersgj;fjdbjfdjb;sjgupoeri
--
| May 30, 7:54 am 2008 |
| Guntsche Michael | 2.6.25.x: Wrong CPU frequency (cpufreq table) with p4-clockmod
Hi list,
I recently upgraded one of my servers from 2.6.24.2 to 2.6.25. This is
more or less a basic fileserver that also does some compilations from
time to time.
cat /proc/cpuinfo from 2.6.24.2:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.70GHz
stepping : 2
cpu MHz : 425.000
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp ...
| May 30, 6:44 am 2008 |
| Guntsche Michael | Re: 2.6.25.x: Wrong CPU frequency (cpufreq table) with p ...
I am most interested in keeping the temperature of my CPU down, which
means slower fans, which means less noise.
The main "problem" I have is that I do not know if this is a simple
display issue or if I am having a more fundamental problem here.
/Michael
--
| May 30, 7:07 am 2008 |
| Arjan van de Ven | Re: 2.6.25.x: Wrong CPU frequency (cpufreq table) with p ...
On Fri, 30 May 2008 15:44:55 +0200
... and it's not the best solution because it's not saving you any
energy...
(in fact it may cost you some)
p4-clockmod should go away.
(at least as cpufreq driver)
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| May 30, 6:57 am 2008 |
| Marc Pignat | Re: [PATCH 1/7] mmc: at91_mci: support for block size no ...
SGkgTmljb2xhcyEKCk9uIEZyaWRheSAzMCBNYXkgMjAwOCwgTmljb2xhcyBGZXJyZSB3cm90ZToK
PiBGcm9tOiBNYXJjIFBpZ25hdCA8bWFyYy5waWduYXRAaGV2cy5jaD4KPiAKPiBJbXBsZW1lbnQg
dHJhbnNmZXIgd2l0aCBzaXplIG5vdCBtb2R1bG8gNCBmb3IgYXQ5MXNhbTkqLiBQbGVhc2Ugbm90
ZSB0aGF0IHRoZQo+IGF0OTFybTkyMDAgc2ltcGx5IGNhbid0IGhhbmRsZSB0aGlzLgo+IAo+IFNp
Z25lZC1vZmYtYnk6IE1hcmMgUGlnbmF0IDxtYXJjLnBpZ25hdEBoZXZzLmNoPgo+IFNpZ25lZC1v
ZmYtYnk6IE5pY29sYXMgRmVycmUgPG5pY29sYXMuZmVycmVAYXRtZWwuY29tPgo+IC0tLQoKSSBq
dXN0IHdhbnQgd2UgZG9uJ3QgZm9yZ2V0IHRoYXQg ...
| May 30, 5:57 am 2008 |
| Matti Linnanvuori | Re: [PATCH v1.2.26] wan: new driver retina
Removed.
A new patch is at http://groups.google.com/group/pcidriver
--
| May 30, 5:52 am 2008 |
| Krzysztof Halasa | Re: [PATCH v1.2.26] wan: new driver retina
But this is a new driver, right? I guess the SIOCDEVPRIVATEs will go
Actually I meant try_module_get() from within the driver, for example
your module may get unloaded while in this function, before this
try_module_get(), and that would be fatal. If you set the owner field
the reference count will be incremented by the caller first.
Yes, I thought stream mode = character device but now I see it's
another flavour of network device(?), which is never up and exists
only for the ability to ...
| May 30, 9:15 am 2008 |
| Paul E. McKenney | Confused by smp_read_barrier_depends() in rxrpc_rotate_t ...
Hello, Dave!
I confess to being confused by the smp_read_barrier_depends() in
rxrpc_rotate_tx_window(). It looks like it is ordering the prior
fetch of tail from call->acks_tail with the subsequent use of
tail as an index into the call->acks_window[] array, but then the
code does an assignment to call->acks_tail a few lines later.
If we hold a lock protecting call->acks_tail, why do we need the
smp_read_barrier_depends()? If we don't hold such a lock, why
is the assignment to ...
| May 30, 5:45 am 2008 |
| Mathieu Desnoyers | Re: Question about smp_read_barrier_depends() in kernel/ ...
Hi Paul,
I think it's good to clarify some details about the markers data
structures.
First, the struct marker_entry is a data structure that holds
information about activated markers in a hash table. All its updates are
done when the markers_mutex is held, so there is no memory ordering
issues related to its updates.
This structure is used as an information source when we update the
markers sites with correct memory ordering by set_marker() and
Actually, this barrier should make sure ...
| May 30, 6:44 am 2008 |
| Paul E. McKenney | Question about smp_read_barrier_depends() in kernel/marker.c
Hello, Mathieu,
I am a bit confused by the smp_read_barrier_depends() in kernel/markers.c.
My (probably naive) view is that they need to move as shown in the patch
below. Help?
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
marker.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff -urpNa -X dontdiff linux-2.6.26-rc4/kernel/marker.c linux-2.6.26-rc4-marker-srbd/kernel/marker.c
--- linux-2.6.26-rc4/kernel/marker.c 2008-05-30 04:39:01.000000000 ...
| May 30, 5:22 am 2008 |
| Nicolas Ferre | [PATCH 1/7] mmc: at91_mci: support for block size not modulo 4
From: Marc Pignat <marc.pignat@hevs.ch>
Implement transfer with size not modulo 4 for at91sam9*. Please note
that the
at91rm9200 simply can't handle this.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 8979ad3..543b64b 100644
--- ...
| May 30, 5:43 am 2008 |
| Nicolas Ferre | [PATCH 7/7] mmc: at91_mci: do not read irq status twice ...
Reading AT91_MCI_SR again at the end of transfer can corrupt the
error reporting. Some fields in the SR register are read-and-clear.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 92a0200..9948fe1 100644
--- a/drivers/mmc/host/at91_mci.c
+++ b/drivers/mmc/host/at91_mci.c
@@ -660,10 +660,9 @@ static void ...
| May 30, 5:28 am 2008 |
| Nicolas Ferre | [PATCH 3/7] mmc: at91_mci: avoid timeouts
From: Marc Pignat <marc.pignat@hevs.ch>
The at91 mci controller internal state machine seems to often crash.
This can
be fixed by resetting the controller after each command for at91rm9200
and by
setting the MCI_BLKR register on at91sam926*.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Hans J Koch <hjk@linutronix.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 48 ...
| May 30, 5:45 am 2008 |
| Nicolas Ferre | [PATCH 6/7] mmc: at91_mci: add sdio irq management
From: Eric Benard <ebenard@free.fr>
Enable SDIO interrupt handling.
Signed-off-by: Eric Benard <ebenard@free.fr>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 26 ++++++++++++++++++++++----
1 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index b2138f9..92a0200 100644
--- a/drivers/mmc/host/at91_mci.c
+++ b/drivers/mmc/host/at91_mci.c
@@ -665,7 +665,7 @@ static void ...
| May 30, 5:26 am 2008 |
| Nicolas Ferre | [PATCH 4/7] mmc: at91_mci: add multiwrite switch
at91_mci is capable of multiwrite. Enable it before it disappears.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 6b9662e..df975e0 100644
--- a/drivers/mmc/host/at91_mci.c
+++ b/drivers/mmc/host/at91_mci.c
@@ -923,6 +923,7 @@ static int __init at91_mci_probe(struct
platform_device *pdev)
mmc->f_min = ...
| May 30, 5:45 am 2008 |
| Nicolas Ferre | [PATCH 2/7] mmc: at91_mci: show timeouts
From: Marc Pignat <marc.pignat@hevs.ch>
Detect command timeout (or mci controller hangs).
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Hans J Koch <hjk@linutronix.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 35 +++++++++++++++++++++++++++++++++--
1 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index 543b64b..4b4518f 100644
--- ...
| May 30, 5:44 am 2008 |
| Nicolas Ferre | [PATCH 0/7] mmc: at91_mci: rework to allow better transfer
Hi Pierre,
Following your announce of future removal of the MMC multiwrite switch
and the contributions of several people of the AT91 community, here is a
patches series :
Those patches should enhance transfer of data and setup a sane base for
a working SDIO support.
Several of those contributions are around since the beginning of this
year. I thank all of you for your patient and valuable testing effort.
Here are some discussions that led to this patch series:
"mmc: at91_mci: ...
| May 30, 4:49 am 2008 |
| Nicolas Ferre | [PATCH 5/7] mmc: at91_mci: update bytes_xfered value onc ...
Modify bytes_xfered value after a write.
That will report, as accurately as possible, the amount of
sectors that are effectively written.
This update introduces the check of the busy signal given by
the card.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/at91_mci.c | 40 ++++++++++++++++++++++++++++++++++------
1 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/drivers/mmc/host/at91_mci.c b/drivers/mmc/host/at91_mci.c
index df975e0..b2138f9 ...
| May 30, 5:18 am 2008 |
| Hugh Dickins | Re: Oops in 2.6.25
(It's rather unusual to be using ksymoops on a 2.6 trace: I thought it
tended to mess up the trace more often than it helped, but perhaps I'm
wrong on that, the one below looks okay. And I see you do build with
CONFIG_KALLSYMS=y, not trying to save space by omitting symbols, so
Ah, yes, ksymoops isn't even looking in the right place (/proc/kallsyms)
for a 2.6 kernel: I think you can just forget about ksymoops next time.
If it's the Code decipherment you wanted, try scripts/decodecode ...
| May 30, 6:03 am 2008 |
| Wolf Wiegand | Oops in 2.6.25
Hi,
(please CC me in replies)
my current kernel just threw an error, see output from ksymoops below.
I've been using this version for quite some time now, this is the first
time this has happened. There have been no hardware changes lately. The
hardware itself is nothing special, it's a somewhat dusty Thinkpad.
I hope I have included all relevant information, please contact me if
more information is needed.
Cheers,
Wolf
ksymoops 2.4.11 on i686 2.6.25. Options used
-V ...
| May 30, 4:17 am 2008 |
| Jeremy Fitzhardinge | Xen/paravirt_ops page on Xen wiki
I've added a Xen/paravirt_ops page to the Xen wiki. This is intended to
let people know the current status, give them a guide on how to use the
Xen support in current Linux kernels, and (ideally) start contributing
to its ongoing development, with testing, debugging and patches.
http://wiki.xensource.com/xenwiki/XenParavirtOps
Thanks,
J
--
| May 30, 4:10 am 2008 |
| Amit Shah | [PATCH 1/3] KVM: Expose get_eoi_gsi for IRQ acking for a ...
Also add kvm_ prefix.
Signed-off-by: Amit Shah <amit.shah@qumranet.com>
---
virt/kvm/ioapic.c | 4 ++--
virt/kvm/ioapic.h | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/virt/kvm/ioapic.c b/virt/kvm/ioapic.c
index 99a1736..4c41a00 100644
--- a/virt/kvm/ioapic.c
+++ b/virt/kvm/ioapic.c
@@ -284,7 +284,7 @@ void kvm_ioapic_set_irq(struct kvm_ioapic *ioapic, int irq, int level)
}
}
-static int get_eoi_gsi(struct kvm_ioapic *ioapic, int vector)
+int ...
| May 30, 3:27 am 2008 |
| Amit Shah | [PATCH 2/3] KVM: Introduce kvm_set_irq to inject interru ...
This function injects an interrupt into the guest given the kvm struct,
the (guest) irq number and the interrupt level.
Signed-off-by: Amit Shah <amit.shah@qumranet.com>
---
arch/x86/kvm/irq.c | 11 +++++++++++
arch/x86/kvm/irq.h | 2 ++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c
index 76d736b..0d9e552 100644
--- a/arch/x86/kvm/irq.c
+++ b/arch/x86/kvm/irq.c
@@ -100,3 +100,14 @@ void __kvm_migrate_timers(struct kvm_vcpu ...
| May 30, 3:27 am 2008 |
| Amit Shah | [PATCH 3/3] KVM: Handle devices assigned to the guest
From: Amit Shah <amit.shah@qumranet.com>
From: Ben-Ami Yassour <benami@il.ibm.com>
This patch adds support for handling PCI devices that are assigned to the guest
("PCI passthrough").
The device to be assigned to the guest is registered in the host kernel and
interrupt delivery is handled. It is expected the module for the device in the
host is not loaded.
Devices that share their interrupt line are not supported at the moment.
By itself, this patch will not make devices work within the ...
| May 30, 3:27 am 2008 |
| Pavel Machek | sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?
Hi!
sync_file_range(SYNC_FILE_RANGE_WRITE) blocks ... which makes problem
for s2disk: there we want to start writeout as early as possible
(system is going to shut down after write, and we need the data on
disk).
Unfortuantely, sync_file_range(SYNC_FILE_RANGE_WRITE) blocks, which
does not work for us. Is there non-blocking variant? "Start writeout
on this fd, but don't block me"?
For now I'm doing:
static inline int start_writeout(int fd)
{
#ifdef SYS_sync_file_range
if ...
| May 30, 3:26 am 2008 |
| Hugh Dickins | Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?
I guess there are lots of reasons why it may block (get rescheduled)
briefly, but why would that matter to you? Are you saying that its
whole design has got broken somehow, and now SYNC_FILE_RANGE_WRITE
is behaving as if SYNC_FILE_RANGE_WAIT_AFTER had been supplied too?
Hugh
--
| May 30, 6:58 am 2008 |
| Pavel Machek | Re: sync_file_range(SYNC_FILE_RANGE_WRITE) blocks?
It appears to me like it includes WAIT_AFTER, yes.
I was not sure what the expected behaviour was... lets say we have a
lot of dirty data (like 40MB) and system with enough free memory. Is
it reasonable to expect SYNC_FILE_RANGE_WRITE to return pretty much
immediately? (like in less than 10msec)? Because it seems to take more
like a second here...
(Underlying 'file' is actually /dev/sda1 -- aka my swap partition, but
that should not matter --right?)
Pavel
--
(english) ...
| May 30, 1:43 pm 2008 |
| David Miller | [GIT]: Networking
Keeping the fixes rolling:
1) Two DCCP bug fixes from Gerrit and the DCCP crew.
2) Merge in wireless fixes from John Linville and co.
3) LLC double ref bug fix from Arnaldo.
4) Netfilter conntrack expection fix from Alexey Dobriyan.
Please pull, thanks a lot!
The following changes since commit 289c79a4bd350e8a25065102563ad1a183d1b402:
Patrick McHardy (1):
vlan: Use bitmask of feature flags instead of seperate feature bits
are available in the git repository at:
...
| May 30, 3:04 am 2008 |
| Martin Schwidefsky | Please pull git390 'for-linus' branch
Please pull from 'for-linus' branch of
git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus
to receive the following updates:
arch/s390/Kconfig | 3 ++
arch/s390/appldata/appldata_base.c | 8 ++++++
arch/s390/defconfig | 11 ++++++--
arch/s390/kernel/dis.c | 2 +-
arch/s390/kernel/smp.c | 2 +-
arch/s390/mm/init.c | 49 +++++++++++++++++-------------------
arch/s390/mm/vmem.c | ...
| May 30, 1:41 am 2008 |
| Andrew Henry | Re: 2.6.25: sata_sil freezes, hard resets port.
Here is the output from hdparm -I /dev/sdb. The output is the same for both drives.
I just want to re-state that it's not just when drives spindown. Happens on hotplug or cold boot also.
As for what happens when I try to access the drives when they have spun down:
- drives are asleep
- i run fdisk -l
- drive on port 1 spins up and LED for that port lights up
- it waits 60s then the LED *should* turn off, but many times, at this point the port will hang: LED is always on
- LED on ...
| May 30, 1:26 am 2008 |
| Stephen Rothwell | linux-next: Tree for May 30
Hi all,
Changes since next-20080529:
The ide tree got a build failure that required several newly out of lined
routines to be exported.
The rr tree picked up another conflict with the driver-core tree.
The semaphore-removal tree still needed three patches reverted because simi=
lar
patches were merged into upstream and the scsi-rc-fixes trees.
I have applied the following temporary patch for known build problems:
"Fix various 8390 builds" - the net tree broke builds on ...
| May 30, 1:19 am 2008 |
| Alan Cox | Re: [PATCH 1/3] cpusets: cleanup kernel-doc
On Fri, 30 May 2008 15:32:04 +0800
NAK. These are not redundant, they are used to pull documentation out of
the tree using kernel-doc or other tools that know how to finish entries
out for both inline and non-inlines.
Alan
--
| May 30, 2:50 am 2008 |
| Paul Jackson | Re: [PATCH 1/3] cpusets: cleanup kernel-doc
Acked-by: Paul Jackson <pj@sgi.com>
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 30, 12:43 am 2008 |
| Paul Jackson | Re: [PATCH 1/3] cpusets: cleanup kernel-doc
> These are not redundant
Miao wasn't saying the kernel-doc '/**' markers were redundant.
He was saying that, in one case, there was a redundant
blank line, right in the middle of a kernel-doc comment,
that broke that particular kernel-doc formatting.
That one-line fix is still worth getting in, though
probably not worth a patch all by itself.
The NAK by Alan of the rest of this patch still applies.
Thanks, Alan, Randy and Miao.
--
I won't rest till it's the best ...
| May 30, 8:26 am 2008 |
| Miao Xie | [PATCH 1/3] cpusets: cleanup kernel-doc
1. Use '/*' instead of '/**' for static functions.
2. Remove redundant blank line.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
kernel/cpuset.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 86ea9e3..f063368 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -731,7 +731,7 @@ static inline int started_after(void *p1, void *p2)
return started_after_time(t1, &t2->start_time, t2);
}
-/**
+/*
* ...
| May 30, 12:32 am 2008 |
| Miao Xie | [PATCH 2/3] cpusets: restructure the function update_cpu ...
extract two functions from update_cpumask() and update_nodemask().They will be
used later for updating tasks' cpus_allowed and mems_allowed after CPU/NODE
offline/online.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Acked-by: Paul Jackson <pj@sgi.com>
---
kernel/cpuset.c | 178 +++++++++++++++++++++++++++++++++---------------------
1 files changed, 109 insertions(+), 69 deletions(-)
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index f063368..2d6dff9 100644
--- ...
| May 30, 12:34 am 2008 |
| Alan Cox | Re: [PATCH 2/3] cpusets: restructure the function update ...
Trivial only: The kernel-doc bits should be /**, 3 of them. The fourth
function doesn't have kernel-doc headers/format so is fine as is (or
could grow them - hint ;))
Alan
--
| May 30, 2:53 am 2008 |
| Paul Jackson | Re: [PATCH 2/3] cpusets: restructure the function update ...
It took me a minute to parse this comment (pre-coffee morning fog ;).
I take it that you're noticing, Alan, that the header comments for
the functions update_tasks_cpumask() and update_tasks_nodemask(), and
perhaps one other function, are already in kernel-doc format, except
for one detail -- they currently open with '/*' instead of '/**',
and you're recommending the trivial change '/*' ==> '/**' for these
cases.
Yes - Miao commented these new functions in kernel-doc format, all but
the ...
| May 30, 8:56 am 2008 |
| Miao Xie | [PATCH 3/3] cpusets: update tasks' cpus_allowed and mems ...
The bug is, a task may run on the cpu/node which is not in its cpuset.cpus/
cpuset.mems.
It can be reproduced by the following commands:
-----------------------------------
# mkdir /dev/cpuset
# mount -t cpuset xxx /dev/cpuset
# mkdir /dev/cpuset/0
# echo 0-1 > /dev/cpuset/0/cpus
# echo 0 > /dev/cpuset/0/mems
# echo $$ > /dev/cpuset/0/tasks
# echo 0 > /sys/devices/system/cpu/cpu1/online
# echo 1 > /sys/devices/system/cpu/cpu1/online
-----------------------------------
There is only CPU0 ...
| May 30, 12:36 am 2008 |
| Paul Jackson | [PATCH - right file this time] doc: Update to URL and st ...
From: Paul Jackson <pj@sgi.com>
Update status and URL for the "Gary's Encyclopedia" entry.
Signed-off-by: Paul Jackson <pj@sgi.com>
---
Documentation/kernel-docs.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.orig/Documentation/kernel-docs.txt 2007-12-18 20:38:50.000000000 -0800
+++ linux-2.6/Documentation/kernel-docs.txt 2008-05-29 21:55:28.488134402 -0700
@@ -715,14 +715,14 @@
* Name: "Gary's Encyclopedia - The Linux Kernel"
...
| May 29, 10:28 pm 2008 |
| Paul Jackson | [PATCH] doc: Update to URL and status of kernel-docs.txt entry
[Empty message]
| May 29, 10:03 pm 2008 |
| Paul Jackson | Re: [PATCH] doc: Update to URL and status of kernel-docs ...
Oops -- Andrew -- send this so called PATCH to /dev/null.
I sent the wrong file.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 29, 10:26 pm 2008 |
| serg | mail расiлка
Рассылка mail.
Дёшево.
olegkalinin@estemail.com.ua
--
| May 29, 9:01 pm 2008 |
| Greg KH | [GIT PATCH] driver core patch against 2.6.26-rc4
Here is a single patch against your 2.6.26-git tree.
It was suggested by Stephen, as it will help with the linux-next merge
issues starting to happen as this api changes in anticipation for
2.6.27. This patch merges a functional version of the dev_set_name()
function for other trees to be able to take adnd merge in changes that
help with the progression toward getting rid of the bus_id field and the
limitation of 20 characters for the name of struct device.
Please pull ...
| May 29, 9:15 pm 2008 |
| Greg Kroah-Hartman | driver-core: prepare for 2.6.27 api change by adding dev ...
From: Stephen Rothwell <sfr@canb.auug.org.au>
Create the dev_set_name function now so that various subsystems can
start changing over to it before other changes in 2.6.27 will make it
compulsory.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -760,6 +760,21 @@ static void device_remove_class_symlinks(struct device *dev)
}
/**
+ * ...
| May 29, 9:16 pm 2008 |
| Greg Kroah-Hartman | [PATCH 1/1] driver-core: prepare for 2.6.27 api change b ...
From: Stephen Rothwell <sfr@canb.auug.org.au>
Create the dev_set_name function now so that various subsystems can
start changing over to it before other changes in 2.6.27 will make it
compulsory.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 15 +++++++++++++++
include/linux/device.h | 3 +++
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git ...
| May 29, 9:16 pm 2008 |
| Christoph Lameter | [patch 11/41] cpu alloc: SRCU cpu alloc conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
kernel/rcutorture.c | 4 ++--
kernel/srcu.c | 20 ++++++++------------
2 files changed, 10 insertions(+), 14 deletions(-)
Index: linux-2.6/kernel/rcutorture.c
===================================================================
--- linux-2.6.orig/kernel/rcutorture.c 2008-04-29 14:55:55.000000000 -0700
+++ linux-2.6/kernel/rcutorture.c 2008-05-21 21:46:19.000000000 -0700
@@ -442,8 +442,8 @@
torture_type, ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 13/41] cpu alloc: NFS statistics
Convert NFS statistics to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
fs/nfs/iostat.h | 27 +++++++++++----------------
fs/nfs/super.c | 2 +-
2 files changed, 12 insertions(+), 17 deletions(-)
Index: linux-2.6/fs/nfs/iostat.h
===================================================================
--- linux-2.6.orig/fs/nfs/iostat.h 2008-05-26 09:35:31.077736336 -0700
+++ linux-2.6/fs/nfs/iostat.h 2008-05-26 10:01:26.178776581 -0700
@@ -119,13 +119,7 @@ struct ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 15/41] cpu_alloc: Convert ip route statistics
Convert IP route stats to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: linux-2.6/net/ipv4/ip_input.c
===================================================================
--- linux-2.6.orig/net/ipv4/ip_input.c 2008-05-21 22:37:24.000000000 -0700
+++ linux-2.6/net/ipv4/ip_input.c 2008-05-21 22:38:39.000000000 -0700
@@ -345,7 +345,7 @@
#ifdef CONFIG_NET_CLS_ROUTE
if (unlikely(skb->dst->tclassid)) {
- struct ip_rt_acct *st = per_cpu_ptr(ip_rt_acct, ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 16/41] cpu alloc: Tcp statistics conversion
Convert tcp statistics to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
net/ipv4/tcp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: linux-2.6/net/ipv4/tcp.c
===================================================================
--- linux-2.6.orig/net/ipv4/tcp.c 2008-04-29 14:55:55.000000000 -0700
+++ linux-2.6/net/ipv4/tcp.c 2008-05-21 21:46:54.000000000 -0700
@@ -2456,7 +2456,7 @@
{
int cpu;
for_each_possible_cpu(cpu) {
- struct ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 09/41] cpu alloc: Genhd statistics conversion
Convert genhd statistics to cpu alloc. The patch also drops the UP special
casing of the statistics.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/linux/genhd.h | 113 +++++++++++---------------------------------------
1 file changed, 25 insertions(+), 88 deletions(-)
Index: linux-2.6/include/linux/genhd.h
===================================================================
--- linux-2.6.orig/include/linux/genhd.h 2008-05-26 09:35:31.626487665 -0700
+++ ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 22/41] cpu alloc: Convert network sockets inuse counter
Convert handling of the inuse counters to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
net/core/sock.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6/net/core/sock.c
===================================================================
--- linux-2.6.orig/net/core/sock.c 2008-05-14 19:40:34.000000000 -0700
+++ linux-2.6/net/core/sock.c 2008-05-21 22:00:56.000000000 -0700
@@ -1943,8 +1943,7 @@
#ifdef CONFIG_NET_NS
void ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 23/41] cpu alloc: Use it for infiniband
Use cpu alloc for infiniband.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
drivers/infiniband/hw/ehca/ehca_irq.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Index: linux-2.6/drivers/infiniband/hw/ehca/ehca_irq.c
===================================================================
--- linux-2.6.orig/drivers/infiniband/hw/ehca/ehca_irq.c 2008-05-14 19:40:32.000000000 -0700
+++ linux-2.6/drivers/infiniband/hw/ehca/ehca_irq.c 2008-05-21 ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 17/41] cpu alloc: Convert scratches to cpu alloc
Convert scratch handling in the network stack to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
net/ipv4/ipcomp.c | 26 +++++++++++++-------------
net/ipv6/ipcomp6.c | 26 +++++++++++++-------------
2 files changed, 26 insertions(+), 26 deletions(-)
Index: linux-2.6/net/ipv4/ipcomp.c
===================================================================
--- linux-2.6.orig/net/ipv4/ipcomp.c 2008-04-29 14:55:55.000000000 -0700
+++ linux-2.6/net/ipv4/ipcomp.c 2008-05-21 ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 36/41] Zero based percpu: Infrastructure to rebas ...
* Support an option
CONFIG_HAVE_ZERO_BASED_PER_CPU
to make offsets for per cpu variables to start at zero.
If a percpu area starts at zero then:
- We do not need RELOC_HIDE anymore
- Provides for the future capability of architectures providing
a per cpu allocator that returns offsets instead of pointers.
The offsets would be independent of the processor so that
address calculations can be done in a processor independent way.
Per cpu instructions ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 30/41] Remove local_t support
There is no user of local_t remaining after the cpu ops patchset. local_t
always suffered from the problem that the operations it generated were not
able to perform the relocation of a pointer to the target processor and the
atomic update at the same time. There was a need to disable preemption
and/or interrupts which made it awkward to use.
Quirk:
- linux/module.h needs to include hardirq.h now since asm-generic/local.h did
and some arches now depend on it (sparc64 for ...
| May 29, 8:56 pm 2008 |
| Andrew Morton | Re: [patch 35/41] Support for CPU ops
Should be called "ia64: support for CPU ops", please.
--
| May 29, 9:58 pm 2008 |
| Christoph Lameter | [patch 35/41] Support for CPU ops
IA64 has no efficient atomic operations. But we can get rid of the need to
add my_percpu_offset(). The address of a per cpu variable can be used directly
on IA64 since its mapped to a per processor area.
This also allows us to kill off the __ia64_get_cpu_var macro. Its nothing but
per_cpu_var().
Cc: Tony.Luck@intel.com
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/ia64/Kconfig | 3
arch/ia64/kernel/perfmon.c | 2
arch/ia64/kernel/setup.c | ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | Re: [patch 35/41] Support for CPU ops
Argh. Gazillions of details on gazillions of arches over all sorts of
kernel subsystems.
--
| May 29, 10:18 pm 2008 |
| Christoph Lameter | [patch 40/41] x86: Replace xxx_pda() operations with x86 ...
It is now possible to use percpu operations for pda access since the pda is
in the percpu area. Drop the pda operations.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/x86/kernel/apic_64.c | 4 -
arch/x86/kernel/cpu/mcheck/mce_amd_64.c | 2
arch/x86/kernel/cpu/mcheck/mce_intel_64.c | 2
arch/x86/kernel/nmi_64.c | 5 +
arch/x86/kernel/process_64.c | 16 ++---
arch/x86/kernel/smp.c | 4 -
...
| May 29, 8:57 pm 2008 |
| Christoph Lameter | [patch 41/41] x86_64: Support for cpu ops
Support fast cpu ops in x86_64 by providing a series of functions that
generate the proper instructions.
Define CONFIG_HAVE_CPU_OPS so that core code
can exploit the availability of fast per cpu operations.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/x86/Kconfig | 4 ++++
include/asm-x86/percpu.h | 31 +++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
Index: ...
| May 29, 8:57 pm 2008 |
| Christoph Lameter | [patch 37/41] x86_64: Fold pda into per cpu area
* Declare the pda as a per cpu variable.
* Make the x86_64 per cpu area start at zero.
* Since %gs is pointing to the pda, it will then also point to the per cpu
variables and can be accessed thusly:
%gs:[&per_cpu_xxxx - __per_cpu_start]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
---
arch/x86/Kconfig | 3 +++
arch/x86/kernel/setup.c | 22 ++++++++++++++++++++--
arch/x86/kernel/smpboot.c ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 39/41] x86: Replace cpu_pda() using percpu logic ...
_cpu_pda() is pointing to the pda which is at the beginning of the per cpu area.
This means that cpu_pda and _cpu_pda[] are both pointing at the percpu area!
per_cpu() can be used instead of cpu_pda() when accessing pda fields.
Typically the offsets to the per cpu areas are stored in an array _per_cpu_offset
(generic per cpu support can then provide more functionality).
Use that array for x86_64 and get rid of the pda pointers.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 25/41] cpu alloc: scheduler: Convert cpuusage to ...
Convert scheduler handling of cpuusage to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/x86/kernel/setup.c | 2 +-
kernel/sched.c | 10 +++++-----
mm/cpu_alloc.c | 25 +++++++++++++++++++------
3 files changed, 25 insertions(+), 12 deletions(-)
Index: linux-2.6/kernel/sched.c
===================================================================
--- linux-2.6.orig/kernel/sched.c 2008-05-26 20:38:49.000000000 -0700
+++ ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 21/41] cpu alloc: Chelsio statistics conversion
Convert chelsio statistics to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
drivers/net/chelsio/sge.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Index: linux-2.6/drivers/net/chelsio/sge.c
===================================================================
--- linux-2.6.orig/drivers/net/chelsio/sge.c 2008-05-28 22:02:18.000000000 -0700
+++ linux-2.6/drivers/net/chelsio/sge.c 2008-05-28 23:22:28.000000000 -0700
@@ -809,7 +809,7 @@
int ...
| May 29, 8:56 pm 2008 |
| Andrew Morton | Re: [patch 27/41] cpu alloc: Remove the allocpercpu func ...
Wow.
y:/usr/src/25> grep alloc_percpu patches/*.patch
y:/usr/src/25>
we might just be able to get away with doing this.
But it might make life easier to defer the removal of the old stuff for
a while. This can be worked out later.
--
| May 29, 9:58 pm 2008 |
| Christoph Lameter | [patch 27/41] cpu alloc: Remove the allocpercpu functionality
There is no user of allocpercpu left after all the earlier patches were
applied. Remove the allocpercpu code.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/linux/percpu.h | 80 ------------------------------
mm/Makefile | 1
mm/allocpercpu.c | 127 -------------------------------------------------
3 files changed, 208 deletions(-)
delete mode 100644 mm/allocpercpu.c
Index: ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 31/41] VM statistics: Use CPU ops
The use of CPU ops here avoids the offset calculations that we used to have
to do with per cpu operations. The result of this patch is that event counters
are coded with a single instruction the following way:
incq %gs:offset(%rip)
Without these patches this was:
mov %gs:0x8,%rdx
mov %eax,0x38(%rsp)
mov xxx(%rip),%eax
mov %eax,0x48(%rsp)
mov varoffset,%rax
incq 0x110(%rax,%rdx,1)
Signed-off-by: Christoph Lameter <clameter@sgi.com
---
...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 28/41] Module handling: Use CPU_xx ops to dynamic ...
Use cpu ops to deal with the per cpu data instead of a local_t. Reduces memory
requirements, cache footprint and decreases cycle counts.
Avoid a loop to NR_CPUS here. Use the possible map instead.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/linux/module.h | 13 +++++--------
kernel/module.c | 17 +++++++----------
2 files changed, 12 insertions(+), 18 deletions(-)
Index: ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 29/41] x86_64: Use CPU ops for nmi alert counter
These are critical fast paths. Reduce overhead by using a segment override
instead of an address calculation.
Signed-off-by: Christoph LAmeter <clameter@sgi.com>
---
arch/x86/kernel/nmi_64.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6/arch/x86/kernel/nmi_64.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/nmi_64.c 2008-04-29 14:55:48.000000000 -0700
+++ ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 32/41] cpu alloc: Use in slub
Using cpu alloc removes the needs for the per cpu arrays in the kmem_cache struct.
These could get quite big if we have to support system of up to thousands of cpus.
The use of cpu_alloc means that:
1. The size of kmem_cache for SMP configuration shrinks since we will only
need 1 pointer instead of NR_CPUS. The same pointer can be used by all
processors. Reduces cache footprint of the allocator.
2. We can dynamically size kmem_cache according to the actual nodes in the
system meaning ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 33/41] cpu alloc: Remove slub fields
Remove the fields in kmem_cache_cpu that were used to cache data from
kmem_cache when they were in different cachelines. The cacheline that holds
the per cpu array pointer now also holds these values. We can cut down the
kmem_cache_cpu size to almost half.
The get_freepointer() and set_freepointer() functions that used to be only
intended for the slow path now are also useful for the hot path since access
to the field does not require accessing an additional cacheline anymore. This
results in ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 34/41] cpu alloc: Page allocator conversion
Use the new cpu_alloc functionality to avoid per cpu arrays in struct zone.
This drastically reduces the size of struct zone for systems with a large
amounts of processors and allows placement of critical variables of struct
zone in one cacheline even on very large systems.
Another effect is that the pagesets of one processor are placed near one
another. If multiple pagesets from different zones fit into one cacheline
then additional cacheline fetches can be avoided on the hot paths ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 38/41] x86: Extend percpu ops to 64 bit
x86 percpu ops now will work on 64 bit too. So add the missing 8 byte cases.
Also add a number of atomic ops that will be useful in the future:
x86_xchg_percpu() and x86_cmpxchg_percpu().
Add x86_inc_percpu and x86_dec_percpu. Increment by one can generate more
efficient instructions and inc/dec will be supported by cpu ops later.
Also use per_cpu_var() instead of per_cpu__##xxx.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/asm-x86/percpu.h | 83 ...
| May 29, 8:56 pm 2008 |
| Eric Dumazet | Re: [patch 26/41] cpu alloc: Convert mib handling to cpu alloc
We also can avoid the use of two arrays when CONFIG_HAVE_CPU_OPS
since _CPU_INC() and __CPU_INC() are both interrupt safe.
This would reduce size of mibs by 50% and complexity (no need to sum)
--
| May 29, 11:47 pm 2008 |
| Christoph Lameter | May 30, 11:01 am 2008 | |
| Christoph Lameter | [patch 26/41] cpu alloc: Convert mib handling to cpu alloc
Use the cpu alloc functions for the mib handling functions in the net
layer. The API for snmp_mib_free() is changed to add a size parameter
since cpu_free() requires a size parameter.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/net/ip.h | 2 +-
include/net/snmp.h | 32 ++++++++------------------------
net/dccp/proto.c | 2 +-
net/ipv4/af_inet.c | 31 +++++++++++++++++--------------
net/ipv6/addrconf.c | 11 ++++++-----
net/ipv6/af_inet6.c | 20 ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 24/41] cpu alloc: Use in the crypto subsystem.
Use cpu alloc for the crypto subsystem.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
crypto/async_tx/async_tx.c | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Index: linux-2.6/crypto/async_tx/async_tx.c
===================================================================
--- linux-2.6.orig/crypto/async_tx/async_tx.c 2008-04-29 14:55:49.000000000 -0700
+++ linux-2.6/crypto/async_tx/async_tx.c 2008-05-21 22:01:42.000000000 -0700
@@ -221,10 +221,10 @@
...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 19/41] cpu alloc: Convert loopback statistics
Convert loopback statistics to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
drivers/net/loopback.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Index: linux-2.6/drivers/net/loopback.c
===================================================================
--- linux-2.6.orig/drivers/net/loopback.c 2008-05-28 22:02:18.000000000 -0700
+++ linux-2.6/drivers/net/loopback.c 2008-05-28 23:14:11.000000000 -0700
@@ -132,7 +132,7 @@
*/
static int ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 18/41] cpu alloc: Dmaengine conversion
Convert DMA engine to use CPU_xx operations. This also removes the use of local_t
from the dmaengine.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
drivers/dma/dmaengine.c | 38 ++++++++++++++------------------------
include/linux/dmaengine.h | 16 ++++++----------
2 files changed, 20 insertions(+), 34 deletions(-)
Index: linux-2.6/drivers/dma/dmaengine.c
===================================================================
--- ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 20/41] cpu alloc: Veth conversion
veth statistics conversion.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
drivers/net/veth.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: linux-2.6/drivers/net/veth.c
===================================================================
--- linux-2.6.orig/drivers/net/veth.c 2008-05-28 22:02:18.000000000 -0700
+++ linux-2.6/drivers/net/veth.c 2008-05-28 23:18:47.000000000 -0700
@@ -152,8 +152,7 @@
{
struct net_device *rcv = NULL;
struct veth_priv ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 14/41] cpu alloc: Neigbour statistics
Convert neighbor stats to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/net/neighbour.h | 6 +-----
net/core/neighbour.c | 11 ++++++-----
2 files changed, 7 insertions(+), 10 deletions(-)
Index: linux-2.6/include/net/neighbour.h
===================================================================
--- linux-2.6.orig/include/net/neighbour.h 2008-05-21 23:59:14.000000000 -0700
+++ linux-2.6/include/net/neighbour.h 2008-05-22 07:40:37.000000000 -0700
@@ ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 12/41] cpu alloc: XFS counter conversion.
Also remove the useless zeroing after allocation. Even allocpercpu() already
zeroed the objects on alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
fs/xfs/xfs_mount.c | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
Index: linux-2.6/fs/xfs/xfs_mount.c
===================================================================
--- linux-2.6.orig/fs/xfs/xfs_mount.c 2008-05-08 22:10:42.000000000 -0700
+++ linux-2.6/fs/xfs/xfs_mount.c 2008-05-21 ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 10/41] cpu alloc: blktrace conversion
Convert blktrace percpu handling to cpu_alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
block/blktrace.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Index: linux-2.6/block/blktrace.c
===================================================================
--- linux-2.6.orig/block/blktrace.c 2008-05-28 18:45:08.580239875 -0700
+++ linux-2.6/block/blktrace.c 2008-05-29 00:02:19.570236238 -0700
@@ -82,7 +82,7 @@ void __trace_note_message(struct ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 08/41] cpu alloc: ACPI cstate handling conversion
Convert ACPI per cpu handling to cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/x86/kernel/acpi/cstate.c | 9 +++++----
arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 7 ++++---
drivers/acpi/processor_perflib.c | 4 ++--
3 files changed, 11 insertions(+), 9 deletions(-)
Index: linux-2.6/arch/x86/kernel/acpi/cstate.c
===================================================================
--- ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | Re: [patch 03/41] cpu alloc: Use cpu allocator instead o ...
Its __per_cpu_end - __per_cpu_start.
--
| May 29, 11:21 pm 2008 |
| Andrew Morton | Re: [patch 03/41] cpu alloc: Use cpu allocator instead o ...
That's not a string separation - it is a functional improvement.
Because an alloc_percpu failure is a page allocator failure. This is a
well-known situation which we know basically never happens, or at least
happens under well-known circumstances.
Whereas a cpu_alloc() failure is a dead box. We cannot fix it via
running page reclaim. We cannot fix it via oom-killing someone. We
are dead.
--
| May 29, 10:34 pm 2008 |
| Rusty Russell | Re: [patch 03/41] cpu alloc: Use cpu allocator instead o ...
Hmm, does cpu_free(NULL, 0) do something? Seems like it shouldn't, for
OK, we've *never* had a report of the per-cpu alignment message, so I'd be
happy to pass that through to cpu_alloc() and have it fail. Also, the if
Where did __per_cpu_size come from? I missed it in the earlier patches...
Thanks,
Rusty.
--
| May 29, 11:08 pm 2008 |
| Andrew Morton | Re: [patch 03/41] cpu alloc: Use cpu allocator instead o ...
Indenting broke.
Alas, PAGE_SIZE has, iirc, unsigned type on some architectures and
unsigned long on others. I suspect you'll need to cast it to be able
80-col bustage,.
A printk like this should, I think, identify what part of the kernel it
came from.
But really, I don't think any printk should be present here.
cpu_alloc() itself should dump the warning and the backtrace when it
runs out. Because a cpu_alloc() failure is a major catastrophe. It
probably means a ...
| May 29, 9:58 pm 2008 |
| Christoph Lameter | Re: [patch 03/41] cpu alloc: Use cpu allocator instead o ...
Again moved code. Should I really do string separations for code
The code has been able to deal with an allocpercpu failure in the
past. Why would it have trouble with a cpu_alloc failure here?
--
| May 29, 10:14 pm 2008 |
| Christoph Lameter | [patch 03/41] cpu alloc: Use cpu allocator instead of th ...
Remove the builtin per cpu allocator from modules.c and use cpu_alloc instead.
The patch also removes PERCPU_ENOUGH_ROOM. The size of the cpu_alloc area is
determined by CONFIG_CPU_AREA_SIZE. PERCPU_ENOUGH_ROOMs default was 8k.
CONFIG_CPU_AREA_SIZE defaults to 30k. Thus we have more space to load modules.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/powerpc/kernel/setup_64.c | 5 -
arch/sparc64/kernel/smp.c | 2
arch/x86/kernel/setup.c | 11 +-
...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | Re: [patch 02/41] cpu alloc: The allocator
Was developed on 64bit. As ususal 32 bit was an afterthought.
--
| May 29, 11:16 pm 2008 |
| Christoph Lameter | Re: [patch 02/41] cpu alloc: The allocator
I think cacheline aligning should be sufficient. People should not
allocate large page aligned objects here.
--
| May 29, 10:20 pm 2008 |
| Eric Dumazet | Re: [patch 02/41] cpu alloc: The allocator
Hum, maybe, but then we broke modules that might request up to PAGE_SIZE
alignement for their percpu section,
if I read your 3rd patch correctly.
Taking into account the ((unsigned long)area & (PAGE_SIZE-1)) offset in
cpu_alloc()
should give up to PAGE_SIZE alignment for free.
--
| May 29, 10:54 pm 2008 |
| KAMEZAWA Hiroyuki | Re: [patch 02/41] cpu alloc: The allocator
On Thu, 29 May 2008 22:10:25 -0700 (PDT)
30000 is suitable for both of 32bits/64bits arch ?
Thanks,
-kame
--
| May 29, 10:56 pm 2008 |
| Andrew Morton | Re: [patch 02/41] cpu alloc: The allocator
I think that strengthening bitmap_find_free_region() would end up
urgh. This is a C-convention versus kernel-convention thing. The C
convention exists for very good reasons. But it sure does suck.
What do others think?
--
| May 29, 10:31 pm 2008 |
| Christoph Lameter | Re: [patch 02/41] cpu alloc: The allocator
The cpu alloc has a cpu_bytes field in vmstat that shows how much memory
is being used. 30000 seemed to be reasonable after staring at these
No. The UNIT_TYPE is the basic allocation unit. This returns the number of
We could go to finer or coarser grained someday? Maybe if the area becomes
size_to_units is fairly basic for most of the logic. These are variaables
The scope of the patchset is already fairly large. The search here is
different and not performance critical. Not ...
| May 29, 10:10 pm 2008 |
| Eric Dumazet | Re: [patch 02/41] cpu alloc: The allocator
area[] is not guaranteed to be aligned on anything but 4 bytes.
If someone then needs to call cpu_alloc(8, GFP_KERNEL, 8), it might get
an non aligned result.
Either you should add an __attribute__((__aligned__(PAGE_SIZE))),
or take into account the real address of area[] in cpu_alloc() to avoid
waste of up to PAGE_SIZE bytes
--
| May 29, 10:04 pm 2008 |
| Rusty Russell | Re: [patch 02/41] cpu alloc: The allocator
I vaguely recall there were issues with this in the module code. They might
be gone now, but failing to meet alignment contraints without a big warning
would suck.
But modifying your code to consider the actual alignment is actually pretty
trivial, AFAICT.
Cheers,
Rusty.
--
| May 29, 10:52 pm 2008 |
| Andrew Morton | Re: [patch 02/41] cpu alloc: The allocator
strange choice of a default? I guess it makes it clear that there's no
Perhaps it should return UNIT_TYPE? (ugh).
This is kinda bitmap_find_free_region(), only bitmap_find_free_region()
isn't quite strong enough.
Generally I think it would have been better if you had added new
primitives to the bitmap library (or enhanced existing ones) and used
If this assertion triggers for someone, you'll wish like hell that it
eek, a major interface function which is ALL IN ...
| May 29, 9:58 pm 2008 |
| Rusty Russell | Re: [patch 02/41] cpu alloc: The allocator
Allocator seems nice and simple, similar to existing one in module.c (which
predates cool bitmap operators).
Being able to do per-cpu allocations in an interrupt handler seems like
enouraging a Bad Idea though: I'd be tempted to avoid the flags word, always
zero, and use a mutex instead of a spinlock.
Cheers,
--
| May 29, 10:46 pm 2008 |
| Christoph Lameter | [patch 02/41] cpu alloc: The allocator
The per cpu allocator allows dynamic allocation of memory on all
processors simultaneously. A bitmap is used to track used areas.
The allocator implements tight packing to reduce the cache footprint
and increase speed since cacheline contention is typically not a concern
for memory mainly used by a single cpu. Small objects will fill up gaps
left by larger allocations that required alignments.
The size of the cpu_alloc area can be changed via make menuconfig.
Signed-off-by: Christoph Lameter ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 07/41] cpu alloc: Workqueue conversion
Convert the workqueue waitqueue handling to cpu alloc.
The second parameter to wq_per_cpu() is always the current processor
id. So drop the parameter and use THIS_CPU in wq_per_cpu that we rename
to wq_this_cpu.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
kernel/workqueue.c | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
Index: linux-2.6/kernel/workqueue.c
===================================================================
--- ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | Re: [patch 05/41] cpu alloc: Percpu_counter conversion
It drastically reduces the memory size f.e. 4 byte allocations require
SLAB f.e. to allocate a 32 byte chunk. This reduces memory requirements by
32/4 = 8 times.
Plus the per cpu counters allocated in order are likely placed in the same
cacheline (whereas the slab allocators avoid placing multiple objects in
the same cacheline). Reduces cache footprint.
--
| May 30, 10:54 am 2008 |
| Rusty Russell | Re: [patch 05/41] cpu alloc: Percpu_counter conversion
These patches seem like useless churn.
Plus, the new code is uglier than the old code :(
Rusty.
--
| May 29, 11:47 pm 2008 |
| Christoph Lameter | [patch 05/41] cpu alloc: Percpu_counter conversion
Use cpu_alloc instead of allocpercpu.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
lib/percpu_counter.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Index: linux-2.6/lib/percpu_counter.c
===================================================================
--- linux-2.6.orig/lib/percpu_counter.c 2008-05-28 17:56:17.000000000 -0700
+++ linux-2.6/lib/percpu_counter.c 2008-05-28 18:30:25.000000000 -0700
@@ -20,7 +20,7 @@
spin_lock(&fbc->lock);
...
| May 29, 8:56 pm 2008 |
| Andrew Morton | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
No it doesn't. Look:
static inline void local_inc(local_t *l)
{
asm volatile(_ASM_INC "%0"
: "+m" (l->a.counter));
Well that should be fixed. We should never have mixed the
alloc_percpu() and DEFINE_PER_CPU things inthe same header. They're
different.
otoh as you propose removing the old alloc_percpu() I guess the end
result is no worse than what we presently have.
--
| May 29, 10:38 pm 2008 |
| Christoph Lameter | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
No its not! In order to increment a per cpu value you need to calculate
the per cpu pointer address in the current per cpu segment. local_t
cannot do that in an atomic (wrt interrupt/preempt fashion) fashion. cpu
ops can use a segment prefix and thus the insructions can calculate the
per cpu adress and perform the atomic inc without disabling preempt or
interrupts.
local_t is only useful when you disable interrupt or premption otherwise.
With cpu_alloc they are the same. They allocate ...
| May 29, 11:12 pm 2008 |
| Rusty Russell | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
No, the worst thing is that this is a great deal of churn which doesn't
actually fix the "running out of per-cpu memory" problem.
It can, and should, be fixed, before changing dynamic percpu alloc to use the
same percpu pool.
Rusty.
--
| May 30, 12:05 am 2008 |
| Christoph Lameter | [patch 04/41] cpu ops: Core piece for generic atomic per ...
Currently the per cpu subsystem is not able to use the atomic capabilities
that are provided by many of the available processors.
This patch adds new functionality that allows the optimizing of per cpu
variable handling. In particular it provides a simple way to exploit
atomic operations in order to avoid having to disable interrupts or
performing address calculation to access per cpu data.
F.e. Using our current methods we may do
unsigned long flags;
struct stat_struct ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
No local_t does not do the relocation of the address to the correct percpu
area. It requies disabling of interrupts etc. Its not atomic (wrt
Well this stuff is so large in scope that I have difficulties keeping
But then its related to percpu operations and relies extensively on the
various percpu.h files in asm-generic and asm-arch and include/linux
--
| May 29, 10:17 pm 2008 |
| Rusty Russell | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
Yes, but this is local_t for dynamically allocated per-cpu vars. You've lost
potential symmetry and invented a whole new nomenclature :(
local_ptr_inc() etc would be far preferable IMHO.
Cheers,
Rusty.
--
| May 29, 11:32 pm 2008 |
| Christoph Lameter | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
There is no doubt that local_t does perform an atomic vs. interrupt inc
for example. But its not usable. Because you need to determine the address
of the local_t belonging to the current processor first. As soon as you
have loaded a processor specific address you can no longer be preempted
because that may change the processor and then the wrong address may be
increment (and then we have a race again since now we are incrementing
counters belonging to other processors). So local_t at ...
| May 30, 11:00 am 2008 |
| Rusty Russell | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
Christoph, you just missed it, that's all. Look at cpu_local_read et al in
include/asm-i386/local.h (ie. before the x86 mergers chose the lowest common
denominator one).
Cheers,
Rusty.
--
| May 30, 12:08 am 2008 |
| Andrew Morton | Re: [patch 04/41] cpu ops: Core piece for generic atomic ...
hm, I guess this _has_ to be implemented as a macro. ho hum. But
Your terminology is totally confusing here.
To me, an "atomic operation" is one which is atomic wrt other CPUs:
atomic_t, for example.
Here we're talking about atomic-wrt-this-cpu-only, yes?
If so, we should invent a new term for that different concept and stick
to it like glue. How about "self-atomic"? Or "locally-atomic" in
And alpha, m32r, mips and powerpc, methinks. Probably others, but
I think I'll need to ...
| May 29, 9:58 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
cpu alloc v2 had an extendable per cpu space. You have the patches. We
could put this on top of this patchset if necessary. But then it not so
nice and simple anymore. Maybe we can rstrict the use of cpu alloc
instead to users with objects < cache_line_size() or so?
--
| May 30, 10:50 am 2008 |
| Andrew Morton | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
All seems reasonable to me. The obvious question is "how do we size
the arena". We either waste memory or, much worse, run out.
And running out is a real possibility, I think. Most people will only
mount a handful of XFS filesystems. But some customer will come along
who wants to mount 5,000, and distributors will need to cater for that,
but how can they?
I wonder if we can arrange for the default to be overridden via a
kernel boot option?
Another obvious question is "how much of a ...
| May 29, 9:58 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
We can always increase the sizes.
--
| May 29, 11:22 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Right but it needs to have its own section of the percpu space from which
it allocates the percpu segments for the modules. So it effectively
Well V2 virtually mapped the cpu alloc area which allowed extending it
arbitrarily. But that made things very complicated.
The number of per cpu resources needed is mostly fixed. The number of
zones, nodes, slab caches, network interfaces etc etc does not change much
during typical operations.
--
| May 29, 11:16 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
The per cpu memory use by subsystems is typically quite small. We already
have an 8k limitation for percpu space for modules. And that does not seem
But then per cpu data is not frequently allocated and freed.
Going away from allocpercpu saves a lot of memory. We could make this
128k or so to be safe?
--
| May 29, 10:03 pm 2008 |
| Matthew Wilcox | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Another example, not as extreme, there's an alloc_percpu(struct
disk_stats) [80 bytes on 64-bit machines] for every disk and every
partition in the machine. The TPC system has 3000 disks, each with 14
partitions on it. That's 15 * 80 * 3000 = 3,600,000 bytes.
Even if you're only putting a pointer to each allocation in the percpu
area, that's still 360,000 bytes, 12x as much as you think is sufficient
for the entire system.
--
Intel are signing my paycheques ... these opinions are still ...
| May 30, 4:32 am 2008 |
| Andrew Morton | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
It could be 4000. The present alloc_percpu() would support that.
And struct nfs_iostats is 264 bytes and nfs does an alloc_percpu() of
one of those per server and mounting thousands of servers per client
is, I believe, a real-world operation.
Plus for the entyenth time: saying that this code will probably work
acceptably for most people in 2.6.26 is not sufficient!
--
| May 29, 11:37 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
No. The module subsystem has its own alloc_percpu subsystem that the
But its going to be even more complicated and I have a hard time managing
No there is no limit. It just wastes lots of space (pointer arrays,
alignment etc) that we could use to configure sufficiently large per cpu
areas.
--
| May 29, 10:27 pm 2008 |
| Eric Dumazet | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Last time I took a look on this stuff, this was a percpu allocation for
all connections, not for each TCP session.
(It should be static, instead of dynamic )
Really, percpu allocations are currently not frequent at all.
vmalloc()/vfreee() are way more frequent and still use a list.
--
| May 29, 11:01 pm 2008 |
| Mike Travis | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Is there any reason why the per_cpu area couldn't be made extensible? Maybe
a simple linked list of available areas? (And use a config variable and/or
boot param for initial size and increment size?) [Ignoring the problem of
reclaiming the space...]
--
| May 30, 7:38 am 2008 |
| KAMEZAWA Hiroyuki | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
On Thu, 29 May 2008 23:16:11 -0700 (PDT)
Could you add a text to explain "This interface is for wise use of
pre-allocated limited area (see Documentation/xxxx). please use this only
when you need very fast access to per-cpu object and you can estimate the amount
which you finally need. If unsure, please use generic allocator."
for the moment ?
At first look, I thought of using this in memory-resource-controller but it seems
I shouldn't do so because thousands of cgroup can be used in ...
| May 29, 11:51 pm 2008 |
| Christoph Lameter | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Ok guess we need to bring the virtually mapped per cpu patches forward.
--
| May 30, 11:12 am 2008 |
| Matthew Wilcox | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Restricting the use of cpu_alloc based on size of object is no good when
you're trying to allocate 45,000 objects. Extending the per CPU space
is the only option.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| May 30, 11:00 am 2008 |
| Andrew Morton | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Sure it's hard to conceive how anyone could go and do a per-cpu
allocation on a fastpath.
But this has nothing to do with the frequency! The problems surround
the _amount_ of allocated memory and the allocation/freeing patterns.
Here's another example. And it's only an example! Generalise!
ext3 maintains three percpu_counters per mount. Each percpu_counter
does one percpu_alloc. People can mount an arbitrary number of ext3
filesystems!
Another: there are two percpu_counters (and ...
| May 29, 11:16 pm 2008 |
| Andrew Morton | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
Christoph, please. An allocator which is of fixed size and which is
vulnerable to internal fragmentation is a huge problem! The kernel is
subject to wildly varying workloads both between different users and in
the hands of a single user.
If we were to merge all this code and then run into the problems which
I fear then we are tremendously screwed. We must examine this
exhaustively, in the most paranoid fashion.
--
| May 29, 10:49 pm 2008 |
| Andrew Morton | Re: [patch 00/41] cpu alloc / cpu ops v3: Optimize per c ...
It was just an example. There will be others.
tcp_v4_md5_do_add
->tcp_alloc_md5sig_pool
->__tcp_alloc_md5sig_pool
does an alloc_percpu for each md5-capable TCP connection. I think - it
doesn't matter really, because something _could_. And if something
I think it is, in the TCP case. And that's the only one I looked at.
("alloc_percpu" - please be careful about getting this stuff right)
I don't think there is presently any upper limit on alloc_percpu()? It
uses ...
| May 29, 10:21 pm 2008 |
| Christoph Lameter | [patch 00/41] cpu alloc / cpu ops v3: Optimize per cpu access
In various places the kernel maintains arrays of pointers indexed by
processor numbers. These are used to locate objects that need to be used
when executing on a specirfic processor. Both the slab allocator
and the page allocator use these arrays and there the arrays are used in
performance critical code. The allocpercpu functionality is a simple
allocator to provide these arrays. However, there are certain drawbacks
in using such arrays:
1. The arrays become huge for large systems and may be ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 06/41] cpu alloc: crash_notes conversion
Convert crash_notes access to use cpu alloc.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
arch/ia64/kernel/crash.c | 2 +-
drivers/base/cpu.c | 2 +-
kernel/kexec.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
Index: linux-2.6/arch/ia64/kernel/crash.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/crash.c 2008-05-28 17:25:23.000000000 -0700
+++ ...
| May 29, 8:56 pm 2008 |
| Christoph Lameter | [patch 01/41] cpu_alloc: Increase percpu area size to 128k
The per cpu allocator requires more per cpu space and we are already near
the limit on IA64. Increase the maximum size of the IA64 per cpu area from
64K to 128K.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
---
include/asm-ia64/page.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/include/asm-ia64/page.h
===================================================================
--- linux-2.6.orig/include/asm-ia64/page.h 2008-05-29 12:10:42.216486476 -0700
+++ ...
| May 29, 8:56 pm 2008 |
| S K | Re: Problem activating multiple cores ONLY if I press an ...
Linus Walleij, Yes, I know there are config files in the kernel
source/rpm! What I don't know is, whethere it's only one config file?
What is/are the name(s) of the config file(s)? I want also to make
sure I don't edit any auto generated config file.
Robert, Yes, it's a USB keyboard. You could be right. I want to pin
point the cause though.
Thanks,
SK
--
| May 29, 9:33 pm 2008 |
| Robert Hancock | Re: Problem activating multiple cores ONLY if I press an ...
Is this a USB keyboard? Might be that pressing keys before the kernel
does the USB handoff from BIOS/SMI causes the BIOS to do something that
screws things up..
--
| May 29, 8:37 pm 2008 |
| Harvey Harrison | [PATCH] jffs2: add sparse annotations for the erase_comp ...
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
fs/jffs2/gc.c | 2 ++
fs/jffs2/nodemgmt.c | 4 ++++
fs/jffs2/summary.c | 2 ++
3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c
index 090c556..6312a67 100644
--- a/fs/jffs2/gc.c
+++ b/fs/jffs2/gc.c
@@ -39,6 +39,8 @@ static int jffs2_garbage_collect_live(struct jffs2_sb_info *c, struct jffs2_era
/* Called with erase_completion_lock held */
static struct ...
| May 29, 6:47 pm 2008 |
| KAMEZAWA Hiroyuki | [RFC][PATCH 0/2] memcg: simple hierarchy (v2)
This is rewritten version of memcg hierarchy handling.
...and I'm sorry tons of typos in v1.
Changelog:
- fixed typo.
- removed meaningless params (borrow)
- renamed structure members.
not-for-test. just for discussion. (I'll rewrite when our direction is fixed.)
Implemented Policy:
- parent overcommits all children
parent->usage = resource used by itself + resource moved to children.
Of course, parent->limit > parent->usage.
- when child's limit is set, the ...
| May 29, 6:43 pm 2008 |
| Balbir Singh | Re: [RFC][PATCH 1/2] memcg: res_counter hierarchy
I am not sure if this is desirable. The concept of a hierarchy applies really
The problem with this is that you are forcing the parent will run into a reclaim
Sharing is an important aspect of hierachies. I am not convinced of this
approach. Did you look at the patches I sent out? Was there something
fundamentally broken in them?
[snip]
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
| May 30, 3:20 pm 2008 |
| Rik van Riel | Re: [RFC][PATCH 0/2] memcg: simple hierarchy (v2)
On Fri, 30 May 2008 10:43:12 +0900
I like this idea. The alternative could mean having a page live
on multiple cgroup LRU lists, not just the zone LRU and the one
cgroup LRU, and drastically increasing run time overhead.
Swapping memory in and out is horrendously slow anyway, so the
idea of having a daemon adjust the limits on the fly should work
just fine.
--
All rights reversed.
--
| May 29, 6:46 pm 2008 |
| KAMEZAWA Hiroyuki | [RFC][PATCH 2/2] memcg: memcg hierarchy
hierarchy support for memcg.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
---
mm/memcontrol.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 89 insertions(+), 1 deletion(-)
Index: hie-2.6.26-rc2-mm1/mm/memcontrol.c
===================================================================
--- hie-2.6.26-rc2-mm1.orig/mm/memcontrol.c
+++ hie-2.6.26-rc2-mm1/mm/memcontrol.c
@@ -792,6 +792,78 @@ int mem_cgroup_shrink_usage(struct mm_st
}
...
| May 29, 6:46 pm 2008 |
| KAMEZAWA Hiroyuki | [RFC][PATCH 1/2] memcg: res_counter hierarchy
This patch tries to implements _simple_ 'hierarchy policy' in res_counter.
While several policy of hierarchy can be considered, this patch implements
simple one
- the parent includes, over-commits the child
- there are no shared resource
- dynamic hierarchy resource usage management in the kernel is not necessary
works as following.
1. create a child. set default child limits to be 0.
2. set limit to child.
2-a. before setting limit to child, prepare enough room in ...
| May 29, 6:45 pm 2008 |
| Harvey Harrison | [PATCH] gfs2: trivial sparse lock annotations
Annotate the &sdp->sd_log_lock.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
fs/gfs2/log.c | 2 ++
fs/gfs2/log.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 548264b..6c6af9f 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -87,6 +87,8 @@ void gfs2_remove_from_ail(struct gfs2_bufdata *bd)
*/
static void gfs2_ail1_start_one(struct gfs2_sbd *sdp, struct gfs2_ail ...
| May 29, 6:27 pm 2008 |
| Steven Whitehouse | Re: [PATCH] gfs2: trivial sparse lock annotations
Hi,
Now in the GFS2 -nmw git tree. Thanks,
Steve.
--
| May 30, 2:27 am 2008 |
| Bertram Felgenhauer | [PATCH] x86: Add workaround for bug in ASUS A7V600 BIOS ...
This BIOS claims the VIA 8237 south bridge to be compatible with VIA 586,
which it is not.
Signed-off-by: Bertram Felgenhauer <int-e@gmx.de>
---
Without this patch, I get the following warning while booting,
among others,
| PCI: Using IRQ router VIA [1106/3227] at 0000:00:11.0
| ------------[ cut here ]------------
| WARNING: at arch/x86/pci/irq.c:265 pirq_via586_get+0x4a/0x60()
| Modules linked in:
| Pid: 1, comm: swapper Not tainted 2.6.26-rc4-00015-g1ec7d99 #1
| [<c0119fd4>] ...
| May 29, 6:20 pm 2008 |
| Bertram Felgenhauer | Re: [PATCH] x86: Add workaround for bug in ASUS A7V600 B ...
No.
The "only" difference between the working 2.6.23.8 kernel and the
non-working one is a switch from gcc 3.4.6 to 4.1.2. I've collected
some information about this issue, comparing the 'working' 2.6.23.8
kernel with a newly compiled, patched one. (The unpatched one compiled
with 4.1.2 fails to boot.) So if anybody is interested, have a look at
http://int-e.home.tlink.de/linux/irq/
But it's probably not worthwhile to spend a lot of time on this.
Bertram
--
| May 30, 4:18 pm 2008 |
| Alan Cox | Re: [PATCH] x86: Add workaround for bug in ASUS A7V600 B ...
On Fri, 30 May 2008 03:20:05 +0200
Looks fine to me
Probably because it has ACPI enabled and is picking ACPI IRQ routing in
preference ?
Alan
--
| May 30, 2:36 am 2008 |
| Harvey Harrison | [PATCH] acpi: fix sparse const errors
In this case we want a constant pointer to constant chars:
drivers/misc/thinkpad_acpi.c:3824:19: error: Just how const do you want this type to be?
Like the error says.
drivers/misc/thinkpad_acpi.c:3863:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3864:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3865:19: error: Just how const do you want this type to be?
drivers/misc/thinkpad_acpi.c:3866:19: error: Just how const do ...
| May 29, 5:51 pm 2008 |
| Henrique de Moraes H ... | Re: [PATCH] acpi: fix sparse const errors
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
| May 29, 8:21 pm 2008 |
| Neil Brown | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
http://lwn.net/Articles/283161/
Barriers
What minimal semantics to Filesystem developers actually want?
What can hardware really provide?
What how can layered mutli-disk devices (md, dm, loop) mediate these?
What interface semantics can we come up with that are sufficiently
general and powerful that everyone will actually implement them
correctly?
However I won't be coming this year, so I won't be able to participate
directly in such a discussion.
NeilBrown
--
| May 29, 5:40 pm 2008 |
| Randy Dunlap | Re: [next-20080529] build error: missing ieee80211_tx_control?
Patch is here: http://marc.info/?l=linux-next&m=121165255717756&w=2
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 29, 9:08 pm 2008 |
| Chris Frey | [next-20080529] build error: function: i8042_platform_init
Hi,
I haven't seen this on the list yet.
CC drivers/input/serio/serio.o
CC drivers/input/serio/i8042.o
In file included from drivers/input/serio/i8042.h:28,
from drivers/input/serio/i8042.c:85:
drivers/input/serio/i8042-x86ia64io.h: In function 'i8042_platform_init':
drivers/input/serio/i8042-x86ia64io.h:590: error: 'i8042_nopnp' undeclared (first use in this function)
drivers/input/serio/i8042-x86ia64io.h:590: error: (Each undeclared identifier is reported ...
| May 29, 5:15 pm 2008 |
| Randy Dunlap | Re: [next-20080529] build error: function: i8042_platform_init
Please see this thread for patches:
http://lkml.org/lkml/2008/5/29/299
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 29, 7:45 pm 2008 |
| Chris Frey | Re: [next-20080529] build error: missing ieee80211_tx_control?
Thanks. I applied the second patch in that thread, and it gets past
the serio.o module.
I realize this is not related to serio anymore, but now it stops here,
using the same config as in my previous email. This is just a general
build report... I don't expect you to fix it personally. :-)
I can't seem to find ieee80211_tx_control anywhere in the tree, except in
pio.h.
CC drivers/net/wireless/airo.o
CC drivers/net/wireless/b43legacy/main.o
In file included from ...
| May 29, 8:42 pm 2008 |
| Kevin Winchester | [PATCH] x86: fix pointer type warning in arch/x86/mm/ini ...
Changed the call to find_e820_area_size to pass u64 instead of unsigned long.
Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
---
arch/x86/mm/init_64.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 83ab7f9..94f73c2 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -515,7 +515,7 @@ early_param("memtest", parse_memtest);
static void __init early_memtest(unsigned long start, unsigned ...
| May 29, 5:14 pm 2008 |
| Kevin Winchester | Re: [PATCH] x86: fix pointer type warning in arch/x86/mm ...
I was so excited about finally figuring out how to create and send a
patch with git, that I forgot to mention that this was a warning seen in
linux-next, next-20080529.
It was more an experiment in how to send git patches than to "get my
name in the kernel history", with which most experienced developers seem
to think us newbies are only concerned. I keep hearing that testing
trees and fixing warnings and small bugs is the preferred way to make it
into development - so I'm giving it ...
| May 29, 5:33 pm 2008 |
| Michael Halcrow | Re: [PATCH] eCryptfs: Remove unnecessary page decrypt call
I recommend this fix for 2.6.26 and 2.6.25.x.
--
| May 30, 12:14 pm 2008 |
| Eric Sandeen | Re: [PATCH] eCryptfs: Remove unnecessary page decrypt call
IMHO yes... fsx w/ mmap dies quickly ( < 100 ops) without this, and
survives nicely (to millions of ops+) with it in place.
-Eric
--
| May 29, 5:17 pm 2008 |
| Paul Mundt | Re: [2.6 patch] sh/kernel/cpu/irq/intc-sh5.c build fix
Applied, thanks Adrian.
--
| May 29, 8:24 pm 2008 |
| Florian Attenberger | Re: [BUG] Barely understandeable sound with snd_hda_inte ...
^^ is making your pc speaker your default sound device, i guess. Module
is 'snd_pcsp'.
--=20
Florian Attenberger <valdyn@valdyn.org>
| May 29, 10:20 pm 2008 |
| Andres Freund | Re: [Solved][BUG] Barely understandeable sound with snd_ ...
Hi,
On Friday 30 May 2008, Florian Attenberger wrote in "Re: [BUG] Barely=20
Ah. Sorry for not having noticed that myself...
I tried manually reinserting snd_pcsp after snd_hda_intel but obviously hda=
is=20
the first device in this case...
Thanks,
Andres
| May 30, 2:29 am 2008 |
| Greg KH | Re: [GIT PATCH] USB fixes for 2.6.26-rc4
Ok, will go do so.
thanks,
greg k-h
--
| May 29, 7:42 pm 2008 |
| Leonid | Re: [GIT PATCH] USB fixes for 2.6.26-rc4
Hi Alan,
Not to be overly pedantic, but you weren't so wrong to be confused on
the issue of "regression". Here's the scoop:
1) Kernel versions <= 2.6.24: latency of 2/6/2/6/... uframes pattern
observed between packets on the bus for nVIDIA HCs.
2) Kernel versions >= 2.6.26: latency of 8/8/8/8/... uframes pattern
observed between packets on the bus for nVIDIA HCs.
3) Post-patch: latency of 1/1/1/1/... uframes on all kernels versions
and all HC chipsets.
So basically there was a ...
| May 30, 10:45 am 2008 |
| Greg KH | Re: [GIT PATCH] USB fixes for 2.6.26-rc4
Linus, I've now reverted one of the usb patches in this tree and pushed
it out, so the new diffstat is as follows:
drivers/usb/core/generic.c | 5 -
drivers/usb/core/hcd.h | 2 +
drivers/usb/core/hub.c | 15 ++-
drivers/usb/core/quirks.c | 4 +
drivers/usb/core/sysfs.c | 44 +++---
drivers/usb/gadget/fsl_usb2_udc.c | 2 +
drivers/usb/host/ehci-au1xxx.c | 1 +
drivers/usb/host/ehci-fsl.c | 7 +-
...
| May 29, 7:46 pm 2008 |
| Alan Stern | Re: [GIT PATCH] USB fixes for 2.6.26-rc4
The notion that this was a regression came about by mistake. It was
stated that 2.6.24 worked better than 2.6.25; apparently that remark
Given that the issues are not yet resolved among the developers, I
think reverting the patch for now is the best course.
Alan Stern
--
| May 29, 6:44 pm 2008 |
| Leonid | Re: [GIT PATCH] USB fixes for 2.6.26-rc4
Hi Dave,
Sure, I somewhat understand your concerns about the timeout change,
but we responded to an email form you over a week ago and never
received a reply regarding our viewpoint. It was sent to your
personal email address as well as to the public linux-usb list.
Please refer to the email titled "[PATCH 5/5] EHCI: fix performance
regression" dated Wed, May 21, 2008 at 12:02 PM. In that email, we
state that it doesn't make sense to reduce the timeout to 3ms and we
still don't have a full ...
| May 29, 5:15 pm 2008 |
| Roel | Re: whomto.pl -- finding out whom to send patches to
Based on Linus' script to get the email address of a maintainer, I wrote
this bash script to get
an indication of relevant lists. Maybe you can make use of the part that
parses the
MAINTAINERS file for relevant lists?
---
git log --since="1 year ago" "$@" | sed -n "s/^ .[-a-z]*by: \(.*\) <.*$/\1/p" |
sort | uniq | sort -n -r | while read -r name; do
sed -n "/^P:[ \t]*.*$name/,/^$/{
s/^L:[ \t]*\(.*\)$/\1/p
}" ./MAINTAINERS
done | sort | uniq -c | ...
| May 30, 2:29 am 2008 |
| Andrea Righi | Re: whomto.pl -- finding out whom to send patches to
Minor fix: do not git-blame /dev/null in patches that add new files.
-Andrea
diff -urpN linux/whomto.orig.pl linux/whomto.pl
--- linux/whomto.orig.pl 2008-05-30 09:43:08.000000000 +0200
+++ linux/whomto.pl 2008-05-30 09:49:26.000000000 +0200
@@ -101,6 +101,7 @@ sub parse_patch {
for (@p) {
if (m/^--- .*?\/([^\s~]*)/) {
+ next if ($1 eq 'dev/null');
$file = $files{$1} = {
chunks => [],
};
--
| May 30, 12:58 am 2008 |
| Andrew Morton | Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest
It is not possible for a reader to learn this from either the kernel
source nor from the changelogs.
Hence...
--
| May 30, 12:04 pm 2008 |
| David Brownell | Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest
Thanks Andrew ... in that case I'm not going to worry
about any "-next" issues for now.
--
| May 29, 9:34 pm 2008 |
| Ingo Molnar | Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest
i asked for that because we had regressions in the past in the form of
please keep the warn-on so that it can be detected automatically. Adding
yet another printk just complicates the automated answer to the "is this
kernel that just booted up fine or not" question.
In fact i'd love to have the analogue to /proc/lockdep_debug's
"debug_locks: 0" output. I.e. the kernel should know it via one central
flag whether any bugs that need human review have been detected so far.
Say ...
| May 30, 3:59 am 2008 |
| Rik van Riel | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
On Fri, 30 May 2008 09:52:48 -0400
I wouldn't call your home system with 4GB RAM "small".
After all, the VM that Linux currently has was developed
mostly on machines with less than 1GB of RAM and later
encrusted in bandaids to make sure the large systems did
not fail too badly.
As for small system performance, I believe that my patch
series should cause no performance regressions on those
systems and has a framework that allows us to improve
performance on those systems too.
If you ...
| May 30, 7:29 am 2008 |
| MinChan Kim | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
I failed to patch Lee's patches over your V9.
barrios@barrios-desktop:~/linux-2.6$ patch -p1 < /tmp/msg0_13.txt
patching file mm/Kconfig
patching file include/linux/page-flags.h
patching file include/linux/mmzone.h
patching file mm/page_alloc.c
patching file include/linux/mm_inline.h
patching file include/linux/swap.h
patching file include/linux/pagevec.h
patching file mm/swap.c
patching file mm/migrate.c
patching file mm/vmscan.c
Hunk #10 FAILED at 1162.
Hunk #11 succeeded at 1210 ...
| May 29, 6:56 pm 2008 |
| KOSAKI Motohiro | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
Note:
On fujitsu server(IA64 8CPU 8GB), this patch series works well 48+ hours too :)
--
| May 30, 2:27 am 2008 |
| Rik van Riel | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
On Fri, 30 May 2008 10:36:05 -0400
Your normal workload.
I am doing some IO throughput, swap throughput and database tests,
however those are probably not representative of what YOU throw at
the VM.
There are no VM benchmarks that cover everything, so what is needed
most at this point is real world exposure. I cannot promise that
the code is perfect; all I can promise is that I will try to fix
any performance issue that people find.
--
All rights reversed.
--
| May 30, 8:27 am 2008 |
| John Stoffel | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
>>>>> "Rik" == Rik van Riel <riel@redhat.com> writes:
Rik> On Thu, 29 May 2008 13:16:24 -0700
Rik> If I send you a V9 up to patch 12, you can apply Lee's patches
Rik> straight over my V9 :)
I haven't seen any performance numbers talking about how well this
stuff works on single or dual CPU machines with smaller amounts of
memory, or whether it's worth using on these machines at all?
The big machines with lots of memory and lots of CPUs are certainly
becoming more prevalent, but for my ...
| May 30, 6:52 am 2008 |
| John Stoffel | Re: [PATCH 00/25] Vm Pageout Scalability Improvements (V ...
Rik> On Fri, 30 May 2008 09:52:48 -0400
Rik> I wouldn't call your home system with 4GB RAM "small".
*grin* me either in some ways. But my other main linux box, which
acts as an NFS server has 2Gb of RAM, but a pair of PIII Xeons at
550mhz. This is the box I'd be worried about in some ways, since it
handles a bunch of stuff like backups, mysql, apache, NFS server,
etc.
Rik> After all, the VM that Linux currently has was developed mostly
Rik> on machines with less than 1GB of RAM and ...
| May 30, 7:36 am 2008 |
| Paul Jackson | Re: [PATCH] sched: Give cpusets exclusive control over s ...
Ah - ok - I got that reply, and then lost track of it. My bad.
This doesn't make sense to me. We don't just decree that we aren't
planning on supporting something that's already out there and being
used, and then remove it, on the grounds we aren't supporting it.
I don't plan for removing it yet, because I haven't seen a good
Not yet.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson ...
| May 29, 11:52 pm 2008 |
| Paul Jackson | Re: [PATCH] sched: Give cpusets exclusive control over s ...
Reference? Did it remove the boot parameter isolcpus= ?
My concern is removing user visible features, without
good reason and careful consideration and some planning.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 29, 5:12 pm 2008 |
| Paul Jackson | Re: [PATCH] sched: Move cpu masks from kernel/sched.c in ...
Ah - that's what I missed. You're right.
I withdraw this objection.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 29, 9:10 pm 2008 |
| Max Krasnyansky | Re: [PATCH] sched: Give cpusets exclusive control over s ...
Yes it removed boot param. I cannot seem to come up with the right search
I understand. How would you plan for this ?
----
Did you get a chance to look at patch that addresses hotplug/domain issues ?
Max
--
| May 29, 9:24 pm 2008 |
| Max Krasnyansky | Re: [PATCH] sched: Move cpu masks from kernel/sched.c in ...
All the code is ifdefed under CONFIG_SMP. So there is no code in the !SMP
case, just three masks. When you mentioned it first time I went back and
rebuilt the !SMP kernel with and without the patch. Luckily I have a
ridiculously fast 8way box here so I went ahead and verified it again.
Before:
size vmlinux
text data bss dec hex filename
3305622 306420 310352 3922393 3bd9d9 vmlinux
size kernel/cpu.o
size: 'kernel/cpu.o': No such file
After:
size vmlinux
...
| May 29, 9:08 pm 2008 |
| Akinobu Mita | Re: [PATCH] edd: fix error paths in module_init
yep, the patch must fix this bug.
--
| May 30, 7:02 am 2008 |
| Philipp Marek | Re: [patch] removes casting of (void*) private structure ...
Hello Sam,
Possibly mine didn't ... I'm getting some build errors related to static
variables being initialized via htonl(), but I did a compile run with this
patch.
I think I used a clean kernel for testing - but maybe I was in the tree
where I tested converting some "unsigned long priv;" to "void*", looking
If I do a patch for them, can that be a trivial patch, or should I send
each type conversion to the maintainer?
Regards,
Phil
--
| May 29, 9:37 pm 2008 |
| Jeff Garzik | Re: [RFC PATCH] libata-sff: Fix oops reported in kernelo ...
ACK
If no further comments, I'm OK with this version...
--
| May 30, 3:14 pm 2008 |
| Tarkan Erimer | Re: 2.6.25.4-rt4
Hi,
I just downloaded and tried to compile it. But I got the following error
message at compile stage. I use Kubuntu-8.04 with linux-2.6.25.4-rt3
without problems.
kernel/sched.c: In function 'sched_init':
kernel/sched.c:7677: error: implicit declaration of function
'global_rt_runtime'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
make: *** [debian/stamp-build-kernel] Error 2
--
| May 30, 12:37 am 2008 |
| Rusty Russell | Re: [Patch/RFC]: check CONFIG_GENERIC_HARDIRQS for reque ...
OK, my plan was to at least allow the hook of notifiers in hvc_console, rather
than relying on interrupts or nothing. Then expose "use interrupt to notify"
and "use a backoff timer to notify" helpers and let the caller hook one up.
But it was a vague plan which may become unrecognisable when meeting
reality...
Cheers,
Rusty.
--
| May 29, 8:36 pm 2008 |
| Tejun Heo | Re: 2.6.25: sata_sil freezes, hard resets port.
Hello, cc'ing linux-ide@vger.kernel.org
ATA drives are supposed to wake up from standby on command issue and
from sleep on reset. Does the drive spin up while sata_sil is trying
to reset the port? Also, please post the result of 'hdparm -I
/dev/sdX' where sdX is the offending drive.
Thanks.
--
tejun
--
| May 29, 10:15 pm 2008 |
| Dmitri Vorobiev | Re: [PATCH 5/5] [MIPS] The tickcount per-cpu variable ca ...
Ouch, it seems that this one does not apply to the latest linux-mips
git. I usually base my patches on Linus' tree. Please drop.
Dmitri
--
| May 30, 12:58 am 2008 |
| Tetsuo Handa | Re: [patch 00/15] security: pass path instead of inode t ...
Hello.
Patching these 15 patches fails. I think this is because the 8 patches are missing.
Can I see the 8 patches?
2 out of 4 hunks FAILED -- saving rejects to file include/linux/security.h.rej
2 out of 3 hunks FAILED -- saving rejects to file include/linux/security.h.rej
2 out of 4 hunks FAILED -- saving rejects to file include/linux/security.h.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
5 out of 5 hunks ignored -- saving rejects to ...
| May 30, 6:37 am 2008 |
| Miklos Szeredi | Re: [patch 00/15] security: pass path instead of inode t ...
I've now committed those to the vfs-cleanups tree.
Thanks,
Miklos
--
| May 30, 10:17 am 2008 |
| Johannes Weiner | Re: [patch 06/11] showmem: Only walk spanned pages.
Hi,
It interfered with my stupid `remove free swap space display' series
which is not yet completely in mainline (and no more in -mm). I wanted
to wait until it trickled in but I think I will include the remaining
patches into the generic show_mem series and send them out soon,
obsoleting the old series...
Remaining unpatched show_mem()s in mainline are are um, sparc, sh, m32r,
alpha, sparc64 and xtensa.
Hannes
--
| May 29, 11:13 pm 2008 |
| Heiko Carstens | Re: [patch 06/11] showmem: Only walk spanned pages.
Indeed. Removed them. Thanks!
Btw. what's up with your show_mem() cleanup patch series? I thought it
would be merged before 2.6.26 and now it isn't even in -mm?
--
| May 29, 10:50 pm 2008 |
| Jared Hulbert | Re: [BUG] JFFS2 power loss recovery issues in 2.6.25, 2. ...
Does everything work when you unmerge this one commit?
--
| May 30, 12:24 pm 2008 |
| Christoph Hellwig | Re: [patch 4/8] nfsd: rename MAY_ flags
The NFS MAY_ flags operate in the same name and number space and we'd
easily get collisions when someone adds new MAY_ flags which miklos
as well as at least two other independent efforts want to do. To sort
this out we'd either defined the nfsd MAY_ flags in fs.h to make it
obvious we should not double-allocates bits or names, or use a different
name and number space for the nfsd flags. The first would be rather
trivial but also ugly, the seconds sound much better but is a little
more ...
| May 30, 12:36 am 2008 |
| Miklos Szeredi | Re: [patch 4/8] nfsd: rename MAY_ flags
The MAY_* namespace is never mentioned, even though that's the one
most relevant here :)
Miklos
--
| May 30, 2:53 am 2008 |
| Miklos Szeredi | Re: [patch 4/8] nfsd: rename MAY_ flags
Yeah, I wouldn't mind that. Although I'd still define NFSD_MAY_EXEC,
NFSD_MAY_READ and NFSD_MAY_WRITE to be exactly the same as MAY_EXEC,
etc..., and have the translation actually just mask off the rest of
the bits (as it does currently).
These three constants are very much ingrained in the UNIX tradition,
and it's no accident that the MAY_ flags correspond exactly to the
i_mode bits, which is something often exploited by permission checking
code.
Miklos
--
| May 30, 2:07 am 2008 |
| J. Bruce Fields | Re: [patch 4/8] nfsd: rename MAY_ flags
OK by me.
--b.
--
| May 30, 1:12 pm 2008 |
| Christoph Hellwig | Re: [help]How to block new write in a "Thin Provisioning ...
Or use the XFS multiple subvolume support based on that:
http://verein.lst.de/~hch/xfs/xfs-multiple-containers.txt
and yeah, I really need to finish the lose bits up and actually post it.
Hopefully next month.
--
| May 30, 12:31 am 2008 |
| Paul E. McKenney | Re: [PATCH 2/2] on_each_cpu(): kill unused 'retry' parameter
From an RCU viewpoint:
--
| May 30, 4:27 am 2008 |
| Paul E. McKenney | Re: [PATCH 1/10] Add generic helpers for arch IPI functi ...
Looks much improved!!! A few suggestions for header comments, and
there appears to be a leftover memory barrier that should now be
removed. With these changes:
Suggest adding comment to the effect that @wait will be implicitly set
Suggest adding comment to the effect that @wait will be implicitly set
upon memory-allocation failure.
Also, isn't it necessary to call this function with preemption disabled?
Given that all call_function_data structs either get run through
call_rcu() or ...
| May 30, 4:24 am 2008 |
| Jens Axboe | Re: [PATCH 8/10] mips: convert to generic helpers for IP ...
So s/hardware/platform and you are happy?
--
Jens Axboe
--
| May 30, 12:23 am 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Yes, you are correct. My mistake. Sorry.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 29, 6:53 pm 2008 |
| Randy Dunlap | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Uh.. We strongly want non-static functions to be documented via kernel-doc.
For static functions, it's up to the maintainer/developer whether to do that
or not. But if the functions already have kernel-doc, there's no strong
reason to remove it. And these look good currently, so I see no
good reason to change them.
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 29, 8:30 pm 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
So be it ... more kernel-doc comments are good,
static or not.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 30, 9:07 am 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Right you are. Offhand, in kernel/cpuset.c, I see:
static int cpuset_test_cpumask(struct task_struct *tsk,
static void cpuset_change_cpumask(struct task_struct *tsk,
static int update_cpumask(struct cpuset *cs, char *buf)
static void cpuset_do_move_task(struct task_struct *tsk,
static void move_member_tasks_to_cpuset(struct cpuset *from, struct cpuset *to)
all having "/**" header comments. I would be glad to Ack a patch
from you to fix such comments. Thank-you.
-- ...
| May 29, 7:22 pm 2008 |
| Alan Cox | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
And I'll join that by stubbonly NAKing such an approach. We want
consistent clear formats for documentation extraction. Simply getting
people to use the kerneldoc format materially improves the documentation
quality, so please don't set bad examples ;)
Alan
--
| May 30, 2:46 am 2008 |
| Randy Dunlap | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Well, that's some reason for your decision. At least you aren't just being
arbitrary. I agree with Alan, of course. I don't think that you have stated
a Good reason for removing the kernel-doc on the static functions, but it is
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 30, 8:39 am 2008 |
| Miao Xie | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
I check kernel/cpuset.c and find many static functions with "/**" comment.
So I want to remove the special commenting convention for them.
--
| May 29, 7:16 pm 2008 |
| Randy Dunlap | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Well, they won't clutter the generated kernel-doc docbook output unless
you/we/someone requests that both non-static and static functions be listed
a. I looked at those 5 functions. They should be documented, whether
it's done with kernel-doc or some other way. I don't see why there would
be a problem with using kernel-doc instead of something else.
It might need a little tweaking. Basically what is already there says:
"""
!E<filename> is replaced by the documentation, in ...
| May 29, 9:27 pm 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
> And I'll join that by stubbonly NAKing such an approach.
That's good - thanks, Alan.
I'll ack Alan's nak of my ack ;).
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| May 30, 8:22 am 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Ok ... hmmm ... how to say this...
The documentation in Documentation/kernel-doc-nano-HOWTO.txt of
kernel-doc is mostly focused on the details of the apparatus that
converts the "/**" comments into various documenation formats, and has
only somewhat buried and non-inviting documentation for kernel hackers
wanting the "Kernel-Doc for Dummies" summary of how and when and where
to create such "/**" comments.
For example, the distinction you note between:
!E<filename> external ...
| May 29, 10:24 pm 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Well, I get the difference between E (exported) and I (non-exported)
now. And I see that one could prepare documents using SGML templates
that contained one, or the other of these, for any kernel source files
of interest.
I'm stuck on the next step of this decision.
Usually, when I am preparing documens, I know what document I am
preparing and have an idea who is in its audience.
I have never seen or heard of a document using the "/**" kernel-doc
entries of kernel/cpuset.c, and I have ...
| May 29, 11:25 pm 2008 |
| Paul Jackson | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
Ok - thank-you for the explanation.
I had this vague recollection that kernel-doc was just for non-static
functions, so when I saw Miao put kernel-doc comments on a static
routine, I looked around to see if that was normal.
I didn't see mention of static functions in kernel-doc-nano-HOWTO.txt,
and in a brief survey, didn't happen to see any static functions with
kernel-doc comments. However my survey was so brief I even missed five
such functions in the file I maintain, kernel/cpuset.c. ...
| May 29, 8:57 pm 2008 |
| Miao Xie | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
on 2008-5-29 16:16 Paul Jackson wrote:
I think that it is unnecessary to change cpuset_cpus_allowed_locked()'s comment
because it isn't a static function, it is a extern function and it is called by
--
| May 29, 6:51 pm 2008 |
| Randy Dunlap | Re: [RFC] [PATCH 1/2] cpusets: restructure the function ...
You are certainly welcome to add kernel/cpuset.c to kernel-api.tmpl or any other
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 30, 8:32 am 2008 |
| Dave Airlie | Re: in-kernel DRM tree move around....
So assuming I fixed up the kbuild issues, any ideas on when it would
be a good plan to upstream this sorta major movement.
Not many DRM patches don't come via me, and I can fix up the ones that
do before I merge them.
Linus? any ideas on when you would prefer to take a tree like this?
start of rc1?
Dave.
--
| May 29, 11:26 pm 2008 |
| Jesse Barnes | Re: in-kernel DRM tree move around....
Yes please, as soon as the merge window opens. Now if we could just convince
you to host a full kernel tree for DRM development, with a separate,
symlinked BSD dir at the top level, we'd be all set. :)
Jesse
--
| May 30, 9:58 am 2008 |
| Sergei Shtylyov | Re: [PATCH 06/21] ide: checkpatch.pl fixes for ide-timing.h
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
--
| May 30, 4:46 am 2008 |
| Sergei Shtylyov | Re: [PATCH 05/21] ide: remove XFER_* masks from ide-timing.h
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
--
| May 30, 4:46 am 2008 |
| Sergei Shtylyov | Re: [PATCH 04/21] ide: move some bits from ide-timing.h ...
Hello.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
MBR, Sergei
--
| May 30, 4:45 am 2008 |
| Jens Axboe | Re: Pipe buffers' limit of 16 * 4K
I have an old patch that does that, I just looked it up and it was last
updated for 2.6.23. It uses fcntl() with F_SETPIPE_SZ for getting and
setting the pipe size.
Patch updated, the below is the current Linus kernel.
diff --git a/fs/fcntl.c b/fs/fcntl.c
index bfd7765..aea3f5b 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -15,6 +15,7 @@
#include <linux/smp_lock.h>
#include <linux/slab.h>
#include <linux/module.h>
+#include <linux/pipe_fs_i.h>
#include <linux/security.h>
#include ...
| May 30, 3:35 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: nmi - fix incorrect NMI watchdog used b ...
no problem, already fixed in latest -tip :)
Ingo
--
| May 30, 8:09 am 2008 |
| Cyrill Gorcunov | Re: [PATCH] x86: nmi - fix incorrect NMI watchdog used b ...
[Ingo Molnar - Fri, May 30, 2008 at 02:54:00PM +0200]
|
| * Cyrill Gorcunov <gorcunov@gmail.com> wrote:
|
| > +extern void nmi_watchdog_default(void);
| > +#else
| > +#define nmi_watchdog_default(void) do {} while (0)
| ^------
|
| that doesnt work too well in a macro ... :-)
|
| Ingo
|
Oh my.... maybe two prerocessor passes would help? ;-)
here is an updated version, please reapply, and thanks a lot
for catching this Ingo! Sorry for ...
| May 30, 7:44 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: nmi - fix incorrect NMI watchdog used b ...
^------
that doesnt work too well in a macro ... :-)
Ingo
--
| May 30, 5:54 am 2008 |
| Arnaldo Carvalho de Melo | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
While updating the bnx2 driver on a 2.6.24.7 based rpm and after reading
some of your messages...
commit df7f1ed6b85b936a4dd341c48e30aa207697997c
Author: Michael Chan <mchan@broadcom.com>
Date: Tue Jan 29 21:38:06 2008 -0800
[BNX2]: Update firmware.
Update firmware to support programmable flow control.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
After this bnx2.c would be updated to have ...
| May 30, 6:47 am 2008 |
| Matthew Wilcox | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
That would certainly reduce the slideware.
jejb complained that this was going to turn into an unconference.
I didn't really know what that meant, so I looked around on
Wikipedia. It doesn't seem like such a bad idea to me, particularly
some of the more unconventional organising techniques, eg:
http://en.wikipedia.org/wiki/Open_Space_Technology
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us ...
| May 29, 7:20 pm 2008 |
| David Miller | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
I personally don't even like having to choose presentation topics when
I go to conferences. What is interesting for me to talk about usually
is changing righ up to the day or two before I travel to the event.
And I think the same thing applies here.
You can pick some topic now, and by the time we actually get to the
summit those folks might have hashed everything out already.
We should just all show up and discuss in appropriate ...
| May 29, 11:55 pm 2008 |
| Benjamin Herrenschmidt | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
Turn presentations into BOFs ? :-)
Ben
--
| May 29, 6:25 pm 2008 |
| Willy Tarreau | Re: How many contributors are we losing
It depends how we see this. Having a lot of external contributors is
very good, as it implies that more and more people are getting used
to read and modify the code. What would be interesting would be to
check for people who where there on a regular basis then went away,
even though I admit is harder to find out.
Willy
--
| May 30, 1:46 pm 2008 |
| David Woodhouse | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Perhaps we should make depmod also check all MODULE_FIRMWARE() and
complain about missing firmware which might be used? We could make it
(or something else) check for firmwares required by drivers built in to
the kernel, too.
--
dwmw2
--
| May 30, 3:37 am 2008 |
| Stefan Richter | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
A newcomer is motivated to fix a non-trivial bug if his own setup is
seriously affected, no convenient workaround is possible, and it is
clear that nobody else is gong to fix the bug (e.g. because the code is
orphaned).
If you have funds, you may have ways to provide better motivators than this.
--
Stefan Richter
-=====-==--- -=-= ====-
http://arcgraph.de/sr/
--
| May 29, 5:24 pm 2008 |
| H. Peter Anvin | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Obviously. I'm equally obviously referring to klibc, which was designed
so that the resulting vmlinux/bzImage/... file contains the necessary
initramfs, regardless of issues like cross-compilation, draconian size
restrictions(*), and so forth.
-hpa
(*) Not saying that a klibc-based initramfs is necessarily smaller than
the in-kernel code it replaces, but the total size is << than the size
of the kernel proper, which isn't true when using a full-featured libc.
--
| May 30, 4:14 pm 2008 |
| Daniel Walker | Re: [Ksummit-2008-discuss] How many contributors are we losing
I know some of the names on the list which seem valid, but they are
still in the community at large they just aren't sending patches .. I'd
imagine not many of these people are gone from Linux, they're still
involved in some way.
(btw, Greg KH is listed under 2.6.25 .. )
Daniel
--
| May 30, 2:01 pm 2008 |
| Luck, Tony | How many contributors are we losing
I took those cleaned up log files (which run from 2.6.11 to 2.6.22) and
created some new ones (raw, I didn't try to clean them) for 2.6.23, 2.6.24,
2.6.25 and 2.6.26-sofar. Then I skimmed through looking for drive-by
contributors (defined as someone who contributes to just one release and
is then never heard from again).
The summary looks like this:
63 in version 2.6.11 never seen again
148 in version 2.6.12 never seen again
128 in version 2.6.13 never seen again
92 in version 2.6.14 never ...
| May 30, 1:23 pm 2008 |
| Alexandre Oliva | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Unless you actually use the feature added in the first patch of the
series, that enables you to build firmware images into your single
netbootable image, that is ;-)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member ¡Sé Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
--
| May 30, 2:08 pm 2008 |
| Greg KH | Re: How many contributors are we losing
Well, you do know that the distribution of all of our users are:
50% only contributed 1 patch
25% contributed 2
12% contributed 3
6% contributed 4
and so on?
Our curve is leveling out much better now though. For the whole 2.5
release, the top 30 people did over 80% of the work. Now, the top 30
people are doing 30% of the work.
So it is getting much better, as long as we still continue to keep our
massive rate of change[1] that we have going, and huge number of
developers[2], we ...
| May 30, 1:47 pm 2008 |
| Benjamin Herrenschmidt | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
It's a bit hard, as sometimes, the topics will just show up before hand,
or don't necessarily need special invite list when it's purely something
Ok, if something comes to mind I will :-) The only thing at this stage
would possibly be page table walking (ie, some old work I did on
that to generalize the batch interface to all more-than-one-page
operations such as fork, and to get rid of the per-cpu structures, and
that I never fully finished, along with the mmu notifier stuff and
the ...
| May 29, 6:20 pm 2008 |
| Alan Cox | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Well for loaded or packaged firmware it can happen. Just stick a revision
number on the start of the firmware file and check it rather than load it
into the hardware in that specific driver.
Alan
--
| May 30, 2:20 am 2008 |
| Peter Zijlstra | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Its my own convenience I'm serving here. I hardly ever do a local
install. And for the old machines a local build just isn't even an
option.
It's what benh said; I just want a single netbootable image. And cross
buildling initrds is just impossible - which makes the whole solution
useless.
--
| May 30, 2:50 am 2008 |
| H. Peter Anvin | Re: [Ksummit-2008-discuss] How many contributors are we losing
Well, it can be a blessing and it can be a curse. It mostly depends on
if anyone else is willing to take over the maintenance afterwards.
-hpa
--
| May 30, 4:10 pm 2008 |
| Takashi Iwai | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
At Thu, 29 May 2008 14:57:38 -0700,
OTOH, it doesn't give you any error at build time even if you forget
to put a firmware image beforehand. The kernel continues to look for
a non-existing external firmware file. In the old code, this can't
happen.
It's just a small drawback, and I still like the idea very well,
though.
Takashi
--
| May 30, 2:52 am 2008 |
| Hugh Dickins | Re: [Ksummit-2008-discuss] How many contributors are we losing
We've had some great contributions from drive-bys down the years,
and I see that as a gain rather than a loss. I suppose it's a
half-full versus half-empty perception.
Interesting list, but as you admit, yes, there are a lot of false
... anyone know what happened to that guy?
Hugh
--
| May 30, 2:13 pm 2008 |
| Theodore Tso | Re: [Ksummit-2008-discuss] How many contributors are we losing
There's an interesting unspoken assumption here that people who stop
contributing patches which end up in the Linux kernel mailing "no
longer working on the kernel", or "no longer working in Linux", or
"left the community", or (even more of a stretch) people that we have
somehow driven away or that we have failed because they didnt come
back.
Original author of LILO, does networking research using the
Linux kernel. (Has shown up and presented papers at various
Still working at Red ...
| May 30, 3:53 pm 2008 |
| Alan Cox | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
On Thu, 29 May 2008 16:39:48 -0700
Its kind of irrelevant if you need an initrd or not. The only question of
relevance is "does it get built when I type make all". Almost all Linux
users are using initrd without problem - because their distro ensures
"make install" and the packaged kernels do the right thing.
Alan
--
| May 30, 2:31 am 2008 |
| Luck, Tony | RE: [Ksummit-2008-discuss] How many contributors are we losing
Totally agree. If someone finds one bug, sends us a fix and leaves
as a happy customer that is a wonderful thing.
Here's the (much shorter) list of people that contributed to two
consecutive releases and then disappeared. These people made at
least two contributions across a 3+ month period. In most cases
this moves them out of the "drive-by" category.
Probably some of them moved on to do different things (or were
promoted to manage people who still work on Linux).
-Tony
Scanning ...
| May 30, 3:05 pm 2008 |
| Grant Grundler | Re: [Ksummit-2008-discuss] How many contributors are we losing
On Fri, May 30, 2008 at 1:47 PM, Greg KH <greg@kroah.com> wrote:
"contributed" here means a patch was accepted.
This is measuring "attribution", not contribution.
Posting a patch is not trivial and (hopefully) takes a fair
amount of work to prepare for anyone not doing this full
time. I'm not talking about white space changes but
even trivial patches that require some testing.
It would be interesting to scrape the archives of linux-*
and netdev mailing lists to see who is submitting ...
| May 30, 4:37 pm 2008 |
| Benjamin Herrenschmidt | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Us kernel hackers tend to like self-contained netbootable kernels
that have everything needed to boot a machine all the way to a shell
prompt :-)
David's proposal however do provides for storing the firmwares in
the kernel image, so I have no objection there.
Ben.
--
| May 29, 6:27 pm 2008 |
| Benjamin Herrenschmidt | Re: RFC: Moving firmware blobs out of the kernel.
Pretty much on line with others: I like most of what you propose
-except- having the firmwares distributed in a separate git tree. I much
prefer having them still in the main kernel, though distro can choose
not to do so more easily if they are in a separate directory.
Ben.
--
| May 29, 6:22 pm 2008 |
| Jeff Garzik | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
hpa's klibc solution was cross-buildable IIRC.
Jeff
--
| May 30, 6:53 am 2008 |
| Grant Grundler | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
It certainly has changed. Maybe that was before the move to git.
ISTR, Last time I looked at the tg3 firmware, it was on version 1.4 or 1.5.
thanks,
grant
--
| May 30, 11:37 am 2008 |
| David Woodhouse | Re: [Ksummit-2008-discuss] RFC: Moving firmware blobs ou ...
Or append it to the name of the firmware file, in some cases.
--
dwmw2
--
| May 30, 3:38 am 2008 |
| Pavel Machek | Re: [X86] Fix up silly i1586 boot message.
They should, but it is too late for that now.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| May 30, 1:30 pm 2008 |
| tom | Re: [PATCH] libata: Handle bay devices in dock stations
Will this patch or the other bay/dock related patches you send in the
past days allow me to undock my laptop and still be able to
suspend/resume without locking the laptop up? And without having to
run any userspace scripts?
My dock is not a simple port replicator, it has an USB hub and an ATA
bay in it. My tests showed that I need to 'echo 1 >
/sys/.../scsi/.../eject' or something like that before I can take the
laptop out of the docking station. If I don't do that and try to ...
| May 30, 4:07 am 2008 |
| Keld | Re: Performance Characteristics of All Linux RAIDs (mdad ...
On my wishlist to Justin is also what is the performance of the raid10's
in degraded mode.
And then I note that raid1 performs well on random seeks 702/s
while the raid10,f2 (my pet) only performs 520/s - but this is on a
2.6.23 kernel without the seek performance patch for raid10,f2.
I wonder if the random seeks are related to random read (and write) - it
probably is, but there seems to be a difference between the results
found with bonnie++ and my tests as reported on ...
| May 30, 7:23 am 2008 |
| Bill Davidsen | Re: Performance Characteristics of All Linux RAIDs (mdad ...
Other than repeating my (possibly lost) comment that this would be
vastly easier to read if the number were aligned and all had the same
number of decimal places in a single column, good stuff. For sequential
i/o the winners and losers are clear, and you can set cost and
performance to pick the winners. Seems obvious that raid-1 is the loser
for single threaded load, I suspect that it would be poor against other
levels in multithread loads, but not so much for read.
--
Bill Davidsen ...
| May 30, 5:55 am 2008 |
| Bill Davidsen | Re: Performance Characteristics of All Linux RAIDs (mdad ...
IIRC Justin has readahead at 16MB and chunk at 256k. I would think that
if multiple devices were used at all by the md code, that the chunk
rather than stripe size would be the issue. In this case the RA seems
large enough to trigger good behavior, were there are available.
Note: this testing was done with an old(er) kernel, as were all of mine.
Since my one large raid array has become more mission critical I'm not
comfortable playing with new kernels. The fate of big, fast, and stable ...
| May 30, 5:22 am 2008 |
| David Brownell | Re: Latest gpio gumph
[ Re that one avr32 patch: ]
OK, then feel free to strip out the first chunk and just take that.
- Dave
--
| May 29, 8:18 pm 2008 |
| Chuck Lever | Re: NFS oops in 2.6.26rc4
I haven't seen this kind of problem here with .26, but yes, it does
look like something is clobbering memory during an NFS mount.
I introduced some NFS mount parsing changes in this commit range:
2d767432..82d101d5
A quick bisect should show which, if any of these, is the guilty
party. If any of these are the problem, I suspect it's 3f8400d1.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
| May 30, 12:37 pm 2008 |
| Chuck Lever | Re: NFS oops in 2.6.26rc4
Hi Dave-
The last line suggests you are trying this with 4KB kernel stacks. I
have patches queued for .27 that provide some stack relief in this
code path. If you hit this often, you might want to try with 8KB
stacks to see if that helps.
In the meantime, the traceback is a little funky, so I can't see
directly what the root cause is. Can you provide the full command
line of the mount command that caused this? What "brand" of server
were you trying to mount? How often can you ...
| May 30, 10:59 am 2008 |
| Dave Jones | Re: NFS oops in 2.6.26rc4
On Fri, May 30, 2008 at 01:59:12PM -0400, Chuck Lever wrote:
> > When trying to mount an nfs export, I got this oops..
> >
> > BUG: unable to handle kernel paging request at f4569000
> > IP: [<f8daac01>] :sunrpc:xdr_encode_opaque_fixed+0x2d/0x69
> > *pde = 34c23163 *pte = 34569160
> > Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
> > Modules linked in: nfs nfsd lockd nfs_acl auth_rpcgss exportfs sunrpc ext2 sg button via_rhine via_ircc pcspkr r8169 mii pata_sil680 irda crc_ccitt i2c_viapro ...
| May 30, 11:21 am 2008 |
| Dave Jones | Re: NFS oops in 2.6.26rc4
On Fri, May 30, 2008 at 11:31:48AM -0700, Trond Myklebust wrote:
> On Fri, 2008-05-30 at 14:21 -0400, Dave Jones wrote:
>
> > mount point in the fstab is ..
> >
> > gelk:/mnt/data /mnt/nfs/gelk nfs nfsvers=3,tcp 0 0
> >
> > > What "brand" of server were you trying to mount?
> >
> > It's just another linux box. A no-name core2 duo, running 2.6.25.
> >
> > > How often can you reproduce this?
> >
> > Seems to do it every time I ask it to.
>
> ...
| May 30, 12:03 pm 2008 |
| Trond Myklebust | Re: NFS oops in 2.6.26rc4
Could you provide us with a binary tcpdump in that case? I'd love to
have a look at the actual filehandle the server is producing.
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
--
| May 30, 11:31 am 2008 |
| Anton Vorontsov | Re: [PATCH] gpio: fix build errors for drivers not stric ...
This is true, partially. I saw these errors for the drivers using
linux/of_gpio.h, it includes asm/gpio.h, which includes
asm-generic/gpio.h (I submitted of_gpio.h patch before linux/gpio.h work,
though git log might say otherwise). And yes, I should fix of_gpio.h too.
The thing is, I always thought that it is _good_ practice for the nested
headers to declare/define things conditionally by themselves. That way
you'll not have to fix all combinations, everything will (should) just
work. ...
| May 30, 5:06 am 2008 |
| David Brownell | Re: [PATCH] gpio: fix build errors for drivers not stric ...
This looks to me like pure user error ... what was anyone doing
including <asm-generic/gpio.h> in that way? There are a *lot* of
bogus include combinations, and we don't try to "fix" them.
It should suffice to #include <linux/gpio.h> ... that causes the
definition of either (a) stubs in that file, *OR* else (b) the
platform-specific implementation of the GPIO calls, which may
(if that platform chooses) use <asm-generic/gpio.h> utilities.
NAK on this patch.
- dave
--
| May 29, 8:28 pm 2008 |
| Stas Sergeev | Re: [patch][resend] provide rtc_cmos platform device, take 2
Hello.
Certainly, and you've seen it many
times. :)
http://bugzilla.kernel.org/show_bug.cgi?id=7491
Its that the module parameters are overriden
by PNP and are ignored, so you can't do
"dma=none" etc.
Your patch is not for that, AFAICS.
Or let me know if it is.
--
| May 29, 9:12 pm 2008 |
| Bjorn Helgaas | Re: [patch][resend] provide rtc_cmos platform device, take 2
Oh, yeah, that one :-) No, my patch does nothing for that.
I can't remember why it's so hard to fix that bug. Maybe now that
we fixed the *other* reason for using "pnpacpi=off", I can take
another look at it and make some progress. It doesn't *sound* like
it should be hard to fix.
Bjorn
--
| May 30, 8:52 am 2008 |
| Adrian Hunter | Re: UBIFS seekdir()/telldir() issue
Not according to this:
http://www.opengroup.org/onlinepubs/009695399/functions/readdir.html
"If a file is removed from or added to the directory after the
most recent call to opendir() or rewinddir(), whether a
subsequent call to readdir() returns an entry for that file
is unspecified."
--
| May 30, 3:57 am 2008 |
| Ingo Molnar | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
last night i turned off distcc support, and got about 200 successful
bootups and zero TCP hangs (as expected - there's not much TCP traffic
if the distcc cluster is not utilized).
but that's 200 overnight tests instead of the expected 600, so this is a
major and rather crippling bug to me.
There's no good way to detect these hung sockets by me from userspace
and get rid of them. Has anyone before thought of the obvious: to write
a kernel-space "TCP socket watchdog" kernel feature ...
| May 30, 4:09 am 2008 |
| Ilpo Järvinen | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
...It is quite easy to kill a TCP flow with enough information (seqnos
which one could collect e.g., from a tcpdump), just a RST is necessary,
so user-space could do that too.
--
i.
--
| May 30, 2:12 pm 2008 |
| Ingo Molnar | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
ah, in retrospect i realized that this test had one flaw: some of the
systems i the build cluster already ran a newer kernel and hence were
targets for this bug.
so i turned off CONFIG_TCP_CONG_CUBIC on all the testboxes and rebooted
the cluster boxes into 2.6.25, and the hung sockets are now gone. (about
150 successful iterations)
i did another change as well: i removed the localhost distcc component.
I'll reinstate that now to make sure it's really related to
TCP_CONG_CUBIC and ...
| May 30, 11:18 am 2008 |
| Ray Lee | Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+
On Mon, May 26, 2008 at 6:28 AM, Ilpo Järvinen
Okay, but in some sense you've already bisected this somewhat. I'm
assuming that your testing uses the latest tip and is refreshed daily.
If that's the case, then I would (possibly naively) expect the culprit
to show up in a:
git log -p v2.6.26-rc1..78b58e549a3098
net/{compat.c,core,ipv4,netfilter,packet,sched,socket.c}
There are only a few commits in there that appear to touch network behavior:
79d44516b4b178ffb6e2159c75584cfcfc097914
...
| May 30, 9:23 am 2008 |
| Sam Ravnborg | Re: Section mismatch on latest git
My plan in this area is:
- Get my dev box operational again (awaiting spare parts from Intel)
- Get usual configs warning free (or almost warning free)
- Enable the warning in kbuild-next.git right after -rc1
As my dev box is down atm I have prioritized what I conviniently
can do on my mail-box (no defconfig/all*config builds).
Sam
--
| May 30, 12:28 am 2008 |
| Randy Dunlap | Re: Section mismatch on latest git
It certainly has caused me to stop looking for/at them.
More a sin of omission than one of commission.
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 29, 9:38 pm 2008 |
| Bob Copeland | Re: 2.6.26-rc3 - appletouch resume "incomplete data package"
On Mon, May 26, 2008 at 7:06 AM, Johannes Berg
Hmm, well the console switch in suspend may be triggering it, but I
didn't have the issue in 2.6.25 and it seems to be easily repeatable
for me in .26 so far. Doing ctrl-alt-f1 to switch to text mode and
back a dozen times didn't break the mouse, but suspending once did.
I tried a bisect anyway but didn't come up with any smoking gun. Darn.
--
Bob Copeland %% www.bobcopeland.com
--
| May 29, 7:56 pm 2008 |
| Johannes Berg | Re: 2.6.26-rc3 - appletouch resume "incomplete data package"
Oh I didn't say it breaks, the thing is I get this message once a while
without it breaking, while suspend once a while breaks it (but I'm not
Yeah, I tried looking at the code but didn't really find anything
either. There must be something else... The thing is, nothing makes
sense unless there's a bug elsewhere, because it works fine after you
resume broken and reload the module. But reloading the module doesn't
really do anything to the hardware, it only submits a new urb while
resume ...
| May 30, 1:41 am 2008 |
| Oliver Neukum | Re: [PATCH] kaweth: use request_firmware()
We don't put hirarchy policy into drivers.
Regards
Oliver
| May 30, 6:55 am 2008 |
| Hugh Blemings | Re: [PATCH] keyspan: use request_firmware()
On Fri, 30 May 2008 14:45:33 +0300
David Woodhouse <dwmw2@infradead.org> wrote:
[...]
ACK
Seems reasonable to me, though I wouldn't claim to be particularly authoritative on such matters these days :)
Cheers,
Hugh
--
| May 30, 6:54 am 2008 |
| Oliver Neukum | Re: [PATCH] kaweth: use request_firmware()
If that is supposed to be constructed from the driver/file pair,
it is a good idea, but would argue against hardcoding it in the source.
Regards
Oliver
--
| May 30, 2:02 pm 2008 |
| Rusty Russell | Re: [PATCHv2 26/28] firmware: allow firmware files to be ...
Hmm, linux/module.h does this too, perhaps some enthusiast can implement
__concat() and use it everywhere.
Cheers,
Rusty.
--
| May 29, 10:08 pm 2008 |
| Marcel Holtmann | Re: [PATCH] kaweth: use request_firmware()
we tried to not put that policy into the drivers and I was looking
over this, but in the meantime driver slipped past me and made it in.
We should not do this at all and if people wanna have this, then they
should solve this within udev.
Regards
Marcel
--
| May 30, 8:26 am 2008 |
| Alan Cox | Re: [PATCH] kaweth: use request_firmware()
Then you arrived at the party a year too late. The format name/firmware
is commonly used all over the kernel. How that maps to a file or
directory is indeed a matter for udev, but there is already a
heirarchical namespace and pretending otherwise won't help.
Alan
--
| May 30, 8:48 am 2008 |
| David Woodhouse | Re: [PATCH] kaweth: use request_firmware()
Not a strictly accurate observation; we've been doing so for some time.
--
dwmw2
--
| May 30, 8:16 am 2008 |
| David Woodhouse | [PATCH] keyspan: use request_firmware()
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 3df8a66..4a28d91 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -105,6 +105,8 @@
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/spinlock.h>
+#include <linux/firmware.h>
+#include <linux/ihex.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
@@ -1339,13 +1341,13 @@ static void keyspan_close(struct usb_serial_port *port, ...
| May 30, 4:45 am 2008 |
| David Woodhouse | [PATCH] keyspan_pda: use request_firmware()
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
---
drivers/usb/serial/Kconfig | 17 ++++
drivers/usb/serial/keyspan_pda.c | 51 ++++++------
drivers/usb/serial/keyspan_pda_fw.h | 99 -----------------------
drivers/usb/serial/xircom_pgs_fw.h | 103 ------------------------
firmware/Makefile | 2 +
firmware/keyspan_pda/keyspan_pda.fw.ihex | 121 ++++++++++++++++++++++++++++
firmware/keyspan_pda/xircom_pgs.fw.ihex | 127 ...
| May 30, 5:19 am 2008 |
| Jordan Crouse | Re: drivers/watchdog/geodewdt.c: build fix
I think the hamster dropping code is queued for 2.6.27, so at least we're
up to mammals.
The story here is that in an unfortunate instance of bad planning the
MFGPT timers can only be configured once, so a module can't allocate a
timer at init and release it when it is done. The original object of this
code was to try give the timer back to a module if it happened to go away
and come back, but that is clearly a more complex process then just simply
storing the module name, and this code fell ...
| May 30, 9:05 am 2008 |
| Ingo Molnar | [patch] drivers/watchdog/geodewdt.c: build fix
-tip testing found the following build failure on latest -git:
drivers/watchdog/geodewdt.c: In function 'geodewdt_probe':
drivers/watchdog/geodewdt.c:225: error: too many arguments to function 'geode_mfgpt_alloc_timer'
make[1]: *** [drivers/watchdog/geodewdt.o] Error 1
make: *** [drivers/watchdog/geodewdt.o] Error 2
with this config:
http://redhat.com/~mingo/misc/config-Fri_May_30_15_19_52_CEST_2008.bad
find the fix below.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
...
| May 30, 8:02 am 2008 |
| David Brigada | Re: drivers/watchdog/geodewdt.c: build fix
I was trying to compile a kernel with this support, and noticed this
bug, too. The interface was changed in commit
fa28e067c3b8af96c79c060e163b1387c172ae75, with the message:
> We had planned to use the 'owner' field for allowing re-allocation of
> MFGPTs; however, doing it by module owner name isn't flexible enough.
> So, drop this for now. If it turns out that we need timers in
> modules, we'll need to come up with a scheme that matches the
> write-once fields of the MFGPTx_SETUP ...
| May 30, 8:54 am 2008 |
| Jordan Crouse | Re: drivers/watchdog/geodewdt.c: build fix
Agreed, very sub-optimal. For all those prospective silicon vendors out
there, this is a good lesson. Always let your software people review
the specification before you freeze the RTL - it will save you grief in
I expect that this will be the primary usage model - every platform needs to
For the longest time, I thought they were only good as a watchdog or
driving an external output. I had to eat some crow when we figured out
that we could use them as the tick source for tickless, so I ...
| May 30, 9:48 am 2008 |
| Jordan Crouse | Re: drivers/watchdog/geodewdt.c: build fix
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
--
| May 30, 8:39 am 2008 |
| Lennart Sorensen | Re: drivers/watchdog/geodewdt.c: build fix
It is a bit unfortunate that someone decided to design 'configure once'
hardware. What were they thinking?
I run a watchdog using the mfgpt, and I simply tore out the code that
prevents reuse of the timers, and I decided which timers I am going to
use for which purpose and never reuse them for anything else, so the
parts of the configuration in the hardware that is fixed isn't an issue
then. I start the watchdog from grub, so I had to override the check
They are useful timers, but yes ...
| May 30, 9:24 am 2008 |
| Nadia Derbey | Re: [PATCH 4/4] ipc/sem.c: rewrite undo list locking
Reviewed-by: Nadia Derbey <Nadia.Derbey@bull.net>
Why are we locking the sem_undo_list: in the lookup, we are traversing
Oh, I'm realizing that we should leave the routine with an rcu_read_lock?
Regards,
Nadia
--
| May 30, 2:04 am 2008 |
| Mimi Zohar | Re: [RFC][Patch 5/5]integrity: IMA as an integrity servi ...
No, no. Initially, that's what I thought. I finally found
file_update_time() calls inode_inc_iversion(), which updates
the i_version. So, it does work. The question is whether
--
| May 29, 6:58 pm 2008 |
| Andrew Morton | Re: [RFC][Patch 5/5]integrity: IMA as an integrity servi ...
OK.
Before 2.6.17 it wouldn't have worked much at all on MAP_SHARED
modifications.
After 2.6.17 things will be better - we update the mtime on the
clean->dirty transitions of a page. So the first modification after an
mmap will update the time.
Subsequent modifications via the mmap will not update the file time.
Until something (usually pdflush) writes the page out. Then the next
modification via mmap will cause another clean->dirty transition on the
page, hence another mtime ...
| May 29, 7:04 pm 2008 |
| Mimi Zohar | Re: [RFC][Patch 5/5]integrity: IMA as an integrity servi ...
Yes, during the initcalls. Is this possible even when using
late_initcall(). IMA is dependent on the TPM being available,
if it is being used.
Mimi
--
| May 30, 6:06 am 2008 |
| Jeremy Fitzhardinge | Re: [bisected] Re: [PATCH 05 of 12] xen: add p2m mfn_list_list
Yes, yesterday I posted some patches to do exactly that.
J
--
| May 30, 1:04 am 2008 |
| Gerd Hoffmann | Re: [bisected] Re: [PATCH 05 of 12] xen: add p2m mfn_list_list
Have a define like this for them all?
#define page_aligned \
__attribute__((aligned(4096))) \
__attribute__((__section__ (".bss.page_aligned")))
cheers,
Gerd
--
http://kraxel.fedorapeople.org/xenner/
--
| May 30, 12:40 am 2008 |
| Randy Dunlap | Re: [PATCH] xen: fix compilation when CONFIG_PM_SLEEP is ...
---
~Randy
"He closes his eyes and drops the goggles. You can't get hurt
by looking at a bitmap. Or can you?"
--
| May 29, 5:24 pm 2008 |
| Mike Frysinger | Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB
will you post a patch to do that (and ideally delete all of the
occurrences in asm-*/ where the minalign is defined to 8) ?
-mike
--
| May 29, 9:18 pm 2008 |
| Roland McGrath | Re: [RFC PATCH] set TASK_TRACED before arch_ptrace code ...
I'd say the first thing to do is understand the sequence of ptrace calls,
wait results seen by the ptracer, and the ptrace_stop() path, in your test
case. Compare that on x86 and ia64, where the behavior you see differs.
When you pinpoint the difference in that sequence, we will have some sense
of what it is that really matters to your test.
Thanks,
Roland
--
| May 30, 1:05 am 2008 |
| Srivatsa Vaddagiri | Re: fair group scheduler not so fair?
Just tested this combo for !group case:
1 nice0 (weight = 1024)
2 nice3 (each weight = 526)
3 nice5 (each weight = 335)
You'd expect nice0 to get (on a 2 cpu system):
2 * 1024 / (1024 + 2*526 + 3*335) = 66.47
This is what I see over a 10sec interval (error = 6%):
4386 root 20 0 1384 228 176 R 60.4 0.0 3:06.75 1 nice0
4387 root 23 3 1384 232 176 R 37.9 0.0 1:57.03 0 nice3
4388 root 23 3 1384 228 176 R 37.9 0.0 1:57.24 0 nice3
4390 ...
| May 30, 3:21 am 2008 |
| Dhaval Giani | Re: fair group scheduler not so fair?
How fair does smp fairness look for a !group scenario? I don't expect
group schould be able to do much better.
--
regards,
Dhaval
--
| May 29, 11:43 pm 2008 |
| Srivatsa Vaddagiri | Re: fair group scheduler not so fair?
The tuneables I can think of are:
- HZ (higher the better)
That seems to be pretty difficult to achieve with the per-cpu runqueue
Was this with imbalance_pct set to 105? Does it make any difference if
I honestly don't know if we can do better than 0.8%! In any case, I'd
I ran with this configuration:
HZ = 1000,
min/max_interval = 1
imbalance_pct = 102
My 10-sec fairness looks like below (Error = 1.5%):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ #C ...
| May 30, 4:36 am 2008 |
| Paul Mackerras | Re: MMIO and gcc re-ordering issue
In fact stores to non-cacheable locations have to be kept in order,
according to the Power architecture. But you're correct in that
non-cacheable loads can in principle be reordered w.r.t. each other
Indeed.
Paul.
--
| May 29, 8:56 pm 2008 |
| Trent Piepho | Re: MMIO and gcc re-ordering issue
The problem current with the raw variants is that not all archs have them.
And for those that do, there is no defined semantics. Each arch is different
as to what ordering they have (and endianness too).
If you want to write a driver that is (or might be one day) multi-platform,
there aren't any less ordered accessors one can use. A lot of drivers don't
even use coherent DMA, and could use less strictly ordered semantics quite
trivially. Except there aren't any.
--
| May 29, 6:53 pm 2008 |
| Haavard Skinnemoen | Re: MMIO and gcc re-ordering issue
On Fri, 30 May 2008 17:24:27 +1000
Right, I sort of suspected that.
Now, I'm pretty sure the architectures that can actually run those
drivers (ARM9 and AVR32 AP7) provide stronger guarantees than that, and
I suspect the same is true on most other embedded architectures that
use __raw_* in their drivers. So I don't think adding barriers is the
right thing to do because they won't do anything useful in practice, so
it's hard to tell whether they are used "correctly". And it will ...
| May 30, 1:27 am 2008 |
| Jesse Barnes | Re: MMIO and gcc re-ordering issue
[Empty message]
| May 30, 10:21 am 2008 |
| Geert Uytterhoeven | Re: MMIO and gcc re-ordering issue
The byte swapping depends on the device/bus.
So what happened to the old idea of putting the accessor function pointers
in the device/bus structure?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| May 30, 2:22 am 2008 |
| Jes Sorensen | Re: MMIO and gcc re-ordering issue
Hmmm I hope I didn't mess up the description of this and added to the
confusion.
The net result of that would be to kill performance completely, I really
don't like that idea.... Having each writel() go out and poll the PCI
bridge is going to make every driver used on Altix slow as a dog.
In addition it's still not going to solve the problem for userland
In this case the cost is more than just significant, it's pretty
We'd have to make major changes to drivers like e1000, tg3, mptsas, ...
| May 30, 2:48 am 2008 |
| Jes Sorensen | Re: MMIO and gcc re-ordering issue
Hmmm,
I think mmiowb() does some sort of status read from the bridge, I am not
sure if it's enough to just do a regular readl().
I'm adding Jeremy to the list, he should know for sure.
Cheers,
Jes
--
| May 30, 2:36 am 2008 |
| Benjamin Herrenschmidt | Re: MMIO and gcc re-ordering issue
Are you aware that these also don't provide any ordering guarantee ?
Ben.
--
| May 29, 6:13 pm 2008 |
| Benjamin Herrenschmidt | Re: MMIO and gcc re-ordering issue
Only to the same address I'd say.
Ben.
--
| May 30, 12:24 am 2008 |
| Haavard Skinnemoen | Re: MMIO and gcc re-ordering issue
On Fri, 30 May 2008 11:13:23 +1000
Yes, but I am not aware of any alternative.
I think the drivers I've written have the necessary barriers (or dma
ops with implicit barriers) that they don't actually depend on any
DMA vs. MMIO ordering guarantees. I hope MMIO vs. MMIO ordering is
guaranteed though?
Haavard
--
| May 29, 11:07 pm 2008 |
| Jes Sorensen | Re: MMIO and gcc re-ordering issue
I could be getting bits wrong, but multi-path here is in the NUMA
That would kill all levels of performance in all drivers, resulting in
attempts to try and modify a fair bit of drivers to get the performance
back.
In reality this problem really only exists for devices where ordering of
consecutive writel's is a big issue. In my experience it really isn't
the case very frequently - and the number of mmiowb's that have put in
shows that too :-)
Cheers,
Jes
--
| May 30, 2:39 am 2008 |
| Jeff Garzik | May 30, 3:11 pm 2008 | |
| David Woodhouse | Re: linux/a.out.h is not exported to userspace
We also need to remove the instance of #ifdef CONFIG_something which
David sneaked in to <linux/a.out.h>.
And make a 'headers_check' test for it :)
--
dwmw2
--
| May 29, 10:45 pm 2008 |
| Khem Raj | Re: linux/a.out.h is not exported to userspace
The attached patch from David is a replacement patch. I have tested this
patch by running make headers_install on every architecture under arch/
It works for all (except 'um' and 'ppc' which do not export headers)
Thanks
-Khem
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index 93b9885..b6fbb25 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -166,6 +166,9 @@ ...
| May 29, 9:35 pm 2008 |
| Alexandre Oliva | Re: GPL Violation: Compro Technology Inc, 2.6.17 modifie ...
Hey, it takes time to locate all the thousands of copyright holders
and request their license to be reinstated after the automatic
termination in GPLv2! :-)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member ¡Sé Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
--
| May 30, 2:01 pm 2008 |
| David Newall | Re: GPL Violation: Compro Technology Inc, 2.6.17 modifie ...
I'd like to know how you achieved that result. Netcomm, an Australian
manufacturer of modems, use Linux in a number of their ADSL products,
for example their NB5 range but I suppose, also, all of their modern
products. They provide no acknowledgement on the box, nor in the
documentation, nor on their web. I've exchanged emails with David
Stewart <davids@netcomm.com.au>, their Managing Director, in which I
explained the legal requirements, and also pointed out some high profile
companies that ...
| May 29, 8:49 pm 2008 |
| Jo Shields | Re: GPL Violation: Compro Technology Inc, 2.6.17 modifie ...
It sounds like I got off lightly - I simply contacted them via their
support email address (to which I've still received no reply), then
followed up a few days later by going to the tech press in an effort to
embarrass them into action. An associate also bought a card to determine
whether their infringing kernel image is on the driver CD as well as the
website, but the CD hasn't been looked at yet. I suppose it doesn't make
much difference now, and given they've publicly acknowledged the ...
| May 30, 12:33 am 2008 |
| Bernd Petrovitsch | Re: GPL Violation: Compro Technology Inc, 2.6.17 modifie ...
If they really do it then - in 5 months or so.
And what if the think that everyone else had forgotten it?
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
--
| May 30, 1:30 am 2008 |
| Rick Jones | Re: [PATCH] net: add ability to clear stats via ethtool ...
Well, with that ringing endorsement :) I would like to state that
Yoshihiro Ishijima has fixed some bugs in beforeafter and it will now
deal with /proc/interrupts output better than before.
ftp://ftp.cup.hp.com/dist/networking/tools/
rick jones
--
| May 30, 3:14 pm 2008 |
| Bill Fink | Re: [PATCH] net: add ability to clear stats via ethtool ...
When diagnosing network problems, the ability to zero counters is
a major aid in diagnosis. Writing scripts is not a general solution
since often several systems are involved and it's not simple to do
this via a script. Saving stats output and running beforeafter on
a number of systems is a royal pain when troubleshooting.
I like the idea someone else had. where the clear stats actually did
a checkpoint of the stats, and then future get stats would return the
diff between the checkpointed ...
| May 30, 12:12 pm 2008 |
| Miklos Szeredi | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Actually, the cleanup patches which I'm asking Michael to base his
patches on were not NAKed.
And Michael is not even working against the vfs-cleanups tree, but
rather just a couple of these utimes cleanup patches, none of which
are controversial like the path_* stuff. But even if he was working
against the vfs-cleanups tree it wouldn't matter, since porting
Do please tell me how else should I work? I post patches for review,
gradually, not as a 100 patch series, when we manage to ...
| May 30, 1:08 pm 2008 |
| Andrew Morton | Re: [PATCH] utimensat() non-conformances and fixes [v3]
On Fri, 30 May 2008 20:24:22 +0200
Well yeah. This has been dragging on for ages. I was going to just
apply this patch and stomp off again but this:
"against 2.6.26rc2, with the 2008-05-19 git changes you sent me
applied"
stymied me.
Please, if poss, just send a standalone, fully-changelogged,
not-referential-to-some-random-email-discussion patch and let's get
going.
(Where's Ulrich, btw?)
--
| May 30, 1:17 pm 2008 |
| Miklos Szeredi | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Oh, come on. Where in my last mail did I say that these fixes
shouldn't be applied? I was only objecting to putting a fix and an
independent cleanup (which by now I realized was not such a good idea)
into a single patch.
Miklos
--
| May 30, 1:17 pm 2008 |
| Michael Kerrisk | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Miklos,
Okay, by now quite a bit of my time has been wasted, and my patience
is starting to get a little thin.
I already fixed most of the isues with utimensat() in my previous
version of the patch several days back, and that patch (probably
still) applies against current mainline. The one issue that wasn't
fixed by my earlier patch was the one below, which I've only just
It is a problem, because every portable user program that uses this
interfaces, and relies on this corner of ...
| May 30, 11:24 am 2008 |
| Miklos Szeredi | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Ugh... Could we just omit this part (the if !times and write error
then check owner)? I know it was my idea, but
a) my ideas are often stupid
b) one patch should ideally do just one thing
After we fixed the original issue, we can still think about this other
Sure, but so could a write(2), so that doesn't seem such a big
problem.
I think we should leave it this way, since changing it would affect
not just utimensat() and futimesat() but utime() and utimes() as well,
which are well ...
| May 30, 9:37 am 2008 |
| Miklos Szeredi | Re: [PATCH] utimensat() non-conformances and fixes [v3]
I understand your frustration, but actually I did say this the last
time as well:
"Sorry, that was just an idea, but since it's not as simple as it
should be, I guess we should leave that till later. My main
objection was against introducing more is_owner_or_cap() checks.
Just doing the times == NULL case with ATTR_OWNER_CHECK should be
fine."
OK, you're right. I've overlooked this point.
So as long as we believe that nobody is using the futime*() interfaces
in the way ...
| May 30, 12:22 pm 2008 |
| Michael Kerrisk | [PATCH] utimensat() non-conformances and fixes [v3]
Hi Miklos,
Here's a further version of the patch, against 2.6.26rc2, with the
2008-05-19 git changes you sent me applied. This patch is based on
the draft patch you sent me. I've tested this version of the patch,
and it works as for all cases except the one mentioned below. But
note the following points:
1) I didn't make use of the code in notify_change() that checks
IS_IMMUTABLE() and IS_APPEND() (i.e., I did not add
ATTR_OWNER_CHECK to the mask in the controlling if statement).
Doing ...
| May 30, 8:34 am 2008 |
| Matthew Wilcox | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Miklos, don't delude people into thinking the vfs-cleanups tree is ever
going to get merged in its current state. Al's NAKed the path_* stuff,
Christoph's NAKed it too. Ignoring them and putting up a VFS tree of
your own is not going to help matters.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| May 30, 12:32 pm 2008 |
| Michael Kerrisk | Re: [PATCH] utimensat() non-conformances and fixes [v3]
Miklos,
You omitted to answer my question, the last sentence below:
On Fri, May 30, 2008 at 8:24 PM, Michael Kerrisk
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
| May 30, 12:43 pm 2008 |
| Kevin Hao | Re: [PATCH] x86: Get irq for hpet timer
Oh, I overlook the existence of CONFIG_PCI.
After look into the code, I think we should add a acpi_pic_set_trigger
Yes, I agree with you. But at present we have not a better way to
resolve this problem.
Thanks,
Kevin
--
| May 29, 10:32 pm 2008 |
| Pavel Machek | Re: [PATCH] drivers/net: remove network drivers' last fe ...
Well, I'd fear that hlt instruction in idle loop would be the one
interrupted most. But low bits of tsc at timer interrupt would be fine
entropy source.
..actually, bogomips varies a bit between boots, maybe we should hash
it into the pool?
Maybe we could even redo bogomips calculation at runtime and use low
bits as random numbers? :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| May 30, 12:50 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
Yes, adding
sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map);
after the Xen reservation made everything happy.
J
Subject: xen: reserve Xen-specific memory in e820 map
Make sure that the start_info and pfn->mfn translation array are reserved.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
arch/x86/xen/setup.c | 13 +++++++++++++
1 file changed, 13 ...
| May 30, 8:50 am 2008 |
| Rene Herman | [PATCH] ISA: set 24-bit dma_mask for ISA devices.
[Empty message]
| May 30, 4:55 pm 2008 |
| Rene Herman | [PATCH] ISA: set 24-bit dma_mask for ISA devices.
On 31-05-08 00:11, Rene Herman wrote:
And here's the ISA one...
Rene.
| May 30, 3:37 pm 2008 |
| Rene Herman | May 30, 4:54 pm 2008 | |
| Rene Herman | Re: [PATCH] ISA: set 24-bit dma_mask for ISA devices.
If you already knew what it was about these were nicely concise and to
the point...
Yaya. I'll resend.
Rene.
--
| May 30, 4:50 pm 2008 |
| Rene Herman | [PATCH] Re: 2.6.26-rc1 regression: ISA DMA broken (bisected)
It gets uglier. ALSA ISA drivers (for cards that exist both as legacy
and as ISAPnP at least) keep a merged legacy/isapnp model; PnP is used
mostly for initializing global variables that the same old legacy probe
routines then reference. This means that beyond that global resource
init step the specific struct device is no longer available. Without
restructuring too many things really only fixable through other hacks
again such as a global dma_dev[] array or some such.
From the ...
| May 30, 2:15 pm 2008 |
| Andrew Morton | Re: [PATCH] ISA: set 24-bit dma_mask for ISA devices.
On Sat, 31 May 2008 00:37:05 +0200
Argh. Could we please be better with the changelogs?
This one tells us briefly what the patch does, but it deosn't tell us
why it does it. It doesn't tell us whether it fixes some bug (and if
so what that bug is) and it gives me no means of determining whether
the patch is needed in 2.6.26 or in 2.6.25.x.
Ditto pnp-set-the-pnp_card-dma_mask-for-use-by-isapnp-cards.patch
--
| May 30, 3:55 pm 2008 |
| Bjorn Helgaas | Re: [PATCH] Re: 2.6.26-rc1 regression: ISA DMA broken (b ...
Looks good to me. It does sound like a lot of work and possibly
more risk than it's worth to fix up some of this stuff.
I do still wonder whether any non-x86 architectures need similar
fixes in dma_alloc_coherent(), i.e., check for dev==NULL and fall
back to a 24-bit DMA mask.
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
--
| May 30, 2:43 pm 2008 |
| Rene Herman | Re: [PATCH] Re: 2.6.26-rc1 regression: ISA DMA broken (b ...
Fairly invasive at least. The good thing though is that with the recent
pnp_manual_config_dev() removal the PnP drivers have no actual need/use
for this global variable model anymore and now I have a great excuse for
Hrmmpf. Good question. In sound/isa, we've had a but of alpha spottyness
Thanks. I'll assume Andrew picks it up from the CC...
Rene.
--
| May 30, 3:11 pm 2008 |
| Rene Herman | [DEVICE MODEL] dev->dma_mask
On 30-05-08 23:15, Rene Herman wrote:
... this note by the way I believe pnp_dev might as well get rid of its
dma_mask as well. As far I've googled up the history of that the reason
why dev->dma_mask is a pointer is only that it's been moved into struct
device from struct pci_dev where the latter location was kept as the
main one so as to not upset then current code.
Everyone else seems to have then faithfully cloned pci_dev and stuck it
in their private structs as well but for no good ...
| May 30, 2:28 pm 2008 |
| TAKADA Yoshihito | Re: kernel 2.6.25 with ide driver cs5520 does not boot.
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: kernel 2.6.25 with ide driver cs5520 does not boot.
Date: Thu, 15 May 2008 00:28:04 +0200
Hi. sorry, I'm too late.
I tested the patch to re-enable DMA. But, this patch has no effect. It cannot boot.
--
| May 29, 10:01 pm 2008 |
| David Miller | Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24)
From: Matheos Worku <Matheos.Worku@Sun.COM>
Ahh I see.
Some of the things I talked about in my presentation here in
Berlin at LinuxTAG yesterday can help mitigate the effects.
Most of it revolves around batching, and allowing the driver
to manage the backlog of packets directly when the TX queue
fills up.
In such a case we could batch the TX queue refill, know how many more
TX packets we will queue up to the chip right now, and therefore know
that we can safely set periodic MARK bits and ...
| May 30, 12:00 am 2008 |
| Matheos Worku | Re: NIU - Sun Neptune 10g - Transmit timed out reset (2.6.24)
Dave,
Actually what I am suggesting was a workaround for the lack of "TX Ring
Empty" interrupt by not relying on the TX interrupt at all. As for the
TX hang, I will try to reproduce the problem and look at the registers
for the clue.
Regards
Matheos
--
| May 29, 5:14 pm 2008 |
| Paul E. McKenney | May 30, 1:27 am 2008 | |
| Paul E. McKenney | May 30, 1:29 am 2008 | |
| Paul E. McKenney | May 30, 1:24 am 2008 | |
| Paul E. McKenney | May 30, 1:24 am 2008 | |
| Paul E. McKenney | May 30, 1:23 am 2008 | |
| Paul E. McKenney | May 30, 1:23 am 2008 | |
| Paul E. McKenney | May 30, 1:23 am 2008 | |
| Paul E. McKenney | May 30, 1:22 am 2008 | |
| Paul E. McKenney | Re: [PATCH 0/9] Scalability requirements for sysv ipc - v3
I guess in my case, next Tuesday was not an issue. :-/
Anyway, the idr.c changes look good to me. Not sure why you are using
INIT_RCU_HEAD() given that call_rcu() completely initializes the fields.
Using INIT_RCU_HEAD() doesn't cause any problems, but does add needless
code.
Commentary below, looks good from an RCU viewpoint.
OK, we aren't dereferencing. Besides, we should hold the update-side
--
| May 30, 1:22 am 2008 |
| Alexey Dobriyan | Re: 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160
No, of course, not. :-) It's like this:
src
build/config-1/
build/config-2/
...
.ccache/
[.ccache stuff]
all in one ext2/noatime disk.
Very specific but this shouldn't matter. Some are fat (sparc64 allmodconfig),
some are nimble (arm defconfigs). loadavg is around 210 at the start.
--
| May 30, 11:52 am 2008 |
| Paul E. McKenney | May 30, 4:45 am 2008 | |
| Paul E. McKenney | Re: 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160
Thank you for the info!
So you have 170 concurrent "make O=../" builds running, with them all
putting their .o files in a common directory? Are you using 170
specific configurations, or are the all running randconfig?
--
| May 29, 11:54 pm 2008 |
| Alexey Dobriyan | Re: 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160
Triggered second time with 2.6.24-rc4.
FWIW, workload was LTP in infinite loop + parallel compiling on 170 configs
with make O=../ on ext2
--
| May 29, 10:54 pm 2008 |
| Paul E. McKenney | Re: 2.6.26-rc4: RIP __call_for_each_cic+0x20/0x50
OK, make that two more things to consider...
Why the smp_read_barrier_depends() in cfq_get_io_context()? It appears
to be guarding the dereferencing of ioc. But we would have obtained
ioc from get_io_context(), which already dereferenced this pointer when
it bumped the ->refcount. So any barriers would seem to need to be
inside of get_io_context().
So what am I missing this time?
Thanx, Paul
--
| May 30, 6:16 am 2008 |
| Paul E. McKenney | Re: 2.6.26-rc4: RIP __call_for_each_cic+0x20/0x50
This needs to be upgraded to an smp_mb() because we have a write followed
In absence of these two changes, either compiler or CPU could reorder
the accesses to ioc_gone on the one hand and to ioc_count on the other,
which could result in a hang, for example, cfq_exit() might see the
reader's old count, but the reader might fail to see the assignment
to ioc_gone.
Thanx, Paul
--
| May 30, 4:04 am 2008 |
| Alexey Dobriyan | Re: 2.6.26-rc4: RIP __call_for_each_cic+0x20/0x50
[test patch]
Ha-ha! Posting full dmesg just in case something important is missed.
I checked that .version and number in uname match, timestamps between
vmlinux and vmlinuz are within 20 seconds, there is call to
__rcu_read_lock at the beginning of cfq_cic_lookup(), MD5 of vmlinuz and
vmliniz after reinstalling match so I'm pretty sure I booted right kernel.
Kernel is 2.6.24 with the following patch (one fix for my NIC, one
debugging for Oleg, one for you:
diff --git ...
| May 30, 11:34 am 2008 |
| Uwe | Re: [PATCH] UIO: generic platform driver
Hello Greg,
If Hans did that, I didn't notice it. If you want to take the patches
from me you can pull them from my uio branch at
git://www.modarm9.com/gitsrc/pub/people/ukleinek/linux-2.6.git uio
These have the Signed-off-by: by Hans, too.
Best regards
Uwe
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
--
| May 30, 2:16 am 2008 |
| Greg KH | Re: [PATCH] UIO: generic platform driver
Hans is at LinuxTag this week and said he would send them to me when he
got back. So I'll wait for his copies, I'd prefer not to pull from git,
as that doesn't really work well with my patchflow process.
thanks,
greg k-h
--
| May 30, 9:35 am 2008 |
| Andrea Righi | Re: [RFC][v2][patch 0/12][CFQ-cgroup]Yet another I/O ban ...
Hi Satoshi,
I'm testing your patch agains latest Linus git and I've got the
following bug. It can be easily reproduced creating a cgroup, switching
the i/o scheduler from cfq to any other and switch back to cfq again.
-Andrea
BUG: unable to handle kernel paging request at ffffffeb
IP: [<c0212dc6>] cfq_cgroup_sibling_tree_add+0x36/0x90
Oops: 0000 [#1] SMP
Modules linked in: i2c_piix4 ne2k_pci 8390 i2c_core
Pid: 3543, comm: bash Not tainted (2.6.26-rc4 #1)
EIP: 0060:[<c0212dc6>] ...
| May 30, 3:37 am 2008 |
| Hemmann, Volker Armin | Re: 2.6.24.X: SATA/AHCI related boot delay. - not with 2 ...
ah, I thought all AHCI chipsets support NCQ (and the board's handbook lists it
as feature) thanks for the explanation.
Glück Auf,
Volker
--
| May 30, 3:43 am 2008 |
| Tejun Heo | Re: 2.6.24.X: SATA/AHCI related boot delay. - not with 2 ...
Hello,
So, sans NCQ, the only remaining issue is MSI, right? Peer Chen, please
lemme know which controllers are affected by this MSI problem and where
The controller is not reporting NCQ capability in its cap register
(flags: line contains ncq if the controller is), so NCQ is not enabled.
Thanks.
--
tejun
--
| May 29, 9:19 pm 2008 |
| Aneesh Kumar K.V | May 29, 11:24 pm 2008 | |
| Mingming Cao | Re: [PATCH][take 5] JBD2: Fix race between free buffer a ...
Thanks. I noticed this yesterday and have sent Andrew updated patch to
replace the one he just added to mm tree but forget to copy to the list. Here is the updated patch,
Mingming
---
fs/jbd2/transaction.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 58 insertions(+), 3 deletions(-)
Index: linux-2.6.26-rc4/fs/jbd2/transaction.c
===================================================================
--- linux-2.6.26-rc4.orig/fs/jbd2/transaction.c 2008-05-29 ...
| May 30, 8:17 am 2008 |
| Geoff Levand | Re: [rtc-linux] state of GEN_RTC vs rtc subsystem
gen_rtc was hooked up to the powerpc platform
ppc_md.set_rtc_time and ppc_md.get_rtc_time via the arch
specific get_rtc_time() and set_rtc_time() routines.
From what I can tell, those generic rtc routines the powerpc
arch provides are not properly hooked into the new rtc subsystem.
This causes problems for multi-platform builds where some platforms
must use gen_rtc, and some must the new rtc subsytem.
-Geoff
--
| May 30, 3:45 pm 2008 |
| previous day | today | next day |
|---|---|---|
| May 29, 2008 | May 30, 2008 | May 31, 2008 |
