linux-kernel mailing list

FromSubjectsort iconDate
James Nichols Dec 14, 4:39 pm 2007
Nathan Lynch
[PATCH] fix bloat-o-meter for ppc64
bloat-o-meter assumes that a '.' anywhere in a symbol's name means that it is static and prepends 'static.' to the first part of the symbol name, discarding the portion of the name that follows the '.'. However, the names of function entry points begin with '.' in the ppc64 ABI. This causes all function text size changes to be accounted to a single 'static.' entry in the output when comparing ppc64 kernels. Change getsizes() to ignore the first character of the symbol name when searching for '.'....
Dec 14, 7:38 pm 2007
Harvey Harrison
[PATCH] x86: Unify cosmetic kprobes{32|64}.c
Introduces some temporary ifdefs and changes some cosmetic differences. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/kprobes_32.c | 48 +++++++++++++++++++++++++++-------------- arch/x86/kernel/kprobes_64.c | 34 ++++++++++++++++++++++------- 2 files changed, 57 insertions(+), 25 deletions(-) diff --git a/arch/x86/kernel/kprobes_32.c b/arch/x86/kernel/kprobes_32.c index f4ba584..2a8acd6 100644 --- a/arch/x86/kernel/kprobes_32.c +++ b/arch/x86/kernel/...
Dec 14, 7:16 pm 2007
John Stoffel
2.6.24-rc5-mm1: kernel BUG at include/linux/scatterlist.h:59!
Hi, Just fired up 2.6.24-rc5-mm1 on a Dual CPU PIII 550mhz system with 2gb of RAM. Got the following error. Let me know if you need more details or want me to run tests or make changes. Looks like something in the SCSI st driver, which makes sense since I have a pair of DLT 7k drives hooked upto this system via a Symbios PCI card. I've also got a P1000 jukebox on there as well. [ 354.338667] kernel BUG at include/linux/scatterlist.h:59! [ 354.403311] invalid opcode: 0000 [#1] SMP ...
Dec 14, 7:05 pm 2007
Harvey Harrison
[PATCH] x86: Further reduce kprobes_{32|64}.c
Add X86_32 only static function to X86_64 file and add static X86_64 functions to X86_32 file. Produces compile warnings about defined but not used functions for now, will deal with these in final unified file. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/kprobes_32.c | 85 ++++++++++++++++++++++++++++++++++++++++- arch/x86/kernel/kprobes_64.c | 61 ++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+), 3 deletions(-) diff --git a/arch/x...
Dec 14, 6:37 pm 2007
Harvey Harrison
[PATCH] x86: Add temporary ifdefs to kprobes_{32|64}.c
Keep reducing the diff size moving code around. This will get cleaner in the final unified file. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/kprobes_32.c | 15 +++++++++++++++ arch/x86/kernel/kprobes_64.c | 17 ++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/kprobes_32.c b/arch/x86/kernel/kprobes_32.c index cebc077..f4ba584 100644 --- a/arch/x86/kernel/kprobes_32.c +++ b/arch/x86/kernel/kprobes_32.c...
Dec 14, 6:38 pm 2007
Joe Perches
[PATCH 01/11] drivers/net/ax88796.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/ax88796.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 7495a9e..107c11f 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c @@ -750,14 +750,10 @@ static int ax_init_dev(struct net_device *dev, int first_init) ax_NS8390_init(dev, 0); if (first_init) { - printk("AX88796: %dbit, irq %d, %lx, MAC: ", - ei_status.w...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 02/11] drivers/net/hplance.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/hplance.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/hplance.c b/drivers/net/hplance.c index be6e5bc..2748b47 100644 --- a/drivers/net/hplance.c +++ b/drivers/net/hplance.c @@ -77,7 +77,7 @@ static int __devinit hplance_init_one(struct dio_dev *d, { struct net_device *dev; int err = -ENOMEM; - int i; + DECLARE_MAC_BUF(mac); dev = alloc_etherdev(sizeof(struct hpl...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 03/11] drivers/net/mac8390.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/mac8390.c | 18 ++++++------------ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/mac8390.c b/drivers/net/mac8390.c index 9e70074..4eccebb 100644 --- a/drivers/net/mac8390.c +++ b/drivers/net/mac8390.c @@ -483,6 +483,7 @@ void cleanup_module(void) static int __init mac8390_initdev(struct net_device * dev, struct nubus_dev * ndev, enum mac8390_type type) { + DECLARE_MAC_BUF(mac); sta...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 04/11] drivers/net/mac89x0.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/mac89x0.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/mac89x0.c b/drivers/net/mac89x0.c index a19b595..45b56ca 100644 --- a/drivers/net/mac89x0.c +++ b/drivers/net/mac89x0.c @@ -584,11 +584,12 @@ static void set_multicast_list(struct net_device *dev) static int set_mac_address(struct net_device *dev, void *addr) { + DECLARE_MAC_BUF(mac); int i; - printk("%s: Setting MAC a...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 05/11] drivers/net/niu.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/niu.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/niu.c b/drivers/net/niu.c index abfc61c..8a0f8f8 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -7392,12 +7392,10 @@ static void __devinit niu_assign_netdev_ops(struct net_device *dev) static void __devinit niu_device_announce(struct niu *np) { struct net_device *dev = np->dev; - int i; + DECLARE_MAC_BUF(mac); ...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 06/11] drivers/net/pcnet32.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/pcnet32.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index ff92aca..87edeb6 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c @@ -1769,8 +1769,8 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev) memset(dev->dev_addr, 0, sizeof(dev->dev_addr)); if (pcnet32_debug & NETIF_MSG_PROBE) { - for (i = 0...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 07/11] drivers/net/smc911x.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/smc911x.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 76cc1d3..f503b73 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -2086,10 +2086,9 @@ static int __init smc911x_probe(struct net_device *dev, unsigned long ioaddr) "set using ifconfig\n", dev->name); } else { /* Print the Ethernet address */ - printk("%...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 08/11] drivers/net/sunvnet.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/sunvnet.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c index ff1028a..4a0035f 100644 --- a/drivers/net/sunvnet.c +++ b/drivers/net/sunvnet.c @@ -1149,6 +1149,7 @@ static int __devinit vnet_port_probe(struct vio_dev *vdev, struct vnet *vp; const u64 *rmac; int len, i, err, switch_port; + DECLARE_MAC_BUF(mac); print_version(); @@ ...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 09/11] drivers/net/tg3.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/tg3.c | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 4942f7d..eea7da9 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -12351,9 +12351,10 @@ static int __devinit tg3_init_one(struct pci_dev *pdev, unsigned long tg3reg_base, tg3reg_len; struct net_device *dev; struct tg3 *tp; - int i, err, pm_cap; + int err, pm_cap; char str[40...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 10/11] drivers/net/tulip/de4x5.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/tulip/de4x5.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c index 41f34bb..288f994 100644 --- a/drivers/net/tulip/de4x5.c +++ b/drivers/net/tulip/de4x5.c @@ -5361,14 +5361,11 @@ de4x5_dbg_open(struct net_device *dev) { struct de4x5_private *lp = netdev_priv(dev); int i; + DECLARE_MAC_BUF(mac); if (de4x5_debug & DE...
Dec 14, 6:34 pm 2007
Joe Perches
[PATCH 11/11] drivers/net/usb/catc.c: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/usb/catc.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index 76752d8..e20db50 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c @@ -757,6 +757,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id struct catc *catc; u8 broadcast[6]; int i, pktsz; + DECLARE_MAC_BUF(mac); if (usb_set_int...
Dec 14, 6:34 pm 2007
Mike Miller
[PATCH 3/3] cciss: version change to 3.6.18
Patch 3 of 3 This patch bumps the driver version to 3.6.18 to reflect support for the P700m. This matches the HP released driver version for hardware support. Please consider this for inclusion. Signed-off-by: Mike Miller <mike.miller@hp.com> diff --git a/Documentation/cciss.txt b/Documentation/cciss.txt index e65736c..0467639 100644 --- a/Documentation/cciss.txt +++ b/Documentation/cciss.txt @@ -21,6 +21,7 @@ This driver is known to work with the following cards: * SA E200 * SA E...
Dec 14, 6:21 pm 2007
Mike Miller
[PATCH 2/3] cciss: change information displayed in /proc/dri...
Patch 2 of 3 This patch modifies our /proc entries to display information about only the first logical volume on each controller. Primary reason is for hardware that can support many LUNs (128 or more). In this case we can step on memory and crash the system trying to display so much information. Users will have to find information about other LUNs in /sys/block rather than /proc/drivers. Also took the liberty of making some formatting changes to eliminate a bunch of white spaces while I was in tha...
Dec 14, 6:20 pm 2007
Mike Miller
[PATCH 1/3] cciss: export more attributes to sysfs (repost)
Patch 1 of 3 Sorry to take so long to repost. This patch exports more attributes to /sys so we can work work better with udev. Some distros use unique_id among other attributes. This patch attempts to provide that and other attributes to reveal more information about cciss devices in /sys. It's also an effort to be more sysfs friendly. Please consider this for inclusion. Signed-off-by: Mike Miller diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 7d70496..54080e6 100644 --- ...
Dec 14, 6:17 pm 2007
Harvey Harrison
[PATCH] x86: Reduce diff between kprobes_{32|64}.c
Put a copy of instructions tables in both files to reduce the diff size and drastically cut checkpatch warnings. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/kprobes_32.c | 140 ++++++++++++++++++++++++++++--------- arch/x86/kernel/kprobes_64.c | 158 ++++++++++++++++++++++++++++-------------- 2 files changed, 214 insertions(+), 84 deletions(-) diff --git a/arch/x86/kernel/kprobes_32.c b/arch/x86/kernel/kprobes_32.c index 615f24a..3e45b51 100644 --- a/...
Dec 14, 6:11 pm 2007
Steven Rostedt
2.6.24-rc5-rt1
We are pleased to announce the 2.6.24-rc5-rt1 tree, which can be downloaded from the usual location: http://www.kernel.org/pub/linux/kernel/projects/rt/ Changes since 2.6.24-rc2-rt1 - Ported to 2.6.24-rc5 - Backported the new RT Balancing code from sched-devel New changes by Steven Rostedt, Gregory Haskins, Ingo Molnar, and Dmitry Adamushko - 2 dimension CPU Prio RT balancing search (Gregory Haskins) - ARM compile fix (Kevin Hilman) - Handle IRQ_PENDING for ...
Dec 14, 6:13 pm 2007
Miles Lane
2.6.24-rc5-mm1 -- inconsistent {in-softirq-W} -> {softirq...
Sorry Andrew, I don't know who to forward this problem to. I tried running: find /proc | xargs cat and got this: ================================= [ INFO: inconsistent lock state ] 2.6.24-rc5-mm1 #26 --------------------------------- inconsistent {in-softirq-W} -> {softirq-on-R} usage. cat/6944 [HC0[0]:SC0[0]:HE1:SE1] takes: BUG: unable to handle kernel paging request at virtual address 0f1eff0b printing ip: c01fe64d *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP last sysfs file: /sys/block...
Dec 14, 6:13 pm 2007
Andrew Morton
Re: 2.6.24-rc5-mm1 -- inconsistent {in-softirq-W} -> {sof...
On Fri, 14 Dec 2007 17:13:21 -0500 I'd say you hit a networking locking bug and then when trying to report that bug, lockdep crashed. The networking bug looks to be around sock_i_ino()'s taking of sk_callback_lock with softirq's enabled. Perhaps this will fix it. diff -puN net/core/sock.c~a net/core/sock.c --- a/net/core/sock.c~a +++ a/net/core/sock.c @@ -1115,9 +1115,9 @@ int sock_i_uid(struct sock *sk) { int uid; - read_lock(&sk->sk_callback_lock); + read_lock_bh(&sk-&g...
Dec 14, 7:36 pm 2007
Miles Lane
Re: 2.6.24-rc5-mm1 -- inconsistent {in-softirq-W} -> {sof...
Whoops. I forgot to include my current .config file. Here it is: # # Automatically generated make config: don't edit # Linux kernel version: 2.6.24-rc5-mm1 # Fri Dec 14 16:26:01 2007 # # CONFIG_64BIT is not set CONFIG_X86_32=y # CONFIG_X86_64 is not set CONFIG_X86=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_SEMAPHORE_SLE...
Dec 14, 6:15 pm 2007
Harvey Harrison
[PATCH] x86: Unify kpropes MAX_INSN_SIZE definition
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- arch/x86/kernel/kprobes_32.c | 8 ++++---- include/asm-x86/kprobes.h | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/kprobes_32.c b/arch/x86/kernel/kprobes_32.c index b47381e..615f24a 100644 --- a/arch/x86/kernel/kprobes_32.c +++ b/arch/x86/kernel/kprobes_32.c @@ -101,13 +101,13 @@ static __always_inline int can_boost(kprobe_opcode_t *opcodes) kprobe_opcode_t opcode; kprob...
Dec 14, 6:10 pm 2007
Denis
Fwd: NFS , Kjournald - status D (uninterruptible sleep) - ma...
Dears, I've got a double dual xeon wich sometimes is getting too slow. While i was observing one of these slowly times, I realized the time wait of processors come close to 100% and nfsd and kjournald process become to D status (uniterruptible sleep) .Does someone know why this can be happening or how can I troubleshoot it? Below is a 'draw' of my top at one of these moments. [root@cromo src]# top top - 10:59:02 up 6 days, 19:30, 17 users, load average: 14.77, 13.46, 13.00 Tasks: 189 total,...
Dec 14, 5:33 pm 2007
Len Brown
[GIT PATCH] ACPI patches for 2.6.24-rc5 (take 2)
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release This augments the pull request I made yesterday with a fix for the 2.6.24 SBS regression and some dmesg spam removal. This will update the files shown below. thanks! -Len ps. individual patches are available on linux-acpi@vger.kernel.org and a consolidated plain patch is available here: [ message continues ]
" title="ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.24/acpi-release-20...">ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.24/acpi-rel...
Dec 14, 5:20 pm 2007
John Reiser
Re: /dev/urandom uses uninit bytes, leaks user data
The combination of capturing data from other users, plus seeding the pool with your own data, just might be powerful enough to help steal secrets, sometime in the next five years, from data that is Matt is correct. The rolled-up result follows. Signed off by: jreiser@BitWagon.com --- ./drivers/char/random.c.orig 2007-12-14 11:06:03.000000000 -0800 +++ ./drivers/char/random.c 2007-12-14 12:27:23.000000000 -0800 @@ -708,6 +708,8 @@ bytes=extract_entropy(r->pull, tmp, bytes, ...
Dec 14, 4:45 pm 2007
Theodore Tso
Re: /dev/urandom uses uninit bytes, leaks user data
Um, no. Just seeding the pool with your own data won't help, since that still won't tell you the initial contents of the pool. And if you know the initial contents of the pool, then you've broken root. And being able to steal from the pool also assumes that you've broken into the system; it is never, ever exported to userspace, even if you're root (unless you use something like /dev/kmem). Furthermore, if you don't know the previous contents of the pool, you'll never be able to recover the infor...
Dec 14, 7:23 pm 2007
Jeff Garzik
Re: [patch 01/10] e1000e: make E1000E default to the same kc...
I am not inclined to apply this one. This practice, applied over time, will tend to accumulate weird 'default' and 'select' statements. So I think the breakage that occurs is mitigated by two factors: 1) kernel hackers that do their own configs are expected to be able to figure this stuff. 2) kernel builders (read: distros, mainly) are expected to have put thought into the Kconfig selection and driver migration strategies. PCI IDs move across drivers from time, and we don't want to apply th...
Dec 14, 4:39 pm 2007
Andrew Morton
Re: [patch 01/10] e1000e: make E1000E default to the same kc...
On Fri, 14 Dec 2007 15:39:26 -0500 You can take it out again later on - most people's .configs will then have E1000E set. People who still do `cp ancientconfig .config ; make oldconfig' remain screwed. I dunno. I guess I'm not into causing people pain in an attempt to train them to do what we want. This is a popular driver and a *lot* of people are going to: - build new kernel - install new kernel - find it doesn't work, go through quite large amounts of hassle trying to work out w...
Dec 14, 7:22 pm 2007
Adrian Bunk
Re: [patch 01/10] e1000e: make E1000E default to the same kc...
You miss the vast majority of kconfig users: 3) system administrators etc. who for different reasons compile their own kernels but neither are nor want to be kernel developers There's a reason why e.g. LPI requires you to be able to compile your own kernel even for getting a "Junior Level Linux Professional" certificate. Or that one of the authors of "Linux Device drivers" has written a book cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out ...
Dec 14, 6:39 pm 2007
Jeff Garzik
Re: [patch 01/10] e1000e: make E1000E default to the same kc...
Nonetheless, it will always be true that configuring your own kernel requires knowledge of the options you are setting. Jeff --
Dec 14, 7:17 pm 2007
Eduard-Gabriel Munteanu
Re: [PATCH] Option to disable AMD C1E (allows dynticks to wo...
Thanks to both of you for shedding some light on this matter. I'll look into HPET-related efforts; it looks like a better solution than my patch. --
Dec 14, 3:58 pm 2007
Thomas Gleixner
Re: [PATCH] Option to disable AMD C1E (allows dynticks to wo...
Well, that would interfere with the acpi-idle code. Anyway the idle notifiers is a pretty artificial interface which is on my get rid of it list anyway. Thanks, tglx --
Dec 14, 3:57 pm 2007
Andi Kleen
Re: [PATCH] Option to disable AMD C1E (allows dynticks to wo...
> Well, that would interfere with the acpi-idle code. The original use cases were: - Accounting for idle time with stopped counters in oprofile and eliminate the need for idle=poll. That never was implemented unfortunately but would be still a worthy feature I think. - Perfmon for similar uses. - noidletick -- my original noidletick implementation used the idle notifiers similar to the s390 implementation. Obsolete now. Right now it is used for the machine check early notification, but I...
Dec 14, 4:06 pm 2007
Greg Kroah-Hartman
Linux 2.6.22.15
We (the -stable team) are announcing the release of the 2.6.22.15 kernel. It a number of bugfixes and anyone using the 2.6.23 kernel series is recommended to upgrade. I'll also be replying to this message with a copy of the patch between 2.6.22.14 and 2.6.22.15 The updated 2.6.22.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.22.y.git and can be browsed at the normal kernel.org git web browser: [ message continues ]
" title="http://git.kernel.org/?p=linux/kernel/git/...">http://git.kernel.org/?p=linux/kernel/git/...
Dec 14, 3:51 pm 2007
Greg Kroah-Hartman
Re: Linux 2.6.22.15
diff --git a/Makefile b/Makefile index 873c786..a8bdcc6 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 22 -EXTRAVERSION = .14 +EXTRAVERSION = .15 NAME = Holy Dancing Manatees, Batman! # *DOCUMENTATION* diff --git a/crypto/algapi.c b/crypto/algapi.c index f137a43..ec286a2 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -98,6 +98,9 @@ static void crypto_remove_spawn(struct crypto_spawn *spawn, return; inst->alg.cra_flags |=...
Dec 14, 3:51 pm 2007
S.Çağlar
[PATCH] drivers/dma/ioat_dma.c: inlining failed
Hi; After commit 7bb67c14fd3778504fb77da30ce11582336dfced, Linus's git tree gaves following compiliation error with gcc-3.4.6. Following patch solves this issue for me; [...] CC [M] drivers/dma/ioat.o CC [M] drivers/dma/ioat_dma.o drivers/dma/ioat_dma.c: In function `ioat1_tx_submit': drivers/dma/ioat_dma.c:177: sorry, unimplemented: inlining failed in call to '__ioat1_dma_memcpy_issue_pending': function body not available drivers/dma/ioat_dma.c:268: sorry, unimplemented: called from here...
Dec 14, 3:44 pm 2007
Nelson, Shannon
RE: [PATCH] drivers/dma/ioat_dma.c: inlining failed
[...] Yep. I posted a similar patch with a couple more tweaks after a month ago after Andrew's comments, which hasn't yet moved from -mm to Linus' tree. See http://lkml.org/lkml/2007/11/16/336 sln -- ====================================================================== Mr. Shannon Nelson LAN Access Division, Intel Corp. Shannon.Nelson@intel.com I don't speak for Intel (503) 712-7659 Parents can't afford to be squeamish. --
Dec 14, 3:53 pm 2007
Andrew Morton
Re: [PATCH] drivers/dma/ioat_dma.c: inlining failed
On Fri, 14 Dec 2007 11:53:28 -0800 Nobody told me that it fixed anything serious so I had it scheduled for 2.6.25. I'll move it up. --
Dec 14, 7:15 pm 2007
John Reiser
/dev/urandom uses uninit bytes, leaks user data
xfer_secondary_pool() in drivers/char/random.c tells add_entropy_words() to use uninitialized tmp[] whenever bytes is not a multiple of 4. Besides being unfriendly to automated dynamic checkers, this is a potential leak of user data into the output stream. When called from extract_entropy_user, then uninit tmp[] can capture leftover data from a previous copy_from_user(). Signed off by: jreiser@BitWagon.com --- ./drivers/char/random.c.orig 2007-12-14 11:06:03.000000000 -0800 +++ ./drivers/char/r...
Dec 14, 3:34 pm 2007
Peter Zijlstra
[PATCH 16/29] netvm: INET reserves.
Add reserves for INET. The two big users seem to be the route cache and ip-fragment cache. Reserve the route cache under generic RX reserve, its usage is bounded by the high reclaim watermark, and thus does not need further accounting. Reserve the ip-fragement caches under SKB data reserve, these add to the SKB RX limit. By ensuring we can at least receive as much data as fits in the reassmbly line we avoid fragment attack deadlocks. Use proc conv() routines to update these limits and return ...
Dec 14, 11:39 am 2007
Daniel Phillips
Re: [PATCH 16/29] netvm: INET reserves.
Hi Peter, sysctl_intvec_fragment, proc_dointvec_fragment, sysctl_intvec_fragment seem to suffer from cut-n-pastitis. Regards, Daniel --
Dec 14, 5:10 pm 2007
Peter Zijlstra
[PATCH 17/29] netvm: hook skb allocation to reserves
Change the skb allocation api to indicate RX usage and use this to fall back to the reserve when needed. SKBs allocated from the reserve are tagged in skb->emergency. Teach all other skb ops about emergency skbs and the reserve accounting. Use the (new) packet split API to allocate and track fragment pages from the emergency reserve. Do this using an atomic counter in page->index. This is needed because the fragments have a different sharing semantic than that indicated by skb_shinfo()->...
Dec 14, 11:39 am 2007
Peter Zijlstra
[PATCH 14/29] net: sk_allocation() - concentrate socket rela...
Introduce sk_allocation(), this function allows to inject sock specific flags to each sock related allocation. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/net/sock.h | 5 +++++ net/ipv4/tcp.c | 2 +- net/ipv4/tcp_output.c | 11 ++++++----- net/ipv6/tcp_ipv6.c | 14 +++++++++----- 4 files changed, 21 insertions(+), 11 deletions(-) Index: linux-2.6/net/ipv4/tcp_output.c =================================================================== --- li...
Dec 14, 11:39 am 2007
Peter Zijlstra
[PATCH 13/29] net: packet split receive api
Add some packet-split receive hooks. For one this allows to do NUMA node affine page allocs. Later on these hooks will be extended to do emergency reserve allocations for fragments. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- drivers/net/e1000/e1000_main.c | 8 ++------ drivers/net/sky2.c | 16 ++++++---------- include/linux/skbuff.h | 23 +++++++++++++++++++++++ net/core/skbuff.c | 20 ++++++++++++++++++++ 4 files changed, 51 inse...
Dec 14, 11:39 am 2007
Peter Zijlstra
[PATCH 12/29] net: wrap sk->sk_backlog_rcv()
Wrap calling sk->sk_backlog_rcv() in a function. This will allow extending the generic sk_backlog_rcv behaviour. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/net/sock.h | 5 +++++ net/core/sock.c | 4 ++-- net/ipv4/tcp.c | 2 +- net/ipv4/tcp_timer.c | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) Index: linux-2.6/include/net/sock.h =================================================================== --- linux-2.6.orig/include/ne...
Dec 14, 11:39 am 2007
Peter Zijlstra
[PATCH 06/29] mm: serialize access to min_free_kbytes
There is a small race between the procfs caller and the memory hotplug caller of setup_per_zone_pages_min(). Not a big deal, but the next patch will add yet another caller. Time to close the gap. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- mm/page_alloc.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) Index: linux-2.6/mm/page_alloc.c =================================================================== --- linux-2.6.orig/mm/page_alloc.c +++ linux-...
Dec 14, 11:39 am 2007
previous daytodaynext day
December 13, 2007December 14, 2007December 15, 2007