linux-kernel mailing list

FromSubjectsort iconDate
Kevin Winchester
Re: [X86][BISECTED] WARNING: at kernel/lockdep.c:2680
I didn't manage to get through a bisection run for the warning - thanks to Sitsofe for doing it. The patch does eliminate the warning for me. Thanks, -- Kevin Winchester --
Jun 5, 7:53 pm 2008
OGAWA Hirofumi
[PATCH] fat: Relax the permission check of fat_setattr()
New chmod() allows only acceptable permission, and if not acceptable, it returns -EPERM. Old one allows even if it can't store permission to on disk inode. But it seems too strict for users. E.g. https://bugzilla.redhat.com/show_bug.cgi?id=449080: With new one, rsync couldn't create the temporary file. So, this patch allows like old one, but now it doesn't change the permission if it can't store, and it returns 0. Also, this patch fixes missing check. Signed-off-by: OGAWA Hirofumi <hirofu...
Jun 5, 7:32 pm 2008
Keika Kobayashi
[PATCH 0/3 v2] per-task-delay-accounting: add memory reclaim...
Hi. This is v2 of accounting memory reclaim patch series. Thanks to Kosaki-san, Kamezawa-san, Andrew for comments and advice! These patches were fixed about the following. Against: next-20080605 1) Change Log o Add accounting memory reclaim delay from memcgroup. For accounting both global and cgroup memory reclaim, accounting point was moved from try_to_free_pages() to do_try_to_free_pages. o Drop the patch regarding /proc export for memory reclaim delay. Because it seems that...
Jun 5, 7:27 pm 2008
Keika Kobayashi
[PATCH 3/3 v2] per-task-delay-accounting: update document an...
Update document and make getdelays.c show delay accounting for memory reclaim. For making a distinction between "swapping in pages" and "memory reclaim" in getdelays.c, MEM is changed to SWAP. Signed-off-by: Keika Kobayashi <kobayashi.kk@ncos.nec.co.jp> --- Documentation/accounting/delay-accounting.txt | 11 ++++++++--- Documentation/accounting/getdelays.c | 8 ++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Documentation/accounting/delay-accounting...
Jun 5, 7:33 pm 2008
Keika Kobayashi
[PATCH 2/3 v2] per-task-delay-accounting: update taskstats f...
Add members for memory reclaim delay to taskstats, and accumulate them in __delayacct_add_tsk() . Signed-off-by: Keika Kobayashi <kobayashi.kk@ncos.nec.co.jp> --- include/linux/taskstats.h | 4 ++++ kernel/delayacct.c | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/linux/taskstats.h b/include/linux/taskstats.h index 5d69c07..87aae21 100644 --- a/include/linux/taskstats.h +++ b/include/linux/taskstats.h @@ -81,6 +81,10 @@ struct taskstats { ...
Jun 5, 7:32 pm 2008
Keika Kobayashi
[PATCH 1/3 v2] per-task-delay-accounting: add memory reclaim...
Sometimes, application responses become bad under heavy memory load. Applications take a bit time to reclaim memory. The statistics, how long memory reclaim takes, will be useful to measure memory usage. This patch adds accounting memory reclaim to per-task-delay-accounting for accounting the time of do_try_to_free_pages(). <i.e> - When System is under low memory load, memory reclaim may not occur. $ free total used free shared buffers cached Me...
Jun 5, 7:31 pm 2008
Johannes Weiner
[PATCH -mm 14/14] bootmem: replace node_boot_start in struct...
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 +++--- arch...
Jun 5, 6:49 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 ++++++-------------------...
Jun 5, 6:49 pm 2008
Johannes Weiner
[PATCH -mm 12/14] bootmem: Make __alloc_bootmem_low_node fal...
__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 @@ -610,6 +610,19 @@ void * __init __alloc_bootmem_low(unsign return ___alloc_bootmem(size, align,...
Jun 5, 6:49 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 failed...
Jun 5, 6:49 pm 2008
Johannes Weiner
[PATCH -mm 10/14] bootmem: factor out the marking of a PFN r...
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 bou...
Jun 5, 6:49 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 | 65 +++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 22 deletions(-) --- a/mm/bootmem.c +++ b/mm/bootmem.c @@ -225,6 +225,44 @@ unsigned long __init free_all_bootmem(vo return...
Jun 5, 6:49 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. bdata->last_pos has been dropped. bdata->last_success has been renamed to hint_idx and it is now an index relative to the node's range. Since further block searching might start at this index, it is now set to the end of a succeeded allocation rather than its beginning. bdata->last_offset has been renamed to last_end_off to be more clear that it represents the ending addres...
Jun 5, 6:49 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 u...
Jun 5, 6:49 pm 2008
Johannes Weiner
[PATCH -mm 06/14] bootmem: revisit bootmem descriptor list h...
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...
Jun 5, 6:49 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__, ## args);...
Jun 5, 6:49 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 bootmem_node_data[MAX_NUMNOD...
Jun 5, 6:49 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 | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 149 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: numb...
Jun 5, 6:49 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 Ing...
Jun 5, 6:49 pm 2008
Johannes Weiner
[PATCH -mm 01/14] bootmem: reorder code to match new bootmem...
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; +/* + *...
Jun 5, 6:49 pm 2008
Johannes Weiner
[PATCH -mm 00/14] bootmem rewrite v4
Hi, This is a complete overhaul of the bootmem allocator while preserving most of its original functionality. free_bootmem and reserve_bootmem become a bit stricter than they are right now, callsites have to make sure that the PFN range is contiguous but it might go across node boundaries. alloc_bootmem satisfying the allocation goal is more likely as the routines will try to allocate on the node holding the goal first before falling back as opposed to the original behaviour that satisfies th...
Jun 5, 6:49 pm 2008
Michał Kudła
[2.6.26-rc5] iwlwifi 4965 not working - last on 2.6.23
Hello, according to http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html [1.] One line summary of the problem: [2.6.26-rc5] iwlwifi 4965 not working - last on 2.6.23 [2.] Full description of the problem/report: linux: gentoo kernel vanilla-sources-2-6-26-rc5 laptop: Asus S96S WiFi: intel 4695 WiFi not working. In the same config, but with gentoo-sources-2.6.23 WiFi working well. dmesg - 2.6.23 iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.2.25ds iwl4965: Copyri...
Jun 5, 6:39 pm 2008
Kok, Auke
bug? acpi p-state + ondemand keeps dropping max freq
I've consistently experienced the following bizarre problem since 2.6.20, all the way up to 2.6.25.3 (regressed yesterday and each of these kernels exposes this behaviour): /sys/devices/system/cpu/cpu0/cpufreq # grep . * affected_cpus:0 cpuinfo_cur_freq:800000 cpuinfo_max_freq:1866000 cpuinfo_min_freq:800000 scaling_available_frequencies:1866000 1600000 1333000 1066000 800000 scaling_available_governors:ondemand performance scaling_cur_freq:800000 scaling_driver:acpi-cpufreq scaling_governor...
Jun 5, 6:30 pm 2008
Randy Dunlap
x86_64 boot hang when CONFIG_NUMA=n
On 2.6.26-rc[2345], I am seeing a hang during boot with CONFIG_NUMA=n, but changing to CONFIG_NUMA=y allows successful boot. This is on a 4-way AMD64 (HP) server with 8 GB RAM. Using initcall_debug, the last output on a hang is from arch/x86/pci/k8-bus_64.c: calling early_fill_mp_bus_info+0x0/0x7b2 node 0 link 1: io port [1000, 3fff] node 1 link 2: io port [4000, ffff] TOM: 0000000080000000 aka 2048M node 0 link 1: mmio [e8000000, fddfffff] node 1 link 2: mmio [fde00000, fdffffff] node 0 li...
Jun 5, 5:50 pm 2008
Mauro Carvalho Chehab
[GIT PATCHES for 2.6.26] V4L/DVB fixes
Hi Linus, This is another series of fixes for V4L/DVB. This series is a little bigger, since I got some days in vacation, and, after that, it took me some time to process tons of emails and merge requests. Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master For several fixes (most are trivial ones): - Fix compat32 for ivtv and cx18; - several fixes on the newer cx18 and au0828 drivers; - several Kbuild fixes; - fix several returne...
Jun 5, 5:14 pm 2008
Justin Mattock
GPE storm detected, disabling EC GPE
FWIW I noticed a post where the person had changed 5 to 20, and it seemed to work for them; So with that in mind I decide to give that a go, here is the location: drivers/acpi/ec.c @@ -527,47 +488,51 @@ static u32 acpi_ec_gpe_handler(void *data) { acpi_status status = AE_OK; struct acpi_ec *ec = data; u8 state = acpi_ec_read_status(ec); pr_debug(PREFIX "~~~> interrupt\n"); atomic_inc(&ec->irq_count); - if (atomic_read(&ec->irq_count)...
Jun 5, 5:01 pm 2008
Steven Rostedt
[PATCH] ftrace: disable function tracing bringing up new CPU
Peter Zijlstra found that taking down and bringing up a new CPU caused ftrace to crash the kernel. This was due to some arch calls that were being traced by the function tracer before the smp_processor_id was set up. Since the function tracer uses smp_processor_id it caused a triple fault. Instead of adding notrace all over the architecture code to prevent this problem, it is easier to simply disable the function tracer when bringing up a new CPU. Signed-off-by: Steven Rostedt <srostedt@red...
Jun 5, 4:54 pm 2008
Steven Rostedt
[PATCH -v2] ftrace: disable function tracing bringing up new...
[ I noticed that I left a "unsigned long flags" in the version I sent out. That was due to my first faulty implementation that used a spin lock. Please use this patch instead. The only difference between this patch and the one I sent out is that I removed the unused flags variables from ftrace_enable() and ftrace_disable(). ] Peter Zijlstra found that taking down and bringing up a new CPU caused ftrace to crash the kernel. This was due to some arch calls that were being traced by the fu...
Jun 5, 7:19 pm 2008
Marcin Obara
[PATCH] tpm:increase size of internal TPM response buffers
This patch increases size of driver internal response buffers. Some TPM responses defined in TCG TPM Specification Version 1.2 Revision 103 have increased size and do not fit previously defined buffers. Some TPM responses do not have fixed size, so bigger response buffers have to be allocated. 200B buffers should be enough. Signed-off-by: Marcin Obara <marcin_obara@users.sourceforge.net> --- linux/drivers/char/tpm/tpm.c 2008-06-05 22:12:47.000000000 +0200 +++ linux_tpm/drivers/char/tpm/tpm....
Jun 5, 4:23 pm 2008
Marcin Obara
[PATCH] tpm:correct tpm timeouts to jiffies conversion
This patch fixes timeouts conversion to jiffies, by replacing msecs_to_jiffies() calls with usecs_to_jiffies(). According to TCG TPM Specification Version 1.2 Revision 103 (pages 166, 167) TPM timeouts and durations are returned in microseconds (usec) not in miliseconds (msec). Signed-off-by: Marcin Obara <marcin_obara@users.sourceforge.net> --- linux/drivers/char/tpm/tpm.c 2008-06-05 20:57:06.000000000 +0200 +++ linux_tpm/drivers/char/tpm/tpm.c 2008-06-05 20:54:52.000000000 +0200 @@ -524,...
Jun 5, 4:19 pm 2008
Scott Wiersdorf
[PATCH 2.6.25-4] getdelays.c: signal handling for log rotation
This adds a USR1 signal handler to getdelays.c, which causes getdelays to close its logfile and reopen it (if '-w logfile' is specified). This is useful in situations when getdelays is running for a long time (i.e, the log file growing) and you need to rotate the logs but don't want to lose any log data. Signed-off-by: Scott Wiersdorf <scott@perlcode.org> --- --- Documentation/accounting/getdelays.c 2008-05-15 09:00:12.000000000 -0600 +++ Documentation/accounting/getdelays.c 2008-06-05 02:23...
Jun 5, 3:43 pm 2008
Scott Wiersdorf
[PATCH] getdelays.c
File: Documentation/accounting/getdelays.c Linux version: 2.6.25-4 Description: This patch adds a USR1 signal handler to getdelays.c, which causes getdelays to close its logfile and reopen it (if '-w logfile' is specified). This is useful in situations when getdelays is running for a long time (i.e, the log file growing) and you need to rotate the logs but don't want to lose any log data. Sample usage: 1 # ./getdelays -m0,1,2,3 -l -w getdelays.log & (time passes) 2 # mv getde...
Jun 5, 3:30 pm 2008
胡育茹
2008/6/6 - 4:3:36
2008-6-6 - 4:3 山p鉧t科y技C網v頁2設s計 我L們m的K宗f旨c:客戶的每ㄧ件小事情,都是山鉧的大事情 我9們6S在r推出企業形象網站包含前台網頁美工+後台管理程式 限P時L限o量b專案價 只要$24,900 (在送ㄧ年100MB 不限流量網站空間) 我l們k做a的8不W只0是l網X站,而m是9您N企y業Z的z入I口 ㄧv個t好Y的s企k業j網e站3資9料d即M時R更J新w的Z速6度X是P很U重7要l的 企C業e化N高M品3質D團l隊,打w造x您a的D...
Jun 5, 4:03 pm 2008
David Rientjes
[patch] sched: prevent bound kthreads from changing cpus_all...
Kthreads that have called kthread_bind() are bound to specific cpus, so other tasks should not be able to change their cpus_allowed from under them. Otherwise, it is possible to move kthreads, such as the migration or software watchdog threads, so they are not allowed access to the cpu they work on. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Paul Menage <menage@google.com> Cc: Paul Jackson <pj@sgi.com> Signed-off-by: David Rientjes <rientjes@google.com> --- include/l...
Jun 5, 3:57 pm 2008
Paul Jackson
Re: [patch] sched: prevent bound kthreads from changing cpus...
Ok - looks good to me. (I too have shot my foot off moving tasks that shouldn't be moved - thanks.) Reviewed-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 --
Jun 5, 5:47 pm 2008
Daniel Walker
Re: [patch] sched: prevent bound kthreads from changing cpus...
I'm all for it .. I've crashed test systems just by migrating tasks that are suppose to stay bound while using cpusets .. Daniel --
Jun 5, 4:52 pm 2008
Paul Jackson
Re: [patch] sched: prevent bound kthreads from changing cpus...
A couple of questions on this: 1) Sometimes threads are bound to a set of CPUs, such as the CPUs on a particular node: drivers/pci/pci-driver.c: set_cpus_allowed_ptr(current, nodecpumask); net/sunrpc/svc.c: set_cpus_allowed_ptr(current, nodecpumask); Such cases can't invoke kthread_bind(), as that only binds to a single CPU. I only see one place in your patch that sets PF_THREAD_BOUND; would it make sense for such multi-CPU binds as above to be PF_THREAD_B...
Jun 5, 4:29 pm 2008
David Rientjes
Re: [patch] sched: prevent bound kthreads from changing cpus...
Not in the drivers/pci/pci-driver.c case because the setting of cpus_allowed to nodecpumask is only temporary (as is the disabling of the mempolicy). It's just done for the probe callback and then reset to the old cpumask. So any migration here would be lost. I can't speculate about the net/sunrpc/svc.c case because I don't know if user migration is harmful or discouraged. The behavior with my patch is the same for any calls to set_cpus_allowed_ptr() for tasks that haven't called kthread...
Jun 5, 5:12 pm 2008
Nicholas A. Bellinger
RE: Vpools and v3.0-UPSTREAM LIO
Having central servers (and having to worry about the redundancy of said Hmm, not bad. I usually have to go for a walk or two to come up with good project names.. :-) --
Jun 5, 3:36 pm 2008
Andrew Morton
Re: [PATCH] ext2: Use page_mkwrite vma_operations to get mma...
On Thu, 5 Jun 2008 22:35:12 +0530 Whoa. You didn't copy anything like enough mailing lists for a change of this magnitude. I added some. This is a large change in behaviour! a) applications will now get a synchronous SIGBUS when modifying a page over an ENOSPC filesystem. Whereas previously they could have proceeded to completion and then detected the error via an fsync(). It's going to take more than one skimpy little paragraph to justify this, and to demonstrate that it is ...
Jun 5, 3:30 pm 2008
Jaroslav Franek
[PATCH] sound: emu10k1 - fix system hang with Audigy2 ZS Not...
from: Jaroslav Franek When the Linux kernel is compiled with CONFIG_DEBUG_SHIRQ=y, the Soundblaster Audigy2 ZS Notebook PCMCIA card causes the system hang during boot (udev stage) or when the card is hot-plug. The CONFIG_DEBUG_SHIRQ flag is by default 'y' with all Fedora kernels since 2.6.23. The problem was reported as https://bugzilla.redhat.com/show_bug.cgi?id=326411 The issue was hunted down to the snd_emu10k1_create() routine: /* pseudo-code */ snd_emu10k1_create(...) { ... request_i...
Jun 5, 3:13 pm 2008
Andres Salomon
[PATCH] OLPC: pci: fix up PCI stuff so that PCI_GOANY suppor...
Previously, one would have to specifically choose CONFIG_OLPC and CONFIG_PCI_GOOLPC in order to enable PCI_OLPC. That doesn't really work for distro kernels, so this patch allows one to choose CONFIG_OLPC and CONFIG_PCI_GOANY in order to build in OLPC support in a generic kernel (as requested by Robert Millan). This also moves GOOLPC before GOANY in the menuconfig list. Finally, make pci_access_init return early if we detect OLPC hardware. There's no need to continue probing stuff, and pci_pcbio...
Jun 5, 3:29 pm 2008
Randy.Dunlap Jun 5, 4:07 pm 2008
Andres Salomon
Re: [PATCH] OLPC: pci: fix up PCI stuff so that PCI_GOANY su...
On Thu, 5 Jun 2008 13:07:35 -0700 (PDT) The options above GOANY are included in GOANY. Previously, GOANY did not support GOOLPC, so GOOLPC was listed after it. Now that GOANY supports GOOLPC, it can be listed above w/ the others. Plus, _I_ think it looks nicer. :) That hunk can easily be removed from the patch if others disagree. --
Jun 5, 4:27 pm 2008
Andrew Morton
Re: [PATCH] OLPC: pci: fix up PCI stuff so that PCI_GOANY su...
On Thu, 5 Jun 2008 15:29:14 -0400 But I never know whether arch/x86/pci is a Jesse thing or an Ingo thing. Usual answer: it's an everyone thing and we all make a big mess ;) --
Jun 5, 3:42 pm 2008
Thomas Gleixner
Re: [PATCH] OLPC: pci: fix up PCI stuff so that PCI_GOANY su...
So the Salomonic solution is: You pick it up and send it either to Jesse or x86@kernel.org :) I put it into my urgent bucket just to be on the safe side. Thanks, tglx --
Jun 5, 4:49 pm 2008
Jesse Barnes
Re: [PATCH] OLPC: pci: fix up PCI stuff so that PCI_GOANY su...
Heh, yeah I've been taking quite a few x86 PCI patches (Ingo actually has a queue of them for me now), so I can pick this one up and put it in what I hope will be my final 2.6.26 pull request. Jesse --
Jun 5, 4:34 pm 2008
Thomas Tuttle
[PATCH 4/4] pagemap: Add documentation for pagemap
Just a quick explanation of the pagemap interface from a userspace point of view, and an example of how to use it (in English, not code). Signed-off-by: Thomas Tuttle --- Documentation/vm/pagemap.txt | 77 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 77 insertions(+), 0 deletions(-) create mode 100644 Documentation/vm/pagemap.txt diff --git a/Documentation/vm/pagemap.txt b/Documentation/vm/pagemap.txt new file mode 100644 index 0000000..b33a5e4 --- /dev/null +++ b/Document...
Jun 5, 2:40 pm 2008
Thomas Tuttle
[PATCH 3/4] pagemap: Return EINVAL, not EIO, for unaligned r...
If the user tries to read from a position that is not a multiple of 8, or read a number of bytes that is not a multiple of 8, they have passed an invalid argument to read, for the purpose of reading these files. It's not an IO error because we didn't encounter any trouble finding the data they asked for. Signed-off-by: Thomas Tuttle --- fs/proc/proc_misc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 5a16090..7e277...
Jun 5, 2:40 pm 2008
Matt Mackall
Re: [PATCH 3/4] pagemap: Return EINVAL, not EIO, for unalign...
Hmm. I seem to recall choosing EIO because that's what unaligned reads with direct I/O report. I don't particularly care though. Acked-by: Matt Mackall <mpm@selenic.com> -- Mathematics is the supreme nostalgia of our time. --
Jun 5, 2:49 pm 2008
previous daytodaynext day
June 4, 2008June 5, 2008June 6, 2008