linux-kernel mailing list

FromSubjectsort iconDate
sena seneviratne
Fwd: Re: New Metrics to measure Load average
Hi Balbir Singh, I have done changes to the load average inside current functions. This means without introducing any new function. Please go through our previous correspondence in this regard. Also I had discused this fact with Peter Williams who had introduced some new functions in the same area. Would do you be able to test my code? Kind regards Sena Seneviratne Computer Engineering Lab School of Electrical and Information Engineering Sydney University Australia --
Oct 6, 4:55 pm 2008
David Wagner
Re: [PATCH] ELF: implement AT_RANDOM for future glibc use
Good. /dev/random was a poor choice for most applications. I've always lamented the naming scheme (which for a long time caused many applications to use /dev/random when /dev/urandom would ? You say get_random_bytes() acts like reading from /dev/random, but then your subsequent sentences are consistent with it acting like reading from /dev/urandom, so I'm lost. /dev/urandom also runs its inputs through cryptographic hash functions to ensure that it acts as a cryptographic-quality pseudorandom...
Oct 6, 6:16 pm 2008
Linus Torvalds
Linux 2.6.27-rc9
I know, I know, I said that -rc8 was supposed to be the last -rc, and that I'd release 2.6.27 this weekend. I lied. Sue me. I merged two subtle regression fixes today, and while both looked perfectly fine and had been tested by the people involved in the regressions, I just couldn't bring myself to then just slap a "v2.6.27" on it without some more testing. So I'd like to get at least a couple of days of feedback on those fixes. It also felt like a good idea to have an -rc with the patche...
Oct 6, 7:52 pm 2008
David Daney
[PATCH 1/2] serial: Allow for replacable I/O functions in 82...
cavium: generic 8250 serial driver changes We are in the process of preparing kernel support for the Cavium Networks OCTEON processor for inclusion in the main-line kernel sources. The main (perhaps only) place this affects the non-processor specific parts of the kernel is in the 8250 serial driver. The OCTEON contains several on-chip UARTS that require processor specific register access code. It is our thought that rather than pollute the 8250 driver with yet another one-off register access m...
Oct 6, 7:22 pm 2008
David Daney
Re: [PATCH 2/2] serial: Move UPIO_TSI register access to pro...
This is a completely untested example of how the processor specific code could be removed from the 8250 UART driver if the first part of the patch were accepted. The register access code is moved from drivers/serial/8250.c to arch/powerpc/kernel/legacy_serial.c Signed-off-by: David Daney <ddaney@caviumnetworks.com> --- arch/powerpc/kernel/legacy_serial.c | 35 +++++++++++++++++++++++++++-------- drivers/serial/8250.c | 25 ------------------------- drivers/serial/serial...
Oct 6, 7:36 pm 2008
Greg KH
[patch 00/28] 2.6.25-stable review
This is the start of the stable review cycle for the 2.6.25.18 release. There are @num@ patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a Signed-off-by: line to the patch, please respond with it. These patches are sent out with a number of different people on the Cc: line. If you wish to be a reviewer, please email stable@kernel.org to a...
Oct 6, 7:16 pm 2008
Greg KH
[patch 28/28] udp: Fix rcv socket locking
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Herbert Xu <herbert@gondor.apana.org.au> [ Upstream commits d97106ea52aa57e63ff40d04479016836bbb5a4e and 93821778def10ec1e69aa3ac10adee975dad4ff3 ] The previous patch in response to the recursive locking on IPsec reception is broken as it tries to drop the BH socket lock while in user context. This patch fixes it by shrinking the section protected by the socket lock to sock_queu...
Oct 6, 7:18 pm 2008
Greg KH
[patch 27/28] sctp: Fix oops when INIT-ACK indicates that pe...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Vlad Yasevich <vladislav.yasevich@hp.com> [ Upstream commit add52379dde2e5300e2d574b172e62c6cf43b3d3 ] If INIT-ACK is received with SupportedExtensions parameter which indicates that the peer does not support AUTH, the packet will be silently ignore, and sctp_process_init() do cleanup all of the transports in the association. When T1-Init timer is expires, OOPS happen while we try to ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 26/28] sctp: do not enable peer features if we cant d...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Vlad Yasevich <vladislav.yasevich@hp.com> [ Upstream commit 0ef46e285c062cbe35d60c0adbff96f530d31c86 ] Do not enable peer features like addip and auth, if they are administratively disabled localy. If the peer resports that he supports something that we don't, neither end can use it so enabling it is pointless. This solves a problem when talking to a peer that has auth and addip ena...
Oct 6, 7:17 pm 2008
Greg KH
[patch 25/28] netlink: fix overrun in attribute iteration
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Vegard Nossum <vegard.nossum@gmail.com> [ Upstream commit 1045b03e07d85f3545118510a587035536030c1c ] kmemcheck reported this: kmemcheck: Caught 16-bit read from uninitialized memory (f6c1ba30) 0500110001508abf050010000500000002017300140000006f72672e66726565 i i i i i i i i i i i i i u u u u u u u u u u u u u u u u u u u ^ Pid: 3462, com...
Oct 6, 7:17 pm 2008
Greg KH
[patch 24/28] niu: panic on reset
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Santwona Behera <santwona.behera@sun.com> [ Upstream commit cff502a38394fd33693f6233e03fca363dfa956d ] The reset_task function in the niu driver does not reset the tx and rx buffers properly. This leads to panic on reset. This patch is a modified implementation of the previously posted fix. Signed-off-by: Santwona Behera <santwona.behera@sun.com> Signed-off-by: David S. Miller...
Oct 6, 7:17 pm 2008
Greg KH
[patch 23/28] ipv6: Fix OOPS in ip6_dst_lookup_tail().
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Neil Horman <nhorman@tuxdriver.com> [ Upstream commit e550dfb0c2c31b6363aa463a035fc9f8dcaa3c9b ] This fixes kernel bugzilla 11469: "TUN with 1024 neighbours: ip6_dst_lookup_tail NULL crash" dst->neighbour is not necessarily hooked up at this point in the processing path, so blindly dereferencing it is the wrong thing to do. This NULL check exists in other similar paths and this...
Oct 6, 7:17 pm 2008
Neil Horman
Re: [patch 23/28] ipv6: Fix OOPS in ip6_dst_lookup_tail().
Ack, Thanks Greg. -- /**************************************************** * Neil Horman <nhorman@tuxdriver.com> * Software Engineer, Red Hat ****************************************************/ --
Oct 6, 7:51 pm 2008
Greg KH
[patch 22/28] x86: Fix broken LDT access in VMI
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Zachary Amsden <zach@vmware.com> commit de59985e3a623d4d5d6207f1777398ca0606ab1c upstream After investigating a JRE failure, I found this bug was introduced a long time ago, and had already managed to survive another bugfix which occurred on the same line. The result is a total failure of the JRE due to LDT selectors not working properly. This one took a long time to rear up becaus...
Oct 6, 7:17 pm 2008
Greg KH
[patch 21/28] clockevents: remove WARN_ON which was used to ...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 61c22c34c6f80a8e89cff5ff717627c54cc14fd4 upstream The issue of the endless reprogramming loop due to a too small min_delta_ns was fixed with the previous updates of the clock events code, but we had no information about the spread of this problem. I added a WARN_ON to get automated information via kerneloops.org and to get some direct report...
Oct 6, 7:17 pm 2008
Greg KH
[patch 20/28] ntp: fix calculation of the next jiffie to tri...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Maciej W. Rozycki <macro@linux-mips.org> commit 4ff4b9e19a80b73959ebeb28d1df40176686f0a8 upstream We have a bug in the calculation of the next jiffie to trigger the RTC synchronisation. The aim here is to run sync_cmos_clock() as close as possible to the middle of a second. Which means we want this function to be called less than or equal to half a jiffie away from when now.tv_nsec ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 19/28] x86: HPET: read back compare register before r...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 72d43d9bc9210d24d09202eaf219eac09e17b339 upstream After fixing the u32 thinko I sill had occasional hickups on ATI chipsets with small deltas. There seems to be a delay between writing the compare register and the transffer to the internal register which triggers the interrupt. Reading back the value makes sure, that it hit the internal matc...
Oct 6, 7:17 pm 2008
Greg KH
[patch 18/28] x86: HPET fix moronic 32/64bit thinko
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit f7676254f179eac6b5244a80195ec8ae0e9d4606 upstream We use the HPET only in 32bit mode because: 1) some HPETs are 32bit only 2) on i386 there is no way to read/write the HPET atomic 64bit wide The HPET code unification done by the "moron of the year" did not take into account that unsigned long is different on 32 and 64 bit. This thinko ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 17/28] clockevents: broadcast fixup possible waiters
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 7300711e8c6824fcfbd42a126980ff50439d8dd0 upstream Until the C1E patches arrived there where no users of periodic broadcast before switching to oneshot mode. Now we need to trigger a possible waiter for a periodic broadcast when switching to oneshot mode. Otherwise we can starve them for ever. Signed-off-by: Thomas Gleixner <tglx@linutro...
Oct 6, 7:17 pm 2008
Greg KH
[patch 16/28] HPET: make minimum reprogramming delta useful
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 7cfb0435330364f90f274a26ecdc5f47f738498c upstream The minimum reprogramming delta was hardcoded in HPET ticks, which is stupid as it does not work with faster running HPETs. The C1E idle patches made this prominent on AMD/RS690 chipsets, where the HPET runs with 25MHz. Set it to 5us which seems to be a reasonable value and fixes the problems...
Oct 6, 7:17 pm 2008
Greg KH
[patch 15/28] clockevents: prevent endless loop lockup
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 1fb9b7d29d8e85ba3196eaa7ab871bf76fc98d36 upstream The C1E/HPET bug reports on AMDX2/RS690 systems where tracked down to a too small value of the HPET minumum delta for programming an event. The clockevents code needs to enforce an interrupt event on the clock event device in some cases. The enforcement code was stupid and naive, as it just ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 14/28] clockevents: prevent multiple init/shutdown
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 9c17bcda991000351cb2373f78be7e4b1c44caa3 upstream While chasing the C1E/HPET bugreports I went through the clock events code inch by inch and found that the broadcast device can be initialized and shutdown multiple times. Multiple shutdowns are not critical, but useless waste of time. Multiple initializations are simply broken. Another CPU m...
Oct 6, 7:17 pm 2008
Greg KH
[patch 13/28] clockevents: enforce reprogram in oneshot setup
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit 7205656ab48da29a95d7f55e43a81db755d3cb3a upstream In tick_oneshot_setup we program the device to the given next_event, but we do not check the return value. We need to make sure that the device is programmed enforced so the interrupt handler engine starts working. Split out the reprogramming function from tick_program_event() and call it wit...
Oct 6, 7:17 pm 2008
Greg KH
[patch 12/28] clockevents: prevent endless loop in periodic ...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Thomas Gleixner <tglx@linutronix.de> commit d4496b39559c6d43f83e4c08b899984f8b8089b5 upstream The reprogramming of the periodic broadcast handler was broken, when the first programming returned -ETIME. The clockevents code stores the new expiry value in the clock events device next_event field only when the programming time has not been elapsed yet. The loop in question calculates the...
Oct 6, 7:17 pm 2008
Greg KH
[patch 11/28] clockevents: prevent clockevent event_handler ...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> commit 7c1e76897492d92b6a1c2d6892494d39ded9680c upstream There is a ordering related problem with clockevents code, due to which clockevents_register_device() called after tickless/highres switch will not work. The new clockevent ends up with clockevents_handle_noop as event handler, resulting in no timer activity. The problematic ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 10/28] ACPI: Avoid bogus EC timeout when EC is in Pol...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Zhao Yakui <yakui.zhao@intel.com> commit 9d699ed92a459cb408e2577e8bbeabc8ec3989e1 upstream When EC is in Polling mode, OS will check the EC status continually by using the following source code: clear_bit(EC_FLAGS_WAIT_GPE, &ec->flags); while (time_before(jiffies, delay)) { if (acpi_ec_check_status(ec, event)) return 0; ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 09/28] rtc: fix deadlock
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ingo Molnar <mingo@elte.hu> commit 38c052f8cff1bd323ccfa968136a9556652ee420 upstream if get_rtc_time() is _ever_ called with IRQs off, we deadlock badly in it, waiting for jiffies to increment. So make the code more robust by doing an explicit mdelay(20). This solves a very hard to reproduce/debug hard lockup reported by Mikael Pettersson. Reported-by: Mikael Pettersson <mik...
Oct 6, 7:17 pm 2008
Greg KH
[patch 08/28] x86: add io delay quirk for Presario F700
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Chuck Ebbert <cebbert@redhat.com> commit e6a5652fd156a286faadbf7a4062b5354d4e346e upstream Manually adding "io_delay=0xed" fixes system lockups in ioapic mode on this machine. System Information Manufacturer: Hewlett-Packard Product Name: Presario F700 (KA695EA#ABF) Base Board Information Manufacturer: Quanta Product Name: 30D3 Reference: [ message continues ]
" title="https://bugzilla.redhat.com/s...">https://bugzilla.redhat.com/s...
Oct 6, 7:17 pm 2008
Greg KH
[patch 07/28] ACPI: Fix thermal shutdowns
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Milan Broz <mbroz@redhat.com> commit 9f497bcc695fb828da023d74ad3c966b1e58ad21 upstream ACPI: Fix thermal shutdowns Do not use unsigned int if there is test for negative number... See drivers/acpi/processor_perflib.c static unsigned int ignore_ppc = -1; ... if (event == CPUFREQ_START && ignore_ppc <= 0) { ignore_ppc = 0; ... Signed-off-by: Milan Broz &lt...
Oct 6, 7:17 pm 2008
Greg KH
[patch 06/28] i2c-dev: Return correct error code on class_cr...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Sven Wegener <sven.wegener@stealer.net> In Linus' tree: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commit;h=e7... We need to convert the error pointer from class_create(), else we'll return the successful return code from register_chrdev() on failure. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Sig...
Oct 6, 7:17 pm 2008
Greg KH
[patch 05/28] ALSA: hda - Fix model for Dell Inspiron 1525
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Takashi Iwai <tiwai@suse.de> commit 24918b61b55c21e09a3e07cd82e1b3a8154782dc upstream Dell Inspiron 1525 seems to have a buggy BIOS setup and screws up the recent codec parser, as reported by Oleksandr Natalenko: http://lkml.org/lkml/2008/9/12/203 This patch adds the working model, dell-3stack, statically. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 04/28] drivers/mmc/card/block.c: fix refcount leak in...
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Andrew Morton <akpm@linux-foundation.org> commit 70bb08962ea9bd50797ae9f16b2493f5f7c65053 upstream mmc_block_open() increments md->usage although it returns with -EROFS when default mounting a MMC/SD card with write protect switch on. This reference counting bug prevents /dev/mmcblkX from being released on card removal, and situation worsen with reinsertion until the minor number ...
Oct 6, 7:17 pm 2008
Greg KH
[patch 03/28] pxa2xx_spi: chipselect bugfixes
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ned Forrester <nforrester@whoi.edu> commit 8423597d676615f3dd2d9ab36f59f147086b90b8 upstream Fixes several chipselect bugs in the pxa2xx_spi driver. These bugs are in all versions of this driver and prevent using it with chips like m25p16 flash. 1. The spi_transfer.cs_change flag is handled too early: before spi_transfer.delay_usecs applies, thus making the delay ineffect...
Oct 6, 7:17 pm 2008
Greg KH
[patch 02/28] pxa2xx_spi: dma bugfixes
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ned Forrester <nforrester@whoi.edu> commit 7e96445533ac3f4f7964646a202ff3620602fab4 upstream Fixes two DMA bugs in the pxa2xx_spi driver. The first bug is in all versions of this driver; the second was introduced in the 2.6.20 kernel, and prevents using the driver with chips like m25p16 flash (which can issue large DMA reads). 1. Zero length transfers are permitted for use to inse...
Oct 6, 7:17 pm 2008
Greg KH
[patch 01/28] USB: fix hcd interrupt disabling
2.6.25-stable review patch. If anyone has any objections, please let us know. ------------------ From: Geoff Levand <geoffrey.levand@am.sony.com> commit 83a798207361cc26385187b2e71efa2b5d75de7f upstream Commit de85422b94ddb23c021126815ea49414047c13dc, 'USB: fix interrupt disabling for HCDs with shared interrupt handlers' changed usb_add_hcd() to strip IRQF_DISABLED from irqflags prior to calling request_irq() with the justification that such a removal was necessary for shared interr...
Oct 6, 7:16 pm 2008
dougthompson
[PATCH 1/2] edac i5000 fix error messages
From: Aristeu Rozanski <aris@redhat.com> This patch updates the i5000_edac messages, making everything pass through the EDAC (so the log controls will work) and being more specific about the errors. Also, it makes the miscellaneous errors optional and disabled by default. As I didn't found anywhere information about M23ERR-M26ERR (FERR_NF_THERMAL) on FERR_NF_FBD, I'm removing them. Signed-off-by: Aristeu Rozanski <aris@redhat.com> Signed-off-by: Doug Thompson <dougthompson@xmiss...
Oct 6, 7:12 pm 2008
dougthompson
[PATCH 2/2] edac i5000 fix thermal issues
From: Aristeu Rozanski <aris@redhat.com> This patch makes the Thermal messages (temperature got past Tmid) to be displayed only once because: 1) it's the BIOS job to configure and handle the memory throttling 2) if the BIOS is broken or is aware about the condition, flooding the system logs won't help anything. 3) According to the specification update for Intel 5000 MCHs, all the revisions of this MCH have problems on the thermal sensors, making not automatic (a.k.a. intelligent the...
Oct 6, 7:12 pm 2008
Steven Rostedt
[PATCH 2/3] ftrace: rename FTRACE to FUNCTION_TRACER
Due to confusion between the ftrace infrastructure and the gcc profiling tracer "ftrace", this patch renames the config options from FTRACE to FUNCTION_TRACER. The other two names that are offspring from FTRACE DYNAMIC_FTRACE and FTRACE_MCOUNT_RECORD will stay the same. This patch was generated mostly by script, and partially by hand. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- Makefile | 2 +- arch/arm/Kconfig ...
Oct 6, 7:06 pm 2008
Steven Rostedt
[PATCH 0/3] ftrace: separate ftrace from ftrace
There has been a lot of confusion between ftrace the infrastructure and ftrace the function tracer within ftrace. Developers have added dependencies on HAVE_FTRACE when they did not need to. The HAVE_FTRACE was the architecture supported the function tracer. This patch series renames the ftrace function tracer to just that, FUNCTION_TRACER. And even renames the tracer shown to users from 'ftrace' to 'function'. Now, when referring to ftrace, it means the ftrace infrastructure, and when referri...
Oct 6, 7:06 pm 2008
Steven Rostedt
[PATCH 1/3] ftrace: fix depends
A lot of tracers have HAVE_FTRACE as a dependent config where it really should not. The HAVE_FTRACE is a misnomer (soon to be fixed) and describes if the architecture has the function tracer (mcount) implemented. The ftrace infrastructure is implemented in all archs. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- kernel/trace/Kconfig | 5 ----- 1 file changed, 5 deletions(-) Index: linux-tip.git/kernel/trace/Kconfig ============================================================...
Oct 6, 7:06 pm 2008
Steven Rostedt
[PATCH 3/3] ftrace: rename the ftrace tracer to function
To avoid further confusion between the ftrace infrastructure and the function tracer. This patch renames the "ftrace" function tracer to "function". Now in available_tracers, instead of "ftrace" there will be "function". This makes more sense, since people will not know exactly what the "ftrace" tracer does. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- kernel/trace/trace_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-tip.git/kernel/trace...
Oct 6, 7:06 pm 2008
Alexey Dobriyan
[PATCH] proc: remove unused ADDBUF macro
[added to proc.git] commit abac1335ec9c43834ff764eee3c4d026b6b9bba6 Author: Alexey Dobriyan <adobriyan@gmail.com> Date: Tue Oct 7 01:58:45 2008 +0400 proc: remove now unneeded ADDBUF macro After local seq_file conversion it was forgotten. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> diff --git a/fs/proc/array.c b/fs/proc/array.c index 1c8d7b5..f4bc0e7 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -86,11 +86,6 @@ #include <asm/proces...
Oct 6, 6:29 pm 2008
Boris Fersing
Re: bad DMAR interaction with iwlagn and SATA
Hi, I just subscribed to the mailing list, I can't quote the previous messages. I'm answering to this thread : http://www.gossamer-threads.com/lists/linux/kernel/976913 I've the same problem here with my Lenovo T400. I tried 2.6.26 kernels and the 2.6.27-rc8. The bug occurs with the e1000e module while running the 2.6.26 kernel and with iwlagn while running the 2.6.27-rc8 (I didn't build the 2.6.27 e1000e module, because of the nvram bug) Here is some dmesg output, the last one is from th...
Oct 6, 6:11 pm 2008
Arjan van de Ven
[PATCH] resource: ensure MMIO exclusivity for device drivers
updated version; many updates based on Alan's feedback I also have a second patch that transforms basically drivers/video to the non-exclusive API, but I'll wait with that until this one gets more backed From: Arjan van de Ven <arjan@linux.intel.com> Date: Sun, 5 Oct 2008 18:00:15 -0700 Subject: [PATCH] resource: ensure MMIO exclusivity for device drivers Device drivers that use pci_request_regions() (and similar APIs) have a reasonable expectation that they are the only ones accessing t...
Oct 6, 5:46 pm 2008
Jon Tollefson
[PATCH v2] properly reserve in bootmem the lmb reserved regi...
If there are multiple reserved memory blocks via lmb_reserve() that are contiguous addresses and on different NUMA nodes we are losing track of which address ranges to reserve in bootmem on which node. I discovered this when I only recently got to try 16GB huge pages on a system with more then 2 nodes. When scanning the device tree in early boot we call lmb_reserve() with the addresses of the 16G pages that we find so that the memory doesn't get used for something else. For example the addre...
Oct 6, 5:44 pm 2008
Corey Minyard
[PATCH 3/3] Convert the UDP hash lock to RCU
Change the UDP hash lock from an rwlock to RCU. Signed-off-by: Corey Minyard <cminyard@mvista.com> --- include/net/udp.h | 9 +++++---- net/ipv4/udp.c | 47 +++++++++++++++++++++++++++-------------------- net/ipv6/udp.c | 17 +++++++++-------- 3 files changed, 41 insertions(+), 32 deletions(-) diff --git a/include/net/udp.h b/include/net/udp.h index addcdc6..35aa104 100644 --- a/include/net/udp.h +++ b/include/net/udp.h @@ -51,7 +51,7 @@ struct udp_skb_cb { #define UDP_S...
Oct 6, 2:50 pm 2008
Eric Dumazet
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
UDP central rwlock can hurt performance, because of cache line ping pong, so your patch really makes sense. Me wondering what impact this synchronize_rcu() can have on mono-threaded VOIP applications using lot of UDP sockets. What is the maximum delay of this function ? For "struct file" freeing, we chose call_rcu() instead of synchronize_rcu() Maybe we could add a generic rcu head to struct sock, and use call_rcu() in sk_prot_free() for sockets needing RCU (udp after your patch is applied, m...
Oct 6, 5:22 pm 2008
Corey Minyard
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
It delays until all currently executing RCU read-side sections have executed (new ones don't count, just currently executing ones). I'm not sure what this delay is, but I would expect it to be fairly small. This function is only called when a socket is closed, too, so it's not a I'd prefer that, too, but that would mean adding another member to the RCU probably wouldn't be a good choice for short-lived http sessions, since you will only get a couple of messages that would matter. I'm not ag...
Oct 6, 6:07 pm 2008
David Miller
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
From: Eric Dumazet <dada1@cosmosbay.com> The cost is enormous, we really can't use it here. I have a patch that did top-level socket destruction using RCU, and that didn't use synchronize_rcu(), and that killed connection rates by up to %20. I can only imagine what the cost would be if I had to add such a call in there. Really, I can't consider these changes seriously, as-is. --
Oct 6, 5:40 pm 2008
Corey Minyard
Re: [PATCH 3/3] Convert the UDP hash lock to RCU
Would using SLAB_DESTROY_BY_RCU be ok, or would that be too expensive? -corey --
Oct 6, 7:08 pm 2008
previous daytodaynext day
October 5, 2008October 6, 2008October 7, 2008