linux-kernel mailing list

FromSubjectsort iconDate
mc
Message from your friend
Seeking best source of meds? All you need you can find here: WWW.ALLBEST.TK --
Jan 12, 8:03 pm 2008
mastercard
Re: Your request
Seeking best source of meds? All you need you can find here: WWW.ALLSEEK.TK --
Jan 12, 8:01 pm 2008
Georgi Chulkov
ATA device reset, shoud I be concerned?
Hello, During heavy disk load on my laptop, sometimes the IDE disk will pause for a second and then continue. I get this in my kernel log: [ 9031.028000] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen [ 9031.028000] ata1.00: cmd c8/00:08:90:ca:ce/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in [ 9031.028000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 9036.068000] ata1: port is slow to respond, please be patient (Status 0xd0) [ 9041.052000] ata1: d...
Jan 13, 6:19 pm 2008
Miguel Botón
Re: [PATCH] [MEMSTICK] Initial commit for Sony MemoryStick s...
This happens when trying to compile memory stick support inside the kernel. drivers/memstick/core/mspro_block.o: In function `memstick_priv': mspro_block.c:(.text+0x0): multiple definition of `memstick_priv' drivers/memstick/core/memstick.o:memstick.c:(.text+0x0): first defined here drivers/memstick/core/mspro_block.o: In function `memstick_get_drvdata': mspro_block.c:(.text+0x6): multiple definition of `memstick_get_drvdata' drivers/memstick/core/memstick.o:memstick.c:(.text+0x6): first defined her...
Jan 13, 6:47 pm 2008
Paolo Ciarrocchi
checkpatch: add filename before the summary line
With the patch applied the output of checkpatch.pl is as follow: ./arch/arm/mach-footbridge/ebsa285-pci.c total: 1 errors, 0 warnings, 48 lines checked Adding the file name allowed me to collects stats running: find . -name *.c |xargs ./scripts/checkpatch.pl --file |grep -B 1 total but I though it might me useful for other purposes to add the file name after the list of errors and warnings and before the summary, when the list is long I find handy to print out the filename as a reminder. Si...
Jan 13, 6:34 pm 2008
Neil Brown
Re: [PATCH 3/5] NLM: Have lockd call try_to_freeze
I would suggest dropping it. Having unnecessary code is likely to be confusing. NeilBrown --
Jan 13, 6:24 pm 2008
Rafael J. Wysocki
Re: [PATCH 3/5] NLM: Have lockd call try_to_freeze
But adding a comment instead of it won't hurt, IMHO. :-) Greetings, Rafael --
Jan 13, 7:59 pm 2008
Sam Ravnborg
[PATCH] kbuild: simplify section mismatch check in modpost
In another thread I mentioned the idea to introduce additional sections for all the __init markers. Introducing checks for all the new combinations in modpost turned out to be difficult so I decided to clean up what we have today by introducing a table based approach. The patch below is the result of this effort. I have pushed out kbuild.git with this change so grab it there if you like to play with it. Comments are welcome. The pattern_cmp() includes support for "*foo*" but that is not yet ...
Jan 13, 5:34 pm 2008
Cyrill Gorcunov
[PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
This patch converts ioctl call to unlocked_ioctl form with explicit big-kernel-lock. Also it makes a bit of cleanup converting miscdevice structure initialization to C99 form. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Any comments are welcome. This is untested code - i've no such chip on my laptop. Andi, i think we could use mutex to eliminate BKL, but not sure. drivers/char/ip27-rtc.c | 86 ++++++++++++++++++++++++++++------------------- 1 files changed, 51 inserti...
Jan 13, 4:32 pm 2008
Andi Kleen
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
First please always send cleanup patches separately. I think you have more than just the C99 conversion. Were you even able to compile it? Since ip27 is ia64 only that would need an IA64 cross compiler or a native ia64 machine. It's probably better to focus on drivers only that actually build on x86 :- see http://www.halobates.de/allyes for a compile log showing all buildable files for x86-64 and i386. Other than that the patch looks ok to me, but I haven't tried to compile it either. -...
Jan 13, 7:08 pm 2008
Jiri Slaby
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
This routine seems to be re-entrant due to parameters on stack + the spin lock, Post these cleanup things as a separate patch, please. regards, -- Jiri Slaby Faculty of Informatics, Masaryk University Suse Labs --
Jan 13, 5:22 pm 2008
Jiri Slaby
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
s/parameters/variables/; too sleeeepy. --
Jan 13, 5:29 pm 2008
Cyrill Gorcunov
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
Thanks Jiri. Will do that all tomorrow. --
Jan 13, 5:32 pm 2008
Alexey Dobriyan
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
Looks like it can be dropped here. All usage of rtc-> is done under rtc_lock. Every other variable there is thread-local. --
Jan 13, 5:07 pm 2008
Cyrill Gorcunov
Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl
Thanks, Alexey for review, i'll make it updated tomorrow. (sorry for top-post) --
Jan 13, 5:25 pm 2008
Borislav Petkov
[PATCH 0/12] ide-floppy redux v2.5
Hi Bart, here are the remaining patches which had issues to be worked out. I decided to keep the Flexible Disk Page and Capacity Descriptor in idefloppy_floppy_t for the sake of the two printk calls for which they are used. Otherwise, we'll be changing long-known driver behavior and this won't be acceptable. I'll audit the driver to see whether rq_data_dir() can replace the PC_WRITING flag completely and get rid of that one too. By the way, I have an Iomega ZIP 100 drive somewhere in my hardware ...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 1/12] ide-floppy: remove struct idefloppy_mode_parame...
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 26 +++----------------------- 1 files changed, 3 insertions(+), 23 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 2b9885f..7648684 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -365,24 +365,6 @@ typedef struct { #define IDEFLOPPY_CAPABILITIES_PAGE 0x1b #define IDEFLOPPY_FLEXIBLE_DISK_PAGE 0x05 -/* - * Mode Parameter Header for the MODE ...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 2/12] ide-floppy: remove struct idefloppy_flexible_di...
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 90 ++++++++++++++++++--------------------------- 1 files changed, 36 insertions(+), 54 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 7648684..06d83cb 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -120,33 +120,6 @@ typedef struct idefloppy_packet_command_s { #define PC_SUPPRESS_ERROR 6 /* Suppress error reporting */ /* - * Flexible disk...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 3/12] ide-floppy: remove struct idefloppy_capacity_de...
Also, - remove the accompanying 4 byte idefloppy_capacity_header. - rename functions from idefloppy_... to ide_floppy_... after cleanup. - simplify loop in ide_floppy_get_capacity() by reversing if-test condition logically. - finally, fix white space and checkpatch.pl issues Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 176 ++++++++++++++++++++-------------------------- 1 files changed, 76 insertions(+), 100 deletions(-) diff --git a/drivers/ide/ide...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 4/12] ide-floppy: factor out ioctl handlers from idef...
By passing idefloppy_floppy_t *floppy to the factored out functions, we get rid of (almost) all local vars so stack usage should be at minimum here. Also, we merge idefloppy_begin_format() into idefloppy_format_start() since it is its only user. Also, rename idefloppy_format_start() to idefloppy_format_unit(). Finally, rename the reworked functions to ide_floppy..(). Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 153 +++++++++++++++++++++++----------------...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 5/12] ide-floppy: report DMA handling in idefloppy_pc...
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 00ea8d6..5004773 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -534,11 +534,17 @@ static ide_startstop_t idefloppy_pc_intr (ide_drive_t *drive) unsigned int temp; u16 bcount; u8 stat, ireason; + int dma_error = 0; debug_log("Reached %s ...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 6/12] ide-floppy: mv idefloppy_{should_,}report_error
In addition to shortening the function name, move the printk-call into the function thereby saving some code lines. Also, make the function out_of_line since it is not on a performance critical path. Finally, rename the reworked function to ide_floppy..(). Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 38 ++++++++++++++------------------------ 1 files changed, 14 insertions(+), 24 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-fl...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 7/12] ide-floppy: remove IDEFLOPPY_DEBUG_BUGS macro
Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index b826ac5..e7cc9dd 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -52,7 +52,6 @@ */ #define IDEFLOPPY_DEBUG_LOG 0 #define IDEFLOPPY_DEBUG_INFO 0 -#define IDEFLOPPY_DEBUG_BUGS 1 /* #define IDEFLOPPY_DEBUG(fmt, args...) printk(KERN_INFO fmt, ...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 8/12] ide-floppy: merge idefloppy_{input,output}_buff...
We merge idefloppy_{input,output}_buffers() into idefloppy_io_buffers() by introducing a 4th arg. called direction. According to its value we atapi_input_bytes() or atapi_output_bytes(). Also, this simplifies the interrupt handler logic a bit. Finally, rename idefloppy_io_buffers() to ide_floppy_io_buffers(). Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 67 +++++++++++++-------------------------------- 1 files changed, 20 insertions(+), 47 deletions(-)...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 9/12] ide-floppy: remove unused IDEFLOPPY_USE_READ12
This flag is not being set anywhere in the driver so it can go. Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 6c917fc..790e33f 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -180,7 +180,6 @@ typedef struct ide_floppy_obj { */ #define IDEFLOPPY_DRQ_INTERRUPT 0 /* DRQ interrupt dev...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 10/12] ide-floppy: remove atomic test_*bit macros
..and replace them with flag enums. Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 132 +++++++++++++++++++++++++-------------------- 1 files changed, 73 insertions(+), 59 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 790e33f..8e7714a 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -107,16 +107,21 @@ typedef struct idefloppy_packet_command_s { unsigned long flags; /* Status/Action bit f...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 11/12] ide-floppy: remove IDEFLOPPY_DEBUG_INFO
This info is already available through ioctl() and /proc Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> --- drivers/ide/ide-floppy.c | 63 +++++++++------------------------------------ 1 files changed, 13 insertions(+), 50 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 8e7714a..f9faf26 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -47,11 +47,8 @@ #include <linux/io.h> #include <asm/unaligned.h> -/* ...
Jan 13, 4:18 pm 2008
Borislav Petkov
[PATCH 12/12] ide-floppy: fix most of the remaining checkpat...
such as ERROR: switch and case should be at the same indent ERROR: need spaces around that '=' (ctx:VxV) ERROR: trailing statements should be on next line WARNING: no space between function name and open parenthesis '(' WARNING: printk() should include KERN_ facility level ERROR: That open brace { should be on the previous line ERROR: use tabs not spaces ERROR: do not use assignment in if condition WARNING: braces {} are not necessary for single statement blocks ERROR: need space after that ',' (c...
Jan 13, 4:18 pm 2008
Steven Rostedt
2.6.24-rc7-rt1
We are pleased to announce the 2.6.24-rc7-rt1 tree, which can be downloaded from the location: http://rt.et.redhat.com/download/ Information on the RT patch can be found at: http://rt.wiki.kernel.org/index.php/Main_Page Changes since 2.6.24-rc5-rt1 - ported to 2.6.24-rc7 - Modifications to mcount (following upstream push) - Fixed Arm for new mcount calling (Clark Williams) - Fixed PPC for new mcount calling (Steven Rostedt) - dev_queue_xmit preemption fix (Mark...
Jan 13, 3:00 pm 2008
Mark Knecht
Re: 2.6.24-rc7-rt1
Up and running here. No significant testing but no problems building it and no obvious regressions from 2.6.24-rc2-rt1. mark@lightning ~ $ uname -a Linux lightning 2.6.24-rc7-rt1 #1 PREEMPT RT Sun Jan 13 14:41:21 PST 2008 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux mark@lightning ~ $ - Mark --
Jan 13, 6:56 pm 2008
Mariusz Kozlowski
Re: 2.6.24-rc7-rt1
CC kernel/lockdep.o kernel/lockdep.c: In function 'trace_hardirqs_on': kernel/lockdep.c:2068: error: too many arguments to function 'trace_hardirqs_on_caller' make[1]: *** [kernel/lockdep.o] Error 1 make: *** [kernel] Error 2 --- linux-2.6.24-rc7-rt1.orig/kernel/lockdep.c 2008-01-11 21:16:46.000000000 -0500 +++ linux-2.6.24-rc7-rt1/kernel/lockdep.c 2008-01-11 21:18:10.000000000 -0500 [... snip ...] /* * Hardirqs will be enabled: */ -void trace_hardirqs_on(void) +notrac...
Jan 13, 4:43 pm 2008
Steven Rostedt
Re: 2.6.24-rc7-rt1
Servers me right for releasing without testing more than one config. I compiled for x86_64, i386 and PPC 32 and 64, but all without any tracing on. And I should have since I modified that a bit. OK, -rt2 will take a bit more beating from me before I release it, so it might take some time to get it out (expect it out on Monday). -- Steve --
Jan 13, 4:54 pm 2008
Robert Schwebel
Re: 2.6.24-rc7-rt1
Works fine on phyCORE-MPC5200B-tiny, here are the latest results: http://www.pengutronix.de/oselas/realtime/results/20080113-1/ However, when I try to switch on the latency tracer, it ends with the warnings below. I've added early_printk() stubs in order to make it link at all. In file included from kernel/latency_trace.c:27: include/asm/asm-offsets.h:76:1: warning: "CLONE_VM" redefined In file included from include/linux/security.h:32, from include/linux/mm.h:15, ...
Jan 13, 4:25 pm 2008
Steven Rostedt
Re: 2.6.24-rc7-rt1
That doesn't look too bad. Or is over a 100us not good for that box? Yeah, I didn't make any attempt to fix latency_tracing for PPC on this release. I expected as much. I do have a couple of PPC boxes that I can play with, and I'll see if I can get that working too before -rt2. But I want to get a stable x86 release out fast. Thanks, -- Steve --
Jan 13, 4:48 pm 2008
Mariusz Kozlowski
Re: 2.6.24-rc7-rt1: macro "put_cpu_var" passed 2 arguments, ...
CC arch/x86/mm/init_32.o In file included from include/asm-generic/tlb.h:17, from include/asm/tlb.h:9, from arch/x86/mm/init_32.c:43: include/linux/quicklist.h:73:28: error: macro "put_cpu_var" passed 2 arguments, but takes just 1 In file included from include/asm-generic/tlb.h:17, from include/asm/tlb.h:9, from arch/x86/mm/init_32.c:43: include/linux/quicklist.h: In function '__quicklist_free': include/linux/quicklist.h:7...
Jan 13, 3:53 pm 2008
Steven Rostedt
Re: 2.6.24-rc7-rt1: macro "put_cpu_var" passed 2 arguments, ...
Ouch! <looks at rejs> *************** static inline void __quicklist_free(int *** 76,86 **** return; } - q = &get_cpu_var(quicklist)[nr]; *(void **)p = q->page; q->page = p; q->nr_pages++; - put_cpu_var(quicklist); } static inline void quicklist_free(int nr, void (*dtor)(void *), void *pp) --- 73,83 ---- return; } + q = &get_cpu_var_locked(quicklist, &cpu)[nr]; *(void **)p = q->page; q->page = p; q->nr...
Jan 13, 4:37 pm 2008
travis
[PATCH 10/10] x86: Change bios_cpu_apicid to percpu data var...
Change static bios_cpu_apicid array to a per_cpu data variable. This includes using a static array used during initialization similar to the way x86_cpu_to_apicid[] is handled. There is one early use of bios_cpu_apicid in apic_is_clustered_box(). The other reference in cpu_present_to_apicid() is called after smp_set_apicids() has setup the percpu version of bios_cpu_apicid. Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/...
Jan 13, 2:35 pm 2008
travis
[PATCH 09/10] x86: Change NR_CPUS arrays in acpi-cpufreq
Change the following static arrays sized by NR_CPUS to per_cpu data variables: acpi_cpufreq_data *drv_data[NR_CPUS] Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -67,7 +67,8 @@ struct acpi_cpufreq_data ...
Jan 13, 2:35 pm 2008
travis
[PATCH 02/10] x86: Change size of node ids from u8 to u16
Change the size of node ids from 8 bits to 16 bits to accomodate more than 256 nodes. Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/mm/numa_64.c | 9 ++++++--- arch/x86/mm/srat_64.c | 2 +- include/asm-x86/numa_64.h | 4 ++-- include/asm-x86/topology.h | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c @@ -11,6 +11,7 @@ #include &lt...
Jan 13, 2:34 pm 2008
Eric Dumazet
Re: [PATCH 02/10] x86: Change size of node ids from u8 to u16
So, you think some machine is going to have more than 256 nodes ? If so, you probably need to change 'struct memnode' too (include/asm-x86/mmzone_64.h) --
Jan 13, 4:01 pm 2008
travis
[PATCH 01/10] x86: Change size of APICIDs from u8 to u16
Change the size of APICIDs from u8 to u16. This partially supports the new x2apic mode that will be present on future processor chips. (Chips actually support 32-bit APICIDs, but that change is more intrusive. Supporting 16-bit is sufficient for now). Signed-off-by: Jack Steiner <steiner@sgi.com> I've included just the partial change from u8 to u16 apicids. The remaining x2apic changes will be in a separate patch. In addition, the fake_node_to_pxm_map[] and fake_apicid_to_node[] tables...
Jan 13, 2:34 pm 2008
travis
[PATCH 03/10] x86: Change NR_CPUS arrays in powernow-k8
Change the following static arrays sized by NR_CPUS to per_cpu data variables: powernow_k8_data *powernow_data[NR_CPUS]; Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c @@ -53,7 +53,7 @@ /* serialize freq changes */ st...
Jan 13, 2:34 pm 2008
travis
[PATCH 00/10] x86: Reduce memory and intra-node effects with...
This patchset addresses the kernel bloat that occurs when NR_CPUS is increased. The memory numbers below are with NR_CPUS = 1024 which I've been testing (4 and 32 real processors, the rest "possible" using the additional_cpus start option.) These changes are all specific to the x86 architecture, non-arch specific changes will follow. Based on 2.6.24-rc6-mm1 Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- The following columns are...
Jan 13, 2:34 pm 2008
travis
[PATCH 06/10] x86: Change NR_CPUS arrays in topology
Change the following static arrays sized by NR_CPUS to per_cpu data variables: i386_cpu cpu_devices[NR_CPUS]; (And change the struct name to x86_cpu.) Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/topology.c | 8 ++++---- include/asm-x86/cpu.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/arch/x86/kernel/topology.c +++ b/arch/x86/kernel/topology.c @@ -31,7 +31,7 @@ #include &lt...
Jan 13, 2:34 pm 2008
travis
[PATCH 05/10] x86: Change NR_CPUS arrays in smpboot_64
Change the following static arrays sized by NR_CPUS to per_cpu data variables: task_struct *idle_thread_array[NR_CPUS]; This is only done if CONFIG_HOTPLUG_CPU is defined as otherwise, the array is removed after initialization anyways. Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/smpboot_64.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) --- a/arch/x86/kernel/smpboot_64.c +++ b/arch/...
Jan 13, 2:34 pm 2008
travis
[PATCH 07/10] x86: Cleanup x86_cpu_to_apicid references
Clean up references to x86_cpu_to_apicid. Removes extraneous comments and standardizes on "x86_*_early_ptr" for the early kernel init references. Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/genapic_64.c | 11 ++--------- arch/x86/kernel/mpparse_64.c | 11 +++-------- arch/x86/kernel/setup_64.c | 2 +- arch/x86/kernel/smpboot_32.c | 9 ++------- arch/x86/kernel/smpboot_64.c | 16 +++++++++------- in...
Jan 13, 2:35 pm 2008
travis
[PATCH 08/10] x86: Change NR_CPUS arrays in numa_64
Change the following static arrays sized by NR_CPUS to per_cpu data variables: char cpu_to_node_map[NR_CPUS]; Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/setup_64.c | 4 +++- arch/x86/kernel/smpboot_64.c | 6 +++++- arch/x86/mm/numa_64.c | 20 ++++++++++++++++---- include/asm-x86/numa_64.h | 2 -- include/asm-x86/topology.h | 15 +++++++++++++-- net/sunrpc/svc.c | 1 ...
Jan 13, 2:35 pm 2008
travis
[PATCH 04/10] x86: Change NR_CPUS arrays in intel_cacheinfo
Change the following static arrays sized by NR_CPUS to per_cpu data variables: _cpuid4_info *cpuid4_info[NR_CPUS]; _index_kobject *index_kobject[NR_CPUS]; kobject * cache_kobject[NR_CPUS]; Signed-off-by: Mike Travis <travis@sgi.com> Reviewed-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/cpu/intel_cacheinfo.c | 55 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 26 deletions(-) --- a/arch/x86/kernel/cpu/intel_cacheinfo.c +++ b/arch/x86/ke...
Jan 13, 2:34 pm 2008
Andrea Arcangeli
[PATCH] mmu notifiers #v2
[Empty message]
Jan 13, 12:24 pm 2008
Benjamin Herrenschmidt
Re: [PATCH] mmu notifiers #v2
Another potential user of that I can see is the DRM. Nowadays, graphic cards essentially have an MMU on chip, and can do paging. It would be nice to be able to map user objects in them without having to lock them down using your callback to properly mark them cast out on the card. Ben. --
Jan 13, 5:11 pm 2008
previous daytodaynext day
January 12, 2008January 13, 2008January 14, 2008