linux-kernel mailing list

FromSubjectsort iconDate
GUANG DONG LIGHT IND ...
Job
We are presently searching for Representatives/Collection Agents who can help us establish a medium of getting to our customers in the Americas, precisely USA and Canada and Europe as well. If interested, Please contact me on (mr.chofat@gmail.com) Respectfully Submitted, Mr. Cho Fat --
Oct 2, 4:34 pm 2008
Chris Friesen
[bug report] sched: stop_machine() usage causes load bal ...
I mentioned before that ftrace (specifically the ftraced daemon) seems to be interfering with the load balancer. After some experimenting, it appears that any regular calls to stop_machine() will end up confusing the load balancer. As an experiment, I disabled ftraced (which would normally result in correct load balancing) but added a single kernel thread which simply runs the following loop, where "chrisd2" is a dummy function. while(1) ...
Oct 2, 4:57 pm 2008
Jeremy Fitzhardinge
[PATCH] xen: remove unused balloon.h
The balloon driver doesn't have any externally callable functions at the moment, so remove the (effectively empty) header. We can add it back if we need to. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- drivers/xen/balloon.c | 1 include/xen/balloon.h | 61 ------------------------------------------------- 2 files changed, 62 deletions(-) =================================================================== --- a/drivers/xen/balloon.c +++ ...
Oct 2, 4:42 pm 2008
Jeremy Fitzhardinge
[PATCH] xen: clean up x86-64 warnings
There are a couple of Xen features which rely on directly accessing per-cpu data via a segment register, which is not yet available on x86-64. In the meantime, just disable direct access to the vcpu info structure; this leaves some of the code as dead, but it will come to life in time, and the warnings are suppressed. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/xen/enlighten.c | 61 +++++++-------------------------------------- ...
Oct 2, 4:41 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 6/6] e1000e: update version from k4 to k6
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> --- drivers/net/e1000e/netdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index 01e9558..b81c423 100644 --- a/drivers/net/e1000e/netdev.c +++ b/drivers/net/e1000e/netdev.c @@ -47,7 +47,7 @@ #include "e1000.h" -#define DRV_VERSION "0.3.3.3-k4" +#define DRV_VERSION "0.3.3.3-k6" char e1000e_driver_name[] = "e1000e"; const char ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 2/6] e1000e: do not ever sleep in inte ...
e1000e was apparently calling two functions that attempted to reserve the SWFLAG bit for exclusive (to hardware and firmware) access to the PHY and NVM (aka eeprom). These accesses could possibly call msleep to wait for the resource which is not allowed from interrupt context. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> CC: Thomas Gleixner <tglx@linutronix.de> --- drivers/net/e1000e/e1000.h | 2 ++ drivers/net/e1000e/netdev.c | 31 ++++++++++++++++++++++++++++--- 2 ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 0/6] e1000e mutex protection
This series of patches fixes several bugs found by putting a mutex inside e1000_acquire_swfw_flag, and then the patch from Thomas actually adds this mutex to help find any further bugs. Like Jesse Barnes said, "totally up to you (obviously) whether we stuff this into 2.6.27 or hold on it until 2.6.28." Linus, since you mentioned this exact same issue that Thomas (and Dave Airlie) spotted I figured I should just send these. Testing will continue over the next couple of days and I'll let you ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 1/6] e1000e: reset swflag after resett ...
in the process of debugging things, noticed that the swflag is not reset by the driver after reset, and the swflag is probably not reset unless management firmware clears it after 100ms. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> --- drivers/net/e1000e/ich8lan.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index d8efba8..f4b6744 100644 --- a/drivers/net/e1000e/ich8lan.c +++ ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 4/6] e1000e: drop stats lock
the stats lock is left over from e1000, e1000e no longer has the adjust tbi stats function that required the addition of the stats lock to begin with. adding a mutex to acquire_swflag helped catch this one too. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> CC: Thomas Gleixner <tglx@linutronix.de> --- drivers/net/e1000e/e1000.h | 1 - drivers/net/e1000e/netdev.c | 18 ------------------ 2 files changed, 0 insertions(+), 19 deletions(-) diff --git ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 5/6] e1000e: debug contention on NVM SWFLAG
From: Thomas Gleixner <tglx@linutronix.de> This patch adds a mutex to the e1000e driver that would help catch any collisions of two e1000e threads accessing hardware at the same time. description and patch updated by Jesse Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> --- drivers/net/e1000e/ich8lan.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/net/e1000e/ich8lan.c ...
Oct 2, 4:33 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 3/6] e1000e: remove phy read from insi ...
thanks to tglx, we're finding some interesting reentrancy issues. this patch removes the phy read from inside a spinlock, paving the way for removing the spinlock completely. The phy read was only feeding a statistic that wasn't used. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> CC: Thomas Gleixner <tglx@linutronix.de> --- drivers/net/e1000e/ethtool.c | 6 +++++- drivers/net/e1000e/netdev.c | 13 ------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff ...
Oct 2, 4:33 pm 2008
Steven Rostedt
[PATCH] ftrace: move pc counter in irqstrace
The assigning of the pc counter is in the wrong spot in the check_critical_timing function. The pc variable is used in the out jump. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- kernel/trace/trace_irqsoff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-tip.git/kernel/trace/trace_irqsoff.c =================================================================== --- linux-tip.git.orig/kernel/trace/trace_irqsoff.c 2008-10-02 09:07:16.000000000 -0400 +++ ...
Oct 2, 4:23 pm 2008
Roland McGrath
Re: [PATCH] printk.caller
I don't disagree with any of that. I followed the printk.time example closely. All those things are equally true of that option. Thanks, Roland --
Oct 2, 4:43 pm 2008
Andrew Morton
Re: [PATCH] printk.caller
On Thu, 2 Oct 2008 16:21:15 -0700 (PDT) This is quite misleading. The config help implies that CONFIG_PRINTK_CALLER will enable the feature at compile time. But it doesn't - it just sets the boot-time enable/disable default. If you do this: #ifdef CONFIG_PRINTK_CALLER static int printk_caller = 1; #else #define printk_caller 0 #endif then the implementation would somewhat reflect the config option. But I'd suggest that this thing is so small that it doesn't need a config ...
Oct 2, 4:31 pm 2008
Roland McGrath
[PATCH] printk.caller
This adds the printk.caller=[0|1] boot parameter, default setting controlled by CONFIG_PRINTK_CALLER. (This is modelled on printk.time and CONFIG_PRINTK_TIME.) When this is set, each printk line is automagically prefixed with "{0x123abc} " giving the PC address of that printk call (actually the PC address just after the call). As a kernel hacker, I always hate having to grep for some fragment of a message to find the code that generated it. But I always have my -g vmlinux handy, ...
Oct 2, 4:21 pm 2008
Jay Cliburn
Re: atl2 network driver status
On Thu, 2 Oct 2008 18:29:43 -0500 Yep, here it is: Dave's description of his two main trees. So atl2 will be in 2.6.28. Date: Sat, 19 Apr 2008 17:35:10 -0700 (PDT) From: David Miller <davem@davemloft.net> To: sfr@canb.auug.org.au Cc: akpm@linux-foundation.org, netdev@vger.kernel.org Subject: New GIT net tree naming... Based upon feedback from Andrew and others I'm now starting to use a new naming scheme for my GIT trees: For changes against Linus's current tree: ...
Oct 2, 4:35 pm 2008
Jay Cliburn
Re: atl2 network driver status
On Thu, 2 Oct 2008 16:21:48 -0700 I think so. As I understand it, net-next-2.6 is Dave Miller's git tree for stuff destined for 2.6.28. --
Oct 2, 4:29 pm 2008
Greg KH
Re: atl2 network driver status
Ok, in looking at the code, I see a list of things that probably need to be fixed up properly, but it would be nice to see what others think the reasons are :) thanks, greg k-h --
Oct 2, 4:06 pm 2008
Greg KH
Re: atl2 network driver status
Nice, so that means it's going to be in 2.6.28? thanks, greg k-h --
Oct 2, 4:21 pm 2008
Greg KH
atl2 network driver status
Hi, In looking for drivers to add to drivers/staging/ I ran across the atl2 driver that is currently in the Fedora and Ubuntu kernel trees. This driver doesn't look to be scheduled for inclusion in the upstream netdev git tree for submission for 2.6.28, is there any reason why it is still out-of-the-tree? And, if it's not going into 2.6.28, any objection for me adding it to the drivers/staging/ tree? If so, I need a list of reasons why it is not merged upstream properly so far so that ...
Oct 2, 4:02 pm 2008
Jay Cliburn
Re: atl2 network driver status
On Thu, 2 Oct 2008 16:02:46 -0700 Hi Greg, It's in net-next-2.6. http://marc.info/?l=linux-netdev&m=122144021209242&w=2 Best, Jay --
Oct 2, 4:17 pm 2008
Randy.Dunlap
Re: mmotm 2008-10-02-14-45 uploaded
I wonder why I have patch FAILs & rejects: mmotm-2008-1002-1445> grep -C 3 FAIL pushall.txt Applying patch sky2-fix-recent-wol-regression.patch patching file drivers/net/sky2.c Hunk #1 FAILED at 3034. Hunk #2 succeeded at 3049 with fuzz 2 (offset 3 lines). Hunk #3 FAILED at 4172. Hunk #4 FAILED at 4232. 3 out of 4 hunks FAILED -- rejects in file drivers/net/sky2.c Patch sky2-fix-recent-wol-regression.patch can be reverse-applied -- ~Randy --
Oct 2, 4:02 pm 2008
Andrew Morton
Re: mmotm 2008-10-02-14-45 uploaded
On Thu, 2 Oct 2008 16:02:41 -0700 (PDT) Yeah, that was a quick push so I could wave some patches under the noses of various maintainers who have been cheerily ignoring the needed-in-2.6.27 patches which I keep on sending them. --
Oct 2, 4:13 pm 2008
Linus Torvalds
Re: [PATCH] check mapped ranges on sysfs resource files ...
This seems broken for big vm_pgoff values, where that shift will potentially overflow, no? Also, it strikes me that we don't seem to check that the resource start is page-aligned. We just do vma->vm_pgoff += start >> PAGE_SHIFT; without checking if we just dropped low bits from 'start'. Of course, if the length of the resource is bigger than a page, I guess the resource is guaranteed to be at least page-aligned, so maybe the length check - if it was correct - would be ...
Oct 2, 4:30 pm 2008
Jesse Barnes
Re: [PATCH] check mapped ranges on sysfs resource files ...
Yeah, looks much better. I was using this silly test program to see if the earlier code worked. Just pass in both valid and invalid sizes. Jesse
Oct 2, 4:51 pm 2008
Jesse Barnes
[PATCH] check mapped ranges on sysfs resource files (for ...
I'm sending a patch rather than a pull request since it's just this. Totally up to you (obviously) whether we stuff this into 2.6.27 or hold off on it until 2.6.28. It's fairly common for applications to map PCI resources through sysfs. However, with the current implementation, it's possible for an application to map far more than the range corresponding to the resourceN file it opened. This patch plugs that hole by checking the range at mmap time, similar to what is done on platforms like ...
Oct 2, 3:34 pm 2008
Russ Anderson
[patch] x86: Trivial printk fix in efi.c
[patch] x86: Trivial printk fix in efi.c The following line is lacking a space between "memdesc" and "doesn't". "Kernel-defined memdescdoesn't match the one from EFI!" Fixed the printk by adding a space. Signed-off-by: Russ Anderson <rja@sgi.com> --- arch/x86/kernel/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/arch/x86/kernel/efi.c =================================================================== --- linux.orig/arch/x86/kernel/efi.c 2008-10-02 ...
Oct 2, 3:32 pm 2008
Niel Lambrechts
Re: FYI: e1000e: corruption, Lenovo/IBM are replacing my MB.
Thanks for clarifying that, I suspected it to be the case, but wanted confirmation since it is a new company laptop :O The first thing I did was to reboot in 2.6.25 and verify the ethernet - it was fully functional via DHCP. Also to me, the MAC address seems fine: linux-7vph:/ # ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:1C:25:95:93:EC BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 ...
Oct 2, 3:21 pm 2008
Nicholas A. Bellinger
Reorg of source lio-core-2.6.git/drivers/lio-core
Greetings all, I just wanted to mention that I made the commit that renamed the source and header files in drivers/lio-core/Makefile:target_core_mod-objs to use the target_core_* prefix. http://git.kernel.org/?p=linux/kernel/git/nab/lio-core-2.6.git;a=commit;h=e53c989a9f0d... This should make things alot easier for folks who are reading the code to see and understand the split between target_core_mod and iscsi_target_mod, as well as the split between target_core_mod ...
Oct 2, 3:00 pm 2008
Kees Cook
Re: [PATCH] proc: add "personality" to process status file
Heya Randy, The /proc/pid/status file is "self documenting" (in theory), and doesn't have separate documentation in proc.txt yet. If I had touched the "stat" file, I would have included and update, since I was the last to document that file. ;) -Kees -- Kees Cook Ubuntu Security Team --
Oct 2, 3:56 pm 2008
Kees Cook
[PATCH] proc: add "personality" to process status file
There is no sane way to query the personality flags of arbitrary process from userspace. This adds the flags to the /proc/$pid/status file. For example, to detect READ_IMPLIES_EXEC: $ ./32bit-sleeper & [1] 6732 $ grep ^Pers /proc/6732/status Personality: 00000000 $ execstack -s 32bit-sleeper $ ./32bit-slepper & [2] 6735 $ grep ^Pers /proc/6735/status Personality: 00040000 Signed-off-by: Kees Cook <kees.cook@canonical.com> --- fs/proc/array.c | 6 ++++-- ...
Oct 2, 2:14 pm 2008
Randy.Dunlap
Re: [PATCH] proc: add "personality" to process status file
Hey you, The patch seems to be missing an update to Documentation/filesystems/proc.txt ! -- ~Randy --
Oct 2, 3:46 pm 2008
Niel Lambrechts
Re: FYI: e1000e: corruption, Lenovo/IBM are replacing my MB.
I have not followed all of this too closely, and installed linux-2.6.27-rc7-33 (OpenSUSE's KOTD) kernel in an attempt to get its wireless card going. When I booted I briefly saw a NVRAM warning and my laptop ended hanging on Firewall Initialization, without ever getting to a login prompt. I immediately remembered this bug, but strangely seem not to be affected, since I could still use the card to connect to the internet after rebooting in 2.6.26. My laptop's a Lenovo W500 with a fairly ...
Oct 2, 2:47 pm 2008
Kok, Auke
Re: FYI: e1000e: corruption, Lenovo/IBM are replacing my MB.
your mac address certainly still looks ok, and from quickly browsing this eeprom content certainly looks valid. (most eeproms indeed END in all 0xff bytes). does the e1000e driver still load? do you get 'bad eeprom checksum' errors on boot? please post a full dmesg... Auke --
Oct 2, 3:02 pm 2008
Nicholas A. Bellinger Oct 2, 2:47 pm 2008
Mathieu Desnoyers
[TEST] LTTng relay-alloc cache tests
With these tests, I come to the surprising conclusion that it is faster to keep the buffer pages as write-back than to set them to write-combined or uncached. I would have thought that keeping the cachelines free for kernel or userspace cache lines would have improved performance, but for some reason it doesn't. Doing these tests under a webserver-like workload would however be interesting. Feel free to play with this. :-) Mathieu LTTng trace buffer memory cache behavior ...
Oct 2, 2:43 pm 2008
Greg KH
Re: [PATCH] Remove completion from struct klist_node
Why not use the built-in list.h functions here? Other than that, looks good, thanks. greg k-h --
Oct 2, 3:17 pm 2008
Matthew Wilcox
[PATCH] Remove completion from struct klist_node
Removing the completion from klist_node reduces its size from 64 bytes to 28 on x86-64. To maintain the semantics of klist_remove(), we add a single list of klist nodes which are pending deletion and scan them. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> include/linux/klist.h | 2 -- lib/klist.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/include/linux/klist.h ...
Oct 2, 2:43 pm 2008
Rafael J. Wysocki
[PATCH] sky2: Fix recent WOL regression
From: Rafael J. Wysocki <rjw@sisk.pl> sky2: Fix recent WOL regression Since dev->power.should_wakeup bit is used by the PCI core to decide whether the device should wake up the system from sleep states, set/unset this bit whenever WOL is enabled/disabled using sky2_set_wol() (this fixes a regression from 2.6.26 on the Tino's machine). Remove an open-coded reference to the standard PCI PM registers that is not used any more. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Reported-by: ...
Oct 2, 2:39 pm 2008
Alexey Dobriyan
/proc git tree
Please, add the following to the list of poor souls: git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc.git proc So far it consists of 5 trivial patches from -mm, in future there will be smallish fs/proc/ reorganization, removing final defense line of ->read_proc() users and officially bug-free¹ examples of showing stuff via seq_files. Hope, nobody minds. Alexey ¹ Maximum allowed concentration of bugs is 0.42%/LOC. --
Oct 2, 2:26 pm 2008
Klaas De Craemer
[PATCH] Sigmatel stac92hd71b7 low HP volume
Hello, Below is my patch for an issue on Dell E6500 notebooks with the Sigmatel stac92hd71b7 codec. In the default snd-hda-intel configuration, the sound going to the headphone jack goes comes directly from the DAC, resulting in very low volume output. The patch changes the codec's widget connections so that the internal mixer is put in between and sets its input amplifiers to the maximum value. The output to the internal speaker port has been left untouched. I have tested this and it gives a much ...
Oct 2, 12:45 pm 2008
Ingo Molnar
Re: [PATCH -tip] ftrace: ktime.h not included in ftrace.h
applied to tip/tracing/ftrace, thanks Steven! Ingo --
Oct 2, 12:06 pm 2008
Steven Noonan
[PATCH -tip] ftrace: ktime.h not included in ftrace.h
Including <linux/ktime.h> eliminates the following error: include/linux/ftrace.h:220: error: expected specifier-qualifier-list before 'ktime_t' Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- include/linux/ftrace.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index deded11..ed53265 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -3,6 +3,7 @@ #include <linux/linkage.h> #include ...
Oct 2, 12:00 pm 2008
Stephen Clark
Automatic config file generator
Hello List, Is there a utility that will examine your system and generate a tailored config file so I don't have to compile a zillion modules. Currently when I want to build the latest kernel I take the config file from my distro, (fedora), but it has every module in the world. So on my 1.8ghz core 2 duo laptop it takes about 30 min to build a new kernel. Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben ...
Oct 2, 9:53 am 2008
Cyrill Gorcunov
Re: Automatic config file generator
You could be interested by this thread http://lkml.org/lkml/2008/9/16/290 - Cyrill - --
Oct 2, 10:02 am 2008
Alexey Dobriyan
Re: Automatic config file generator
Switch CONFIG_DEBUG_INFO off. Anyway, trim your config once with big switch-offs like CONFIG_INFINIBAND=n or CONFIG_ISDN=n (or something like that) then use old mainline config when upgrading to new mainline kernel with "make oldconfig". You'll answer small amount of questions every time because of new options and developers try very hard to ensure oldconfig always leaves valid working configuration. Even more, turn on /proc/config.gz feature to never lose your config. --
Oct 2, 10:35 am 2008
Stephen Clark
Re: Automatic config file generator
Thanks, Somehow I missed that thread. Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) --
Oct 2, 10:40 am 2008
Randy Dunlap
[PATCH] docbook: update procfs credits
From: Randy Dunlap <randy.dunlap@oracle.com> Update Erik Mouw's email address & affiliation in DocBook. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Erik Mouw <mouw@nl.linux.org> --- Documentation/DocBook/procfs-guide.tmpl | 29 ++++++++++------------------- Documentation/DocBook/procfs_example.c | 20 ++++---------------- 2 files changed, 14 insertions(+), 35 deletions(-) --- linux-2.6.27-rc8-git3.orig/Documentation/DocBook/procfs-guide.tmpl +++ ...
Oct 2, 9:41 am 2008
Andrew Morton
Re: [PATCH 1/1] handle initialising compound pages at or ...
On Thu, 2 Oct 2008 17:19:56 +0100 gad. Wouldn't it be clearer to do for (i = 1; i < nr_pages; i++) { struct page *p = pfn_to_page(i); __SetPageTail(p); p->first_page = page; } Oh well, I guess we can go with the obfuscated, uncommented version for now :( This patch applies to 2.6.26 (and possibly earlier) but I don't think those kernels can trigger the bug? --
Oct 2, 2:30 pm 2008
Andy Whitcroft
[PATCH 1/1] handle initialising compound pages at orders ...
When we initialise a compound page we initialise the page flags and head page pointer for all base pages spanned by that page. When we initialise a gigantic page (a page of order greater than or equal to MAX_ORDER) we have to initialise more than MAX_ORDER_NR_PAGES pages. Currently we assume that all elements of the mem_map in this page are contigious in memory. However this is only guarenteed out to MAX_ORDER_NR_PAGES pages, and with SPARSEMEM enabled they will not be contigious. This leads us ...
Oct 2, 9:19 am 2008
Elias Oltmanns
Block: Fix handling of stopped queues and a plugging issue
Make sure that ->request_fn() really isn't called on queues that are supposed to be stopped. While at it, don't remove the plug in __blk_run_queue() unconditionally since this might lead to system hangs. Signed-off-by: Elias Oltmanns <eo@nebensachen.de> --- Applies to your devel tree. block/blk-core.c | 6 +++--- block/elevator.c | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 2d053b5..ecc5443 100644 --- ...
Oct 2, 8:59 am 2008
Elias Oltmanns
Re: Block: Fix blk_start_queueing() so as not to process ...
[Adding linux-scsi since this may be of interest there.] Well, I have come across this bug by applying the out-of-tree disk shock protection patch. I realise that this is not a good incentive for adding queueing this up for stable. However, a quick look through the tree revealed that blk_stop_queue() is used in various places. I probably have to admit that my vote for inclusion into stable was mainly founded on the assumption that ``restoring the expected behaviour'' was the safe option, ...
Oct 2, 8:55 am 2008
Lee.Mathers
FYI: e1000e: corruption, Lenovo/IBM are replacing my MB.
Fyi, lenovo/ibm(Canada) are replacing the Motherboard on my T61 (6465-9TU) Intel®82566DC Gigabit Network Card. MAC ADDRR now read's FF:FF:FF:FF:FF:FF:FF:FF (wink) I did not advise them that it may have been caused by a hiccup/glitch in the Linux Kernel and/or the e1000e driver for said system. Perhap's those of you still under warrenty could obtain the same service. --
Oct 2, 8:03 am 2008
Dave Chinner
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
There's BIO_META now as well, which I was testing at the same time as RT priority. Marking all the metadata I/O as BIO_META did help, but once again I never got to determining if that was a result of the different tagging or the priority increase. However, given that only CFQ understand BIO_META, I suspect that changing the way XFS uses BIO_SYNC to be a combination of BIO_META and BIO_SYNC would cause significant regressions on other schedulers..... Cheers, Dave. -- Dave ...
Oct 2, 4:34 pm 2008
Bodo Eggert
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Sounds like you need a priority class besides sync and async. --
Oct 2, 8:32 am 2008
Steven Rostedt
[PATCH 4/5] sound: update snd_assert macro
One user of the snd_assert macro calls a goto and the compiler complains that the label is not used when the snd_assert is not set. This patch makes snd_assert more robust when not defined to let the compiler know about arguments when not in use. CC: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- include/sound/core.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Index: ...
Oct 2, 8:05 am 2008
Steven Rostedt
[PATCH 0/5] Clean up patches
Like other kernel developers, I compile kernels several times a day with various configs. Some are for testing, others are given to me by others to debug some code. I like to look at any warnings that gcc gives me, and lately I've been irritated by the same warnings appearing in the same places that has nothing to do with my code. The biggest offender is the Xen code. I figured that I'll take a look at what these warnings are and if they are trivial, I'll fix them. The thing that got me ...
Oct 2, 8:05 am 2008
Steven Rostedt
[PATCH 2/5] xen: remove unused function warnings
The compiler is complaining that there are unused static functions in the Xen code. Looking into this, it seems that they are used but only within #if statements. This patch matches the functions with the #if statements that they are referenced by. CC: Jeremy Fitzhardinge <jeremy@xensource.com> CC: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/xen/enlighten.c | 4 ++++ 1 file changed, 4 insertions(+) Index: ...
Oct 2, 8:05 am 2008
Jeremy Fitzhardinge Oct 2, 8:34 am 2008
Steven Rostedt
Re: [PATCH 5/5] xen: nuke the ballon files
Ouch! How did I miss that. Anyway, there are still a bunch of functions in that code that are not referenced. OK, nack this patch, but could you please supply one that cleans that code up. Thanks, -- Steve --
Oct 2, 10:59 am 2008
Steven Rostedt
[PATCH 5/5] xen: nuke the ballon files
Investigating the unused static files in the balloon code, I discovered that the balloon code is not used at all. The header file is one big #if 0 and all the functions in the C file is static. There is no caller like init_module to hook to any of these functions. Basically, this code is one big patch of dead code wasting space on my hard drive. This patch removes the balloon code altogether since there are no users. CC: Jeremy Fitzhardinge <jeremy@xensource.com> CC: Chris Wright ...
Oct 2, 8:05 am 2008
Steven Rostedt
[PATCH 3/5] xen: nuke dead code in enlighten.c
The kernel is no place to hold dead code. No reason for #if 0 in the kernel proper. Note, the walk function being deleted is only referenced in the #if 0 code. CC: Jeremy Fitzhardinge <jeremy@xensource.com> CC: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/xen/enlighten.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) Index: ...
Oct 2, 8:05 am 2008
Steven Rostedt
[PATCH 1/5] xen: clean up label
In enlighten.c there's a macro that is defined to jump to a label. This macro is only used in an ifdef CONFIG_X86_32 section, and the label is outside that define conditional, which causes warnings. This patch pushes the label inside the define condition. CC: Jeremy Fitzhardinge <jeremy@xensource.com> CC: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- arch/x86/xen/enlighten.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: ...
Oct 2, 8:05 am 2008
Nikanth Karthikesan
[PATCH] BUG: nr_phys_segments cannot be less than nr_hw_ ...
This is a follow-up to my earlier mail http://lkml.org/lkml/2008/9/23/294 ([PATCH] BUG: ll_merge_requests_fn() updates req->nr_phys_segments wrongly) It is possible for the merging code to create lesser no of phys segments than hw segments, but every hw segment needs atleast one new phys segment. This triggers the BUG() on scsi_init_sgtable() as blk_rq_map_sg() returns more no of segments than rq->nr_phys_segments The following blktrace shows a sequence of bio's to trigger such condition ...
Oct 2, 7:29 am 2008
Jens Axboe
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr ...
Yep, IIRC we both asked for that the last time as well... Nikanth? -- Jens Axboe --
Oct 2, 10:13 am 2008
Nikanth Karthikesan
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr ...
Oops, that was incomplete information to reproduce the issue. typedef struct { int IoSize; char *Mem; } DB_MEM_LIST, *pDB_MEM_LIST; DB_MEM_LIST dbMemList[NUM_BIO] = { { 0x6e00, NULL }, { 0x6e00, NULL }, { 0x7000, NULL }, { 0x7000, NULL }, { 0x6e00, NULL }, { 0x6e00, NULL }, { 0x6e00, NULL }, { 0x6e00, NULL }, }; // Allocate Memory. char *Mem0 = kmalloc(dbMemList[0].IoSize, GFP_KERNEL); char *Mem1 = kmalloc(dbMemList[1].IoSize, GFP_KERNEL); char *Mem2 = ...
Oct 2, 8:05 am 2008
Jens Axboe
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr ...
q->max_sectors MUST always be <= q->max_hw_sectors, otherwise we could be sending down requests that are too large for the device to handle. So that condition would be a big bug. The sysfs interface checks for this, and blk_queue_max_sectors() makes sure that is true as well. The fixes proposed still look weird. There is no phys vs hw segment constraints, the request must adhere to the limits set by both. It's mostly a moot point anyway, as 2.6.28 will get rid of the hw ...
Oct 2, 9:58 am 2008
James Bottomley
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr ...
Um, don't you mean this the other way around? I can see this problem occurring if the block layer gets tricked into doing a physical merge where sector limits forbid a virtual merge. The bug would appear to be that we sometimes only look at q->max_sectors when deciding on mergability. Either we have to insist on max_sectors <= hw_max_sectors, or we have to start using min(q->max_sectors, q->max_hw_sectors) for this. James --
Oct 2, 8:03 am 2008
James Bottomley
Re: [PATCH] BUG: nr_phys_segments cannot be less than nr ...
Yes, that seems always to be enforced. Perhaps there are other ways of tripping this problem ... I'm still sure if it occurs it's because we do Agree all three proposed fixes look wrong. However, if it's what I think, just getting rid of hw accounting won't fix the problem because we'll still have the case where a physical merge is forbidden by iommu constraints ... this still needs to be accounted for. What we really need is a demonstration of what actually is going wrong ...
Oct 2, 10:12 am 2008
Takashi Iwai
[GIT PULL] ALSA fixes (#2)
Linus, please pull ALSA updates for 2.6.27-rc8 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus which contains yet another regression fixes, which I sincerely hope as the final ones for 2.6.27. Thanks! Takashi === Risto Suominen (2): ALSA: snd-powermac: mixers for PowerMac G4 AGP ALSA: snd-powermac: HP detection for 1st iMac G3 SL Rob Sims (1): ASoC: Set correct name for WM8753 rec mixer output sound/ppc/awacs.c ...
Oct 2, 7:23 am 2008
Ingo Molnar
Re: sleeping function called from invalid context at ker ...
applied to tip/x86/microcode, thanks Dmitry! Ingo --
Oct 2, 8:52 am 2008
Dmitry Adamushko Oct 2, 7:01 am 2008
Dmitry Adamushko
Re: sleeping function called from invalid context at ker ...
[ cc'd: lkml ] Right, I've been looking at the wrong tree. Please find the fix enclosed. Compiles ok, shouldn't break anything else. > > Ingo > -- Best regards, Dmitry Adamushko --
Oct 2, 6:59 am 2008
Peter Zijlstra
[PATCH 26/32] mm: add support for non block device backe ...
New addres_space_operations methods are added: int swapon(struct file *); int swapoff(struct file *); int swap_out(struct file *, struct page *, struct writeback_control *); int swap_in(struct file *, struct page *); When during sys_swapon() the ->swapon() method is found and returns no error the swapper_space.a_ops will proxy to sis->swap_file->f_mapping->a_ops, and make use of ->swap_{out,in}() to write/read swapcache pages. The ->swapon() method will be used to communicate to the ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 31/32] nfs: enable swap on NFS
Implement all the new swapfile a_ops for NFS. This will set the NFS socket to SOCK_MEMALLOC and run socket reconnect under PF_MEMALLOC as well as reset SOCK_MEMALLOC before engaging the protocol ->connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and the early (re)setting of SOCK_MEMALLOC should allow us to receive the packets required for the TCP connection buildup. (swapping continues over a server reset during heavy network ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 13/32] mm: __GFP_MEMALLOC
__GFP_MEMALLOC will allow the allocation to disregard the watermarks, much like PF_MEMALLOC. It allows one to pass along the memalloc state in object related allocation flags as opposed to task related flags, such as sk->sk_allocation. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/gfp.h | 3 ++- mm/page_alloc.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 10/32] mm: allow PF_MEMALLOC from softirq context
This is needed to allow network softirq packet processing to make use of PF_MEMALLOC. Currently softirq context cannot use PF_MEMALLOC due to it not being associated with a task, and therefore not having task flags to fiddle with - thus the gfp to alloc flag mapping ignores the task flags when in interrupts (hard or soft) context. Allowing softirqs to make use of PF_MEMALLOC therefore requires some trickery. We basically borrow the task flags from whatever process happens to be preempted by ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 29/32] nfs: teach the NFS client how to treat PG_ ...
Replace all relevant occurences of page->index and page->mapping in the NFS client with the new page_file_index() and page_file_mapping() functions. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- fs/nfs/file.c | 6 +++--- fs/nfs/internal.h | 7 ++++--- fs/nfs/pagelist.c | 6 +++--- fs/nfs/read.c | 6 +++--- fs/nfs/write.c | 53 +++++++++++++++++++++++++++-------------------------- 5 files changed, 40 insertions(+), 38 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 20/32] 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. Adds to the reserve tree: total network reserve ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 16/32] 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 +++++ include/net/tcp.h | 2 +- net/core/sock.c | 4 ++-- net/ipv4/tcp.c | 2 +- net/ipv4/tcp_timer.c | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 04/32] net: ipv6: initialize ip6_route sysctl var ...
This makes that ip6_route_net_init() does all of the route init code. There used to be a race between ip6_route_net_init() and ip6_net_init() and someone relying on the combined result was left out cold. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- net/ipv6/af_inet6.c | 8 -------- net/ipv6/route.c | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 19/32] netvm: network reserve infrastructure
Provide the basic infrastructure to reserve and charge/account network memory. We provide the following reserve tree: 1) total network reserve 2) network TX reserve 3) protocol TX pages 4) network RX reserve 5) SKB data reserve [1] is used to make all the network reserves a single subtree, for easy manipulation. [2] and [4] are merely for eastetic reasons. The TX pages reserve [3] is assumed bounded by it being the upper bound of memory that can be used for sending ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 22/32] netvm: filter emergency skbs.
Toss all emergency packets not for a SOCK_MEMALLOC socket. This ensures our precious memory reserve doesn't get stuck waiting for user-space. The correctness of this approach relies on the fact that networks must be assumed lossy. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- net/core/filter.c | 3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6/net/core/filter.c =================================================================== --- ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 25/32] netvm: skb processing
In order to make sure emergency packets receive all memory needed to proceed ensure processing of emergency SKBs happens under PF_MEMALLOC. Use the (new) sk_backlog_rcv() wrapper to ensure this for backlog processing. Skip taps, since those are user-space again. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/net/sock.h | 5 ++++ net/core/dev.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++----- net/core/sock.c | 16 ++++++++++++++ 3 files ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 02/32] 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> Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi> --- mm/page_alloc.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 15/32] selinux: tag avc cache alloc as non-critical
Failing to allocate a cache entry will only harm performance not correctness. Do not consume valuable reserve pages for something like that. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: James Morris <jmorris@namei.org> --- security/selinux/avc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/security/selinux/avc.c =================================================================== --- linux-2.6.orig/security/selinux/avc.c +++ ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 21/32] 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 ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 05/32] swap over network documentation
Document describing the problem and proposed solution Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- Documentation/network-swap.txt | 270 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 270 insertions(+) Index: linux-2.6/Documentation/network-swap.txt =================================================================== --- /dev/null +++ linux-2.6/Documentation/network-swap.txt @@ -0,0 +1,270 @@ + +Problem: + When Linux needs to allocate memory it may find that ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 11/32] mm: emergency pool
Provide means to reserve a specific amount of pages. The emergency pool is separated from the min watermark because ALLOC_HARDER and ALLOC_HIGH modify the watermark in a relative way and thus do not ensure a strict minimum. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/mmzone.h | 6 ++- mm/page_alloc.c | 84 +++++++++++++++++++++++++++++++++++++++++++------ mm/vmstat.c | 6 +-- 3 files changed, 82 insertions(+), 14 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 09/32] mm: kmem_alloc_estimate()
Provide a method to get the upper bound on the pages needed to allocate a given number of objects from a given kmem_cache. This lays the foundation for a generic reserve framework as presented in a later patch in this series. This framework needs to convert object demand (kmalloc() bytes, kmem_cache_alloc() objects) to pages. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/slab.h | 4 ++ mm/slab.c | 75 +++++++++++++++++++++++++++++++++++++++++++ ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 32/32] nfs: fix various memory recursions possibl ...
GFP_NOFS is _more_ permissive than GFP_NOIO in that it will initiate IO, just not of any filesystem data. The problem is that previuosly NOFS was correct because that avoids recursion into the NFS code, it now is not, because also IO (swap) can lead to this recursion. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- fs/nfs/pagelist.c | 2 +- fs/nfs/write.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 03/32] net: ipv6: clean up ip6_route_net_init() e ...
ip6_route_net_init() error handling looked less than solid, fix 'er up. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- net/ipv6/route.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) Index: linux-2.6/net/ipv6/route.c =================================================================== --- linux-2.6.orig/net/ipv6/route.c +++ linux-2.6/net/ipv6/route.c @@ -2611,10 +2611,8 @@ static int ip6_route_net_init(struct net net->ipv6.ip6_prohibit_entry = ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 28/32] nfs: remove mempools
With the introduction of the shared dirty page accounting in .19, NFS should not be able to surpise the VM with all dirty pages. Thus it should always be able to free some memory. Hence no more need for mempools. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- fs/nfs/read.c | 15 +++------------ fs/nfs/write.c | 27 +++++---------------------- 2 files changed, 8 insertions(+), 34 deletions(-) Index: ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 24/32] netfilter: NF_QUEUE vs emergency skbs
Avoid memory getting stuck waiting for userspace, drop all emergency packets. This of course requires the regular storage route to not include an NF_QUEUE target ;-) Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- net/netfilter/core.c | 3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6/net/netfilter/core.c =================================================================== --- linux-2.6.orig/net/netfilter/core.c +++ linux-2.6/net/netfilter/core.c @@ -176,9 +176,12 @@ ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 07/32] mm: tag reseve pages
Tag pages allocated from the reserves with a non-zero page->reserve. This allows us to distinguish and account reserve pages. Since low-memory situations are transient, and unrelated the the actual page (any page can be on the freelist when we run low), don't mark the page in any permanent way - just pass along the information to the allocatee. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/mm_types.h | 1 + mm/page_alloc.c | 4 +++- 2 files ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 30/32] nfs: disable data cache revalidation for s ...
Do as Trond suggested: http://lkml.org/lkml/2006/8/25/348 Disable NFS data cache revalidation on swap files since it doesn't really make sense to have other clients change the file while you are using it. Thereby we can stop setting PG_private on swap pages, since there ought to be no further races with invalidate_inode_pages2() to deal with. And since we cannot set PG_private we cannot use page->private (which is already used by PG_swapcache pages anyway) to store the nfs_page. ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 17/32] 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/bnx2.c | 8 +++----- drivers/net/e1000/e1000_main.c | 8 ++------ drivers/net/e1000e/netdev.c | 7 ++----- drivers/net/igb/igb_main.c | 9 ++------- drivers/net/ixgbe/ixgbe_main.c | 10 +++------- ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 27/32] mm: methods for teaching filesystems about ...
In order to teach filesystems to handle swap cache pages, three new page functions are introduced: pgoff_t page_file_index(struct page *); loff_t page_file_offset(struct page *); struct address_space *page_file_mapping(struct page *); page_file_index() - gives the offset of this page in the file in PAGE_CACHE_SIZE blocks. Like page->index is for mapped pages, this function also gives the correct index for PG_swapcache pages. page_file_offset() - uses page_file_index(), so that it ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 08/32] mm: slb: add knowledge of reserve pages
Restrict objects from reserve slabs (ALLOC_NO_WATERMARKS) to allocation contexts that are entitled to it. This is done to ensure reserve pages don't leak out and get consumed. The basic pattern used for all # allocators is the following, for each active slab page we store if it came from an emergency allocation. When we find it did, make sure the current allocation context would have been able to allocate page from the emergency reserves as well. In that case allow the allocation. If not, force ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 14/32] mm: memory reserve management
Generic reserve management code. It provides methods to reserve and charge. Upon this, generic alloc/free style reserve pools could be build, which could fully replace mempool_t functionality. It should also allow for a Banker's algorithm replacement of __GFP_NOFAIL. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/linux/reserve.h | 198 ++++++++++++++ include/linux/slab.h | 20 - mm/Makefile | 2 mm/reserve.c | 637 ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 12/32] mm: system wide ALLOC_NO_WATERMARK
The reserve is proportionally distributed over all (!highmem) zones in the system. So we need to allow an emergency allocation access to all zones. In order to do that we need to break out of any mempolicy boundaries we might have. In my opinion that does not break mempolicies as those are user oriented and not system oriented. That is, system allocations are not guaranteed to be within mempolicy boundaries. For instance IRQs don't even have a mempolicy. So breaking out of mempolicy ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 06/32] mm: expose gfp_to_alloc_flags()
Expose the gfp to alloc_flags mapping, so we can use it in other parts of the vm. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- mm/internal.h | 10 ++++++++++ mm/page_alloc.c | 10 +--------- 2 files changed, 11 insertions(+), 9 deletions(-) Index: linux-2.6/mm/internal.h =================================================================== --- linux-2.6.orig/mm/internal.h +++ linux-2.6/mm/internal.h @@ -187,6 +187,16 @@ static inline void free_page_mlock(struc #define ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 01/32] mm: gfp_to_alloc_flags()
Clean up the code by factoring out the gfp to alloc_flags mapping. [neilb@suse.de says] As the test: - if (((p->flags & PF_MEMALLOC) || unlikely(test_thread_flag(TIF_MEMDIE))) - && !in_interrupt()) { - if (!(gfp_mask & __GFP_NOMEMALLOC)) { has been replaced with a slightly weaker one: + if (alloc_flags & ALLOC_NO_WATERMARKS) { we need to ensure we don't recurse when PF_MEMALLOC is set Signed-off-by: Peter Zijlstra ...
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 18/32] net: sk_allocation() - concentrate socket ...
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 | 3 ++- net/ipv4/tcp_output.c | 12 +++++++----- net/ipv6/tcp_ipv6.c | 17 ++++++++++++----- 4 files changed, 26 insertions(+), 11 deletions(-) Index: linux-2.6/net/ipv4/tcp_output.c =================================================================== --- ...
Oct 2, 6:05 am 2008
Andrew Morton
Re: [PATCH 00/32] Swap over NFS - v19
I don't think we're really able to get any MM balls rolling until we get all the split-LRU stuff landed. Is anyone testing it? Is it good? --
Oct 2, 12:47 pm 2008
Lee Schermerhorn
Re: [PATCH 00/32] Swap over NFS - v19
Andrew: Up until the mailing list traffic and patches slowed down, I was testing it continuously with a heavy stress load that would bring the system to its knees before the splitlru and unevictable changes. When it would run for days without error [96 hours was my max run] and no further patches came, I've concentrated on other things. Rik and Kosaki-san have run some performance oriented tests, reported here a while back. Maybe they have more info. Lee --
Oct 2, 1:59 pm 2008
Peter Zijlstra
[PATCH 00/32] Swap over NFS - v19
Patches are against: v2.6.27-rc5-mm1 This release features more comments and (hopefully) better Changelogs. Also the netns stuff got sorted and ipv6 will now build and not oops on boot ;-) The first 4 patches are cleanups and can go in if the respective maintainers agree. The code is lightly tested but seems to work on my default config. Let's get this ball rolling... --
Oct 2, 6:05 am 2008
Peter Zijlstra
[PATCH 23/32] netvm: prevent a stream specific deadlock
It could happen that all !SOCK_MEMALLOC sockets have buffered so much data that we're over the global rmem limit. This will prevent SOCK_MEMALLOC buffers from receiving data, which will prevent userspace from running, which is needed to reduce the buffered data. Fix this by exempting the SOCK_MEMALLOC sockets from the rmem limit. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- include/net/sock.h | 7 ++++--- net/core/sock.c | 2 +- net/ipv4/tcp_input.c | 12 ...
Oct 2, 6:05 am 2008
Matt Fleming
[PATCH 2/2] MMC: CSD and CID timeout values
From 9a083f0e9a81f5bc31ea49f37112f1945830fc7c Mon Sep 17 00:00:00 2001 From: Matthew Fleming <matthew.fleming@imgtec.com> Date: Thu, 2 Oct 2008 12:24:05 +0100 Subject: [PATCH 2/2] MMC: CSD and CID timeout values The MMC spec states that the timeout for accessing the CSD and CID registers is 64 clock cycles. Signed-off-by: Matthew Fleming <matthew.fleming@imgtec.com> --- drivers/mmc/core/mmc_ops.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git ...
Oct 2, 4:57 am 2008
Matt Fleming
[PATCH 1/2] MMC: Use timeout values from CSR
From 6c6e19a6554753edc4e25827cd0873ad512192e4 Mon Sep 17 00:00:00 2001 From: Matthew Fleming <matthew.fleming@imgtec.com> Date: Thu, 2 Oct 2008 12:21:42 +0100 Subject: [PATCH 1/2] MMC: Use timeout values from CSR Hard-coded timeout values of 250ms for writes and 100ms for reads are currently used for MMC transactions over SPI. The spec states that the timeout values from the card should be used. Signed-off-by: Matthew Fleming <matthew.fleming@imgtec.com> --- drivers/mmc/host/mmc_spi.c | ...
Oct 2, 4:56 am 2008
Ingo Molnar
Re: [PATCH -tip 2/2] Tracing/fastboot: Get the initcall ...
applied to tip/tracing/fastboot, thanks Frederic, Ingo --
Oct 2, 5:02 am 2008
Ingo Molnar
[PATCH] tracing/fastboot: build fix
From 7d14307eeaa710427436c09c6f77dde1974621cf Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Thu, 2 Oct 2008 17:45:47 +0200 Subject: [PATCH] tracing/fastboot: build fix fix: In file included from kernel/sysctl.c:52: include/linux/ftrace.h:217: error: 'KSYM_NAME_LEN' undeclared here (not in a function) Signed-off-by: Ingo Molnar <mingo@elte.hu> --- include/linux/ftrace.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git ...
Oct 2, 8:47 am 2008
Frédéric Weisbecker
Re: [PATCH -tip 2/2] Tracing/fastboot: Get the initcall ...
BTW I forgot to cc Arjan. Arjan if you have some time to test it, I would be interested by your feeling about it since the boot tracer has now an output which is parsable by bootgraph.pl. Thanks! --
Oct 2, 5:18 am 2008
Frederic Weisbecker
[PATCH -tip 2/2] Tracing/fastboot: Get the initcall name ...
After some initcall traces, some initcall names may be inconsistent. That's because these functions will disappear from the .init section and also their name from the symbols table. So we have to copy the name of the function in a buffer large enough during the trace appending. It is not costly for the ring_buffer because the number of initcall entries is commonly not really large. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> --- include/linux/ftrace.h | 7 ++++--- ...
Oct 2, 4:26 am 2008
Ingo Molnar
Re: [PATCH -tip 1/2] Tracing/fastboot: Change the printi ...
applied to tip/tracing/fastboot, thanks Frederic! Ingo --
Oct 2, 5:02 am 2008
Frederic Weisbecker
[PATCH -tip 1/2] Tracing/fastboot: Change the printing o ...
Change the boot tracer printing to make it parsable for the scripts/bootgraph.pl script. We have now to output two lines for each initcall, according to the printk in do_one_initcall() in init/main.c We need now the call's time and the return's time. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> --- include/linux/ftrace.h | 2 ++ init/main.c | 20 +++++++++----------- kernel/trace/trace_boot.c | 22 +++++++++++++++------- 3 files changed, 26 insertions(+), ...
Oct 2, 3:59 am 2008
krzysztof.h1
Re: [Linux-fbdev-devel] [PATCH] matroxfb: Support G200eV chip
Is the new chip requires some changes in handling (e.g. diffrent clock ranges/setting, etc)? There is nothing about timings in the patch (aside 230MHz). Kind regards, ---------------------------------------------------------------------- Zapytaj o Milosc, Prace, Zdrowie, Rodzine ... Sprawdz >> http://link.interia.pl/f1f27 --
Oct 2, 2:29 am 2008
Christian Pellegrin
[PATCH RESEND] MAX3100 SPI UART driver
This patch adds support for the MAX3100 SPI UART. I am still waiting for a minor number from device@lanana.org so that may change. Generated on 20081002 against v2.6.27-rc7 Signed-off-by: Christian Pellegrin <chripell@fsfe.org> --- drivers/serial/Kconfig | 6 +- drivers/serial/Makefile | 1 + drivers/serial/max3100.c | 924 ++++++++++++++++++++++++++++++++++++++++ include/linux/serial_core.h | 3 + include/linux/serial_max3100.h | 53 +++ 5 files ...
Oct 2, 1:39 am 2008
Steven Noonan
Re: make MAINTAINERS slightly easier to search
Advanced Linux Sound System = ALSS? How about switching it to --
Oct 2, 2:08 am 2008
Pavel Machek
Re: make MAINTAINERS slightly easier to search
Fixed in my tree. Who is maintainer of MAINTAINERS file? ;-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Oct 2, 3:20 pm 2008
Randy Dunlap
Re: make MAINTAINERS slightly easier to search
I would expect Andrew to merge it. If he doesn't, then I'll try to merge it. :) ~Randy --
Oct 2, 3:32 pm 2008
Pavel Machek
make MAINTAINERS slightly easier to search
...shall we add rule that subsystems will have "subsystem" in the name so that search does not list all the drivers, first? Signed-off-by: Pavel Machek <pavel@suse.cz> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> diff --git a/MAINTAINERS b/MAINTAINERS index 3596d17..7345707 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3825,7 +3825,7 @@ L: linux-kernel@vger.kernel.org W: http://tifmxx.berlios.de/ S: Maintained -SOUND +SOUND SUBSYSTEM (ADVANCED LINUX SOUND SYSTEM, ALSA) ...
Oct 2, 1:14 am 2008
Randy Dunlap Oct 2, 8:58 am 2008
Rodolfo Giometti
[PATCH 09/10] PPS: parallel port clients support.
Adds support for the PPS sources connected with the interrupt pin of a parallel port. Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- drivers/char/lp.c | 61 +++++++++++++++++++++++++++++++++++++++++++ drivers/pps/clients/Kconfig | 10 +++++++ include/linux/parport.h | 22 +++++++++++++++ 3 files changed, 93 insertions(+), 0 deletions(-) diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 3f2719b..84e0bb0 100644 --- a/drivers/char/lp.c +++ ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 05/10] ldisc: new dcd_change() method for line di ...
Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- Documentation/tty.txt | 4 ++++ include/linux/tty_ldisc.h | 8 ++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Documentation/tty.txt b/Documentation/tty.txt index 8e65c44..3fc812a 100644 --- a/Documentation/tty.txt +++ b/Documentation/tty.txt @@ -100,6 +100,10 @@ write_wakeup() - May be called at any point between open and close. is permitted to call the driver write method from this function. ...
Oct 2, 12:41 am 2008
Alan Cox
Re: [PATCH 05/10] ldisc: new dcd_change() method for lin ...
On Thu, 02 Oct 2008 08:25:57 -0700 We can change that later if anyone wants the other bits. I'm quite happy with that side of it, the real question is the core code. The tty bits can then get a spit and polish in the ttydev tree. Alan --
Oct 2, 8:58 am 2008
H. Peter Anvin
Re: [PATCH 05/10] ldisc: new dcd_change() method for lin ...
Why limit this to just DCD change, and not any of the other status bits (DCD, RI, DSR, CTS)? -hpa --
Oct 2, 8:25 am 2008
Rodolfo Giometti
[PATCH 10/10] PPS: low level IRQ timestamps recording.
Add low level IRQ timestamps recording for x86 (32 and 64 bits) platforms and enable UART clients in order to use it. This improves PPS precision. :) Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- arch/x86/kernel/irq_32.c | 17 +++++++++++++++++ arch/x86/kernel/irq_64.c | 21 +++++++++++++++++++-- drivers/pps/Kconfig | 12 ++++++++++++ include/linux/pps.h | 1 + include/linux/serial_core.h | 7 ++++++- 5 files changed, 55 insertions(+), 3 ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 07/10] tty: new PPS line discipline.
Add a new line discipline for "pulse per second" devices connected to a serial port. Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- include/linux/tty.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/linux/tty.h b/include/linux/tty.h index 826d695..1857db2 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -24,7 +24,7 @@ */ #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ #define NR_UNIX98_PTY_MAX (1 ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 08/10] PPS: serial clients support.
Adds support, by using the PPS line discipline, for the PPS sources connected with the CD (Carrier Detect) pin of a serial port. Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- drivers/pps/clients/Kconfig | 7 ++ drivers/pps/clients/Makefile | 1 + drivers/pps/clients/pps-ldisc.c | 154 +++++++++++++++++++++++++++++++++++++++ drivers/serial/8250.c | 13 +++ include/linux/serial_core.h | 10 ++- 5 files changed, 184 insertions(+), 1 deletions(-) ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 03/10] PPS: documentation programs and examples.
Here some utilities and examples about the PPS API and the LinuxPPS support. * ppsldisc.c shows how to manage PPS line discipline; * ppstest.c implements an useful testing program, while * ppsfind tries to help the user into finding a specific PPS source by using its name or path. Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- Documentation/pps/Makefile | 28 ++++++++ Documentation/pps/ppsfind | 17 +++++ Documentation/pps/ppsldisc.c | 46 +++++++++++++ ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
LinuxPPS (RESUBMIT 7): the PPS Linux implementation.
This patch set adds the PPS support into Linux. PPS means "pulse per second" and its API is specified by RFC 2783 (Pulse-Per-Second API for UNIX-like Operating Systems, Version 1.0). The code has been tested with the NTPD program (http://www.eecis.udel.edu/~mills/ntp/html/index.html) and several GPS antennae. Changelog RESUBMIT 6 -> 7: * A new line discipline has been added in order to leave untouched the serial ports code (as suggested by Alan). * n_tty.c exports only GPL ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 02/10] PPS: userland header file for PPS API.
This patch adds into the PPS's documentation directory a possible implementation of the PPS API (RFC 2783) by using the LinuxPPS's char devices. This file is not just an example but it can be used into real systems. :) Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- Documentation/pps/timepps.h | 195 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 Documentation/pps/timepps.h diff --git ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 01/10] LinuxPPS core support.
This patch adds the kernel side of the PPS support currently named "LinuxPPS". PPS means "pulse per second" and a PPS source is just a device which provides a high precision signal each second so that an application can use it to adjust system clock time. Common use is the combination of the NTPD as userland program with a GPS receiver as PPS source to obtain a wallclock-time with sub-millisecond synchronisation to UTC. To obtain this goal the userland programs shoud use the PPS ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 04/10] PPS: LinuxPPS clients support.
Each PPS source can be registered/deregistered into the system by using special modules called "clients". They simply define the PPS sources' attributes and implement the time signal registartion mechanism. This patch adds a special directory for such clients and adds a dummy client that can be useful to test system integrity on real systems. Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- drivers/pps/Kconfig | 2 + drivers/pps/Makefile | 1 + ...
Oct 2, 12:41 am 2008
Rodolfo Giometti
[PATCH 06/10] ldisc n_tty: export all N_TTY ldisc methods.
Signed-off-by: Rodolfo Giometti <giometti@linux.it> --- drivers/char/n_tty.c | 54 +++++++++++++++++++++++++++++-------------------- include/linux/tty.h | 16 ++++++++++++++ 2 files changed, 48 insertions(+), 22 deletions(-) diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c index 708c2b1..8458ded 100644 --- a/drivers/char/n_tty.c +++ b/drivers/char/n_tty.c @@ -26,7 +26,7 @@ * * 2002/03/18 Implemented n_tty_wakeup to send SIGIO POLL_OUTs to * waiting writing ...
Oct 2, 12:41 am 2008
Rakib Mullick
[PATCH] drivers/gpio/bt8xxgpio.c Fix compilation warning.
drivers/gpio/bt8xxgpio.c: In function `bt8xxgpio_remove': drivers/gpio/bt8xxgpio.c:247: warning: ignoring return value of `gpiochip_remove', declared with attribute warn_unused_result Following patch removes the above warning. Thanks. Signed-off-by: Md.Rakib H. Mullick (rakib.mullick@gmail.com) --- linux-2.6.27-rc8.orig/drivers/gpio/bt8xxgpio.c 2008-10-01 19:20:59.000000000 +0600 +++ linux-2.6.27-rc8/drivers/gpio/bt8xxgpio.c 2008-10-02 12:30:26.374544032 +0600 @@ -242,9 +242,14 @@ ...
Oct 1, 11:59 pm 2008
Michael Buesch
Re: [PATCH] drivers/gpio/bt8xxgpio.c Fix compilation warning.
NACK. gpiolib should be fixed. It is impossible to handle this case. What your patch does is to leave the device in an inconsistent state, if the gpio remove fails. gpiolib is broken. It should not allow failure for the remove function, as most callers cannot handle it. gpiolib should force-remove any users of the gpio line, if the chip driver removes the chip. That's really the only way we can fix this. Breaking the driver (to leak resources or leave the device in an inconsistent ...
Oct 2, 1:22 am 2008
Rakib Mullick
Re: [PATCH] drivers/gpio/bt8xxgpio.c Fix compilation warning.
Yes, but it will notice through KERN_ERR that something bad has happened. And if we don't get out of it then it will continue its execution and will finish with a kfree ( I think which --
Oct 2, 6:39 am 2008
Badalian Vyacheslav
Re: NMI Watchdog detected LOCKUP on CPU3
We have 10 equal server what do Trafiic Shape (tc (htb, u32, sfq) and iptables) only. Few of them halt one times in week. Timer settings in config: HZ=300 NO_HZ=n Ok. I will try. Only one question - iTCO watchdog don't work on this platform (but chip have it... ICH9R). How i can reboot server remotely if it halt? Thanks! --
Oct 2, 2:54 am 2008
Andrew Morton
Re: NMI Watchdog detected LOCKUP on CPU3
At a guess I'd say that the hrtimer data structures got wrecked. If possible, please see if we fixed it in 2.6.27-rc8. If so, there might be a patch we need to backport (although is might have been backported into later 2.6.25.x's as well). --
Oct 2, 1:55 am 2008
Badalian Vyacheslav
NMI Watchdog detected LOCKUP on CPU3
Hello All. Please help cassify bug to report to bugzilla it! Look to my sysctl: # sysctl -a | grep panic kernel.panic = 3 kernel.panic_on_oops = 1 kernel.unknown_nmi_panic = 1 kernel.panic_on_unrecovered_nmi = 1 vm.panic_on_oom = 0 # sysctl -a | grep nmi kernel.unknown_nmi_panic = 1 kernel.nmi_watchdog = 1 kernel.panic_on_unrecovered_nmi = 1 # sysctl -a | grep rq kernel.sysrq = 1 But computer do not reboot and ALT+SysRQ+B don't work... This i get by netconsole and on the ...
Oct 1, 11:54 pm 2008
jmerkey
Re: do_filp_open fails to detect dentry revalidate of 1 ...
Correction: It's vfs_create that fails to check return codes properly. /* * Create - we need to know the parent. */ error = path_lookup_create(dfd, pathname, LOOKUP_PARENT, &nd, flag, mode); //// If ERROR is a positive value, ERR_PTR fails to convert it to a negative value. This causes the EDI register to get set to "1" after do_filp_open returns. //// if (error) return ...
Oct 1, 11:41 pm 2008
jmerkey
do_filp_open fails to detect dentry revalidate of 1 and ...
On assignment of a negative dentry, do_filp_open will crash with an oops in do_sys_open because do_filp_open returns "1" from revalidate rather than properly detect a negative dentry which has a dentry revalidate function before the file actually exists. Easy to reproduce. Create negative dentry and attach a revalidate function which returns 1 instead of 0 on non-existent file entry. The convoluted code in do_filp_open does not detect dentry errors in all cases properly. Jeff --
Oct 1, 11:17 pm 2008
Matti Linnanvuori
[patch v1.2.35] WAN: add driver retina
From: Matti Linnanvuori <matti.linnanvuori@ascom.com> Retina G.703 and G.SHDSL driver. Signed-off-by: Matti Linnanvuori <matti.linnanvuori@ascom.com> --- This patch is on top of jgarzik's netdev-2.6.git retina branch, also in URL: http://groups.google.com/group/pcidriver/web/retina.patch This patch replaces an erroneous io_remap_pfn_range call with an remap_pfn_range call. --- linux/drivers/net/wan/retina.c 2008-10-02 09:32:42.187347800 +0300 +++ ...
Oct 1, 11:37 pm 2008
Mathieu Desnoyers
LTTng 0.27, vmap-less buffering and splice()
Hi, I have reworked the underlying buffering mechanism LTTng uses in the past week. I took "relay", changed its vmap() buffers for my own linked list of buffers (not vmaped), made read/write wrappers which support writing data larger than a page size and writing across page boundaries, and finally managed to create a splice_read file operation which supports that. I finally changed lttd to make it use splice() instead of a mmap() and... it worked! :-) (after a bit a debugging, clearly) This ...
Oct 1, 11:06 pm 2008
Krzysztof Halasa
Re: [patch v0.7.67] WAN: add drivers etp and etp_stream
Syncppp is to be removed shortly, please use generic HDLC instead. See the "next" branch for up-to-date details. -- Krzysztof Halasa --
Oct 2, 5:51 am 2008
Matti Linnanvuori
[patch v0.7.67] WAN: add drivers etp and etp_stream
From: Matti Linnanvuori <matti.linnanvuori@ascom.com> Adding ETP G.703 drivers. Signed-off-by: Matti Linnanvuori <matti.linnanvuori@ascom.com> --- This patch is on top of linux-next-20080919. The patch is also in the following URL: http://groups.google.com/group/pcidriver/web/etp.patch --- linux-2.6.27-rc2/MAINTAINERS 2008-08-08 13:21:10.470637659 +0300 +++ linux/MAINTAINERS 2008-08-08 13:25:00.661113955 +0300 @@ -1678,6 +1678,13 @@ P: Mika Kuoppala M: miku@iki.fi ...
Oct 1, 11:05 pm 2008
Gregor Rebel
Anybody interested in a kernel memory manager?
Hi, I'm currently writing two modules related to XEN. Both modules need to acquire dynamic memory (via __get_free_pages() and kmalloc() ). In order to reuse some code, I wrote a third module which can provide simple memory-services to other modules: * Allocated pages and memories of each client-module gets tracked * When a module is about to exit, it can issue one function call to release all of its memories * Before first using the memory manager, each module has to obtain a unique owner id ...
Oct 1, 10:54 pm 2008
Gregor Rebel
Re: Anybody interested in a kernel memory manager?
Hi again, maybe the name is misleading, a better would could be kernel resource tracker. -- --
Oct 2, 2:49 am 2008
Jeremy Fitzhardinge
Re: Anybody interested in a kernel memory manager?
The best way to get a useful response is to post the patches and see what happens. There's no way to really evaluate what you're proposing in the abstract. J --
Oct 2, 9:58 am 2008
Kumar Gala
[PATCH] powerpc: Fix boot hang regression on MPC8544DS
Commit 00c5372d37a78990c1530184a9c792ee60a30067 caused the MPC8544DS board to hang at boot. The MPC8544DS is unique in that it doesn't use the PCI slots on the ULI (unlike the MPC8572DS or MPC8610HPCD). So the dummy read at the end of the address space causes us to hang. We can detect the situation by comparing the bridge's BARs versus the root complex. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> --- This is a fix for 2.6.27 and is also available ...
Oct 1, 11:03 pm 2008
D. Hugh Redelmeier
Re: [PATCH] x86: mtrr_cleanup safe to get more spare regs now
On Mon, 29 Sep 2008, Yinghai Lu wrote: | results: Thanks for posting all these examples. More test cases for mtrr-uncover. I've made some changes to mtrr-uncover so that it comes up with solutions for all of these without any hints (i.e. the user no longer has to specify the address range for the MTRR that must be uncovered, the program guesses). ftp://ftp.cs.utoronto.ca/pub/hugh/mtrr-uncover-2008oct01.tgz | 1. hpa | reg00: base=0xc0000000 (3072MB), size=1024MB: uncachable, ...
Oct 1, 10:26 pm 2008
auntvini
Division of Load Average
My self and my superviosr Dr David Levy have been working on introduction of new kernel code to correct the inherent problem of calculating load avarage by the current kernel. We have posted many e-mails in this regard since 2003 and kernel has been updated under the supervision of Rusty Russel. Also we had interactions with IBM group(balbir@in.ibm.com) who was engaged in delayed stat calculations. We emphasise the following facts (1) seperation of Disk IO load from CPU load This comes as a ...
Oct 2, 3:58 am 2008
Balbir Singh
Re: Division of Load Average
Sorry, I think I am completely out of context w.r.t. discussion. Any hints/URLs to the old discussion would be nice. -- Balbir --
Oct 2, 1:24 am 2008
Arjan van de Ven
Re: Division of Load Average
On Thu, 2 Oct 2008 06:58:45 -0400 while you can argue if including disk makes sense or not, it's 20+ years of tradition on Linux, and more on Unix. So.. whatever you do (and I think there's some sense in splitting things out).. please only *add* stats, don't replace the existing ones. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 1, 8:43 pm 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
my reproducer is sadly very simple (claws-mail is my mail client that uses maildir) Process claws-mail (4896) Total: 2829.7 msec EXT3: Waiting for journal access 2491.0 msec 88.4 % Writing back inodes 160.9 msec 5.7 % synchronous write 78.8 msec 3.0 % is an example of such a trace (this is with patch, without patch the numbers are about 3x bigger) Waiting for journal access is ...
Oct 2, 6:12 am 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
You proposed this a while back and it didn't happen and I forget why and the changelog doesn't mention any of that? --
Oct 1, 9:56 pm 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 15:47:37 +0200 argh. "0" means both "not set" and "highest priority". how about we fix this? right now "query + set" isn't idempotent..... it should be able to be that. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 7:26 am 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Now I think about it, didn't the earlier patch tweak CPU priority and Many performance regressions don't get noticed for six or twelve months, by which time everyone is suffering from them (see kernel/sched.c). kjournald does huge amounts of not-terribly-important writeback. One obvious risk is that by making all that bulk writeback high-priority, read-latency-sensitive applications might suffer latency spikes. Now, kjournald is _supposed_ to be mostly asynchronous wrt ...
Oct 1, 11:55 pm 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Wed, 1 Oct 2008 21:56:38 -0700 Jens didn't like the APi I used back then. Since then the kernel grew (by Jens) a clean API to do the same... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 6:05 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
If diddling with io priorities makes a big difference (and Arjan said it does), it's clearly stuck inside the io scheduler waiting to be dispatched. If it was marked sync, it would be going through much faster. As async, it'll get mixed in with other async writeout and that doesn't get a lot of attention in case of sync activity. -- Jens Axboe --
Oct 2, 1:22 am 2008
Dave Chinner
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
You can do that for submit_bio() by calling bio_set_prio() before submision - I did that for elevating only the XFS journal I/O. submit_bh() doesn't have any way of passing a priority through to it right now... I should resurrect the XFS patches I had an retest them.... Cheers, Dave. -- Dave Chinner david@fromorbit.com --
Oct 2, 4:58 pm 2008
Andi Kleen
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
XFS tried this some time ago too. I think the issue was that real user supplied RT applications don't want to compete with a "pseudo RT" kjournald. So it would really need a new priority class between RT and normal priority. -Andi -- ak@linux.intel.com --
Oct 1, 11:57 pm 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 09:46:59 -0400 yes; I have mount -o remount,relatime / & for i in `pidof kjournald` ; do ionice -c1 -p $i ; done I'll try (sadly I'm in a training session all day today so I might not interesting testcase of the markers concept. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 7:33 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Arjan, please read the interface, it does not... 0 means not set, period. What matters is the class setting, if that is non-zero then it is a valid setting. See #define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data) So highest priority BE is IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 0), which is of course valid. -- Jens Axboe --
Oct 2, 9:42 am 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 11:45:37 +0200 I looked at 0 but it appears the 0 is the default for everyone... if everyone just defaulted to > 0 then yes I would have picked 0. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 6:14 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Sure, just marking it as sync is not a magic bullet. It'll be in the first priority for that class, but it'll share bandwidth with other processes. So if you have lots of IO going on, it can take hundreds of miliseconds before being dispatched. RT will always be faster, but mainly by virtue of there being no RT IO in the first place. And of course preferential treatment is given to That's a good idea, just bump the priority a little bit. Arjan, did you test that out? I'd suggest just trying ...
Oct 2, 2:45 am 2008
Arjan van de Ven
[PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
From: Arjan van de Ven <arjan@linux.intel.com> Date: Wed, 1 Oct 2008 19:58:18 -0700 Subject: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority With latencytop, I noticed that the (in memory) atime updates during a kernel build had latencies of 6 seconds or longer; this is obviously not so nice behavior. Other EXT3 journal related operations had similar or even longer latencies. Digging into this a bit more, it appears to be an interaction between EXT3 and CFQ in that CFQ tries to be ...
Oct 1, 8:00 pm 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Behind other IO activity I suppose, since it's marked async. A more appropriate fix may be to mark atime updates as sync IO. Once upon a time I actually did start xxxing meta data IO from the file system, in ext3. That was mainly for blktrace so we could inspect what data was what at the trace end, but if we had full coverage (or better, at least), we could use that to bump priority as well. Probably the priority should be left at the default, but the IO should be upgraded to SYNC instead. ...
Oct 2, 12:45 am 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 15:27:47 +0200 ok I checked not by looking at the code, but running ionice -p <pid> on a -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 6:36 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Can we agree on this patch? -- Jens Axboe --
Oct 2, 12:22 pm 2008
Theodore Tso
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Are you running with noatime or relatime? One quick thing to try that might show what is going on is to run debugfs on the device where your mail directory is located, while claws is running, and then use the debugfs command "logdump -a" to dump out the contents of the journal. You can then use ncheck and icheck to take the FS block numbers from logdump and translate them to inode numbers, and then from inode numbers to pathnames. That might give us some insight as to what is going on. I ...
Oct 2, 6:46 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
That's not correct, class BE and value 4 is the default (and the code defaults to that, if you haven't set a value yourself): #define IOPRIO_NORM (4) static inline int task_ioprio(struct io_context *ioc) { if (ioprio_valid(ioc->ioprio)) return IOPRIO_PRIO_DATA(ioc->ioprio); return IOPRIO_NORM; } static inline int task_ioprio_class(struct io_context *ioc) { if (ioprio_valid(ioc->ioprio)) return ...
Oct 2, 6:27 am 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Maybe. And maybe marking all journal writeout and all commit activity as sync would have the same effect with less downside. But it'd be better to not wait on this IO at all, if poss.. --
Oct 2, 1:43 am 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 11:45:37 +0200 ok 0 works ok enough in quick testing as well...... updated patch below From df64cc4e2ab0c102bbac609dd948958a6f804fd3 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven <arjan@linux.intel.com> Date: Wed, 1 Oct 2008 19:58:18 -0700 Subject: [PATCH] Give kjournald a higher io priority With latencytop, I noticed that the (in memory) file updates during my workload (reading mail) had latencies of 6 seconds or longer; this is obviously not so nice behavior. Other ...
Oct 2, 12:04 pm 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Agree, would be much better... -- Jens Axboe --
Oct 2, 1:46 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
I think you called for benchmark results, which I don't think happened. The patch definitely makes sense, so we should just make sure that we don't regress elsewhere. Honestly, I'd be surprised if we did... How about I just toss it into the 2.6.28 testing mix, plenty of time for testing and such? -- Jens Axboe --
Oct 1, 11:27 pm 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Yes, it'll report '0' which means 'not set'. The kernel inteprets 'not set' as the default values, BE/4. There's a big diffence, since '0' means that we track CPU nice values where as if it returned be/4 then that is a strict/fixed setting. -- Jens Axboe --
Oct 2, 6:47 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Good point. I think we should mark the IO as sync, and maintain the same priority level. Any IO that ends up being waited on is sync by definition, we just need to expand the coverage a bit. -- Jens Axboe --
Oct 2, 12:55 am 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 21:22:23 +0200 This change will cause _all_ kjournald writeout to have elevated priority. The majority of that writeout (in data=ordered mode) is file data, which we didn't intend to change. The risk here is that this will *worsen* latency for plain old read(), because now kjournald writeout will be favoured. There is in fact a good argument for _reducing_ kjournald's IO priority, not increasing it! A better approach might be to mark the relevant buffers/bios as ...
Oct 2, 2:37 pm 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Right. Probably the lock_buffer() in do_get_write_access(). kjournald is checkpointing the committing transaction (writing metadata buffers back into the fs) and a user process operating on the current transaction is trying to get access to one of those buffers but has to wait for the writeout to complete first. It wasn't always thus. Back in, umm, 2.5.0 we did /* * The buffer_locked() || buffer_dirty() tests here are simply an * optimisation tweak. If anyone else in the system ...
Oct 2, 1:24 pm 2008
Theodore Tso
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
This is true unless the journal gets too full, and we need to do a checkpoint operation --- at which point, everything stops. If this was metadata-intensive a benchmark, and the journal wasn't large enough, this could be the problem. (And if you make the journal bigger, then when you *do* finally get forced to do a checkpoint operation, things get stalled for even longer.) Arjan, is this *really* about atime updates? I thought most poeple these days run with noatime or relatime. If people ...
Oct 2, 5:04 am 2008
Andrew Morton
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
No, they might be getting blocked at a higher level. An async atime update gets recorded into the current transaction. kjournald is working on the committing transaction. We try to keep those separated, to prevent user processes from getting blocked behind kjournald activity. But sometimes that doesn't work (including the place where I knowingly broke it). If we can find and fix the offending piece of jbd logic (a big if) then all is peachy. If the above theory turns out to be true ...
Oct 2, 1:03 am 2008
Jens Axboe
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
Actually I don't think I changed anything, did I? IIRC, I just pointed you at the API :-) -- Jens Axboe --
Oct 2, 10:11 am 2008
Arjan van de Ven
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
On Thu, 2 Oct 2008 08:04:44 -0400 I can very easily reproduce it; my mail client (claws) stalls due to this several seconds at least once every 5 to 10 minutes... (usually when I'm typing an email.. grumble) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 6:16 am 2008
Dave Chinner
Re: [PATCH] Give kjournald a IOPRIO_CLASS_RT io priority
That's what XFS has always done - mark the journal I/O as sync. Still, once you load up the elevator, the sync I/O can still get delayed for hundreds of milliseconds before dispatch, which was why I started looking at boosting the priority of the log I/O. It proved to be much more effective at getting the log I/O dispatched than the existing "mark it sync" technique.... The RT folk were happy with the idea of journal I/O using the highest non-RT priority for the journal, but I never got ...
Oct 2, 2:33 am 2008
NETVISION.NET.IL
VERIFY YOUR NETVISION.NET.IL EMAIL ACCOUNT IMMEDIATELY!
Dear NETVISION.NET.IL Subscriber, To verify your NETVISION.NET.IL account, you must reply to this email immediately and provide the information below: Username: Password: Failure to do this will immediately render your email address deactivatedfrom our database.You can also confirm your email address by logging into your NETVISION.NET.ILaccount at http://mail.netvision.net.il/ Thank you for using NETVISION.NET.IL! THE NETVISION.NET.IL TEAM --
Oct 1, 5:34 pm 2008
Mathieu Desnoyers
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
Well, jiffies should also be monotonic, but I don't know their exact Something like do_posix_clock_monotonic_gettime() in linux/time.h. I I just created two patches which instrument RCU callbacks and call_rcu in classic and preempt RCU to the -lttng tree to show how simple it is once the LTTng infrastructure is in place. Basically, all you need to do is to pull this tree (branch 2.6.27-rc8-lttng-0.31) : git://git.kernel.org/pub/scm/linux/kernel/git/compudj/linux-2.6-lttng.git And ...
Oct 2, 11:51 am 2008
Mathieu Desnoyers
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
You could possibly use get monotonic time, which should hopefully be a bit better than its NTP-corrected alternatives. Also, do you have all the tools you need to poinpoint the precise source of RCU stalls ? I haven't looked at RCU trace, but I should say adding a new tracepoint to instrument RCU callback execution at boot time and to trace it with LTTng is close to trivial. (actually, very early kernel boot is not so trivial as we would have to create a small kernel module to activate lttng ...
Oct 2, 8:10 am 2008
Paul E. McKenney
[PATCH tip/master] RCU-based detection of stalled CPUs f ...
Hello! This patch adds stalled-CPU detection to Classic RCU. This capability is enabled by a new config variable CONFIG_RCU_CPU_STALL_DETECTOR, which defaults disabled. This is a debugging feature to detect infinite loops in kernel code, not something that non-kernel-hackers would be expected to care about. This feature can detect looping CPUs in !PREEMPT builds and looping CPUs with preemption disabled in PREEMPT builds. This is essentially a port of this functionality from the treercu ...
Oct 2, 4:06 pm 2008
Paul E. McKenney
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
Hello again! This patch adds stalled-CPU detection to Classic RCU. This capability is enabled by a new config variable CONFIG_RCU_CPU_STALL_DETECTOR, which defaults disabled. This is a debugging feature, not something that non-kernel-hackers would be expected to care about. This feature can detect looping CPUs in !PREEMPT builds and looping CPUs with preemption disabled in PREEMPT builds. This is essentially a port of this functionality from the treercu patch. This version uses ...
Oct 2, 10:39 am 2008
Paul E. McKenney
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
There will be at least one non-dyntick CPU if there are RCU callbacks pending. If there are no RCU callbacks pending, then RCU won't be OK, I think I see the disconnection here... When RCU detects a stall, that often indicates that some CPU is spinning in the kernel (for !CONFIG_PREEMPT) or that some CPU is spinning in the kernel with preemption disabled (for CONFIG_PREEMPT). The stack trace will normally show what is spinning. Tracing the RCU activity in this case will not help -- it ...
Oct 2, 3:55 pm 2008
Paul E. McKenney
[PATCH,RFC] RCU-based detection of stalled CPUs for Clas ...
Hello! This patch adds stalled-CPU detection to Classic RCU. This capability is enabled by a new config variable CONFIG_RCU_CPU_STALL_DETECTOR, which defaults disabled. This is a debugging feature, not something that non-kernel-hackers would be expected to care about. This feature can detect looping CPUs in !PREEMPT builds and looping CPUs with preemption disabled in PREEMPT builds. This is essentially a port of this functionality from the treercu patch. One current shortcoming: on some ...
Oct 1, 5:36 pm 2008
Paul E. McKenney
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
OK. I thought jiffies were monotonic (though not perfectly correlated to the passage of time). This is a warning timeout, so does not need better than a few percent accuracy, as long as time never jumps too far. I just dump stack, which historically worked pretty well. Could you please tell me more about what you think should be added? --
Oct 2, 10:43 am 2008
Paul E. McKenney
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
Hmmm... Good point, I was just falling back on my old "we don't care about RCU stalls in boot-time code" rule from long ago. It is entirely possible (in fact reasonably likely) that this rule no longer applies to Linux as it exists today. So please see below for the console output. Not all systems report this stall. I have recently been running only on Power systems, will fire off on some x86s. My kneejerk reaction was that the "stall" was really due to the clock-setting operation -- RCU ...
Oct 2, 7:05 am 2008
Ingo Molnar
Re: [PATCH,RFC] RCU-based detection of stalled CPUs for ...
could you be a bit more specific, why do those warnings show up and why dont we care about them? There are things like networking that i think this is a very good idea in general - often the question comes up whether a hang seen in the RCU code is indeed caused by RCU or other factors. Could you perhaps rebase it against tip/core/rcu ? [or tip/master for convenience] Ingo --
Oct 2, 1:07 am 2008
Andrew Morton Oct 1, 9:55 pm 2008
Jean-Marc Spaggiari
IT8720: it87.c update
Hi, I just did some modifications to drivers/hwmon/it87.c in order to handle the IT8720 chipset and I would like to know where I can propose my modifications. Thanks, Regards, Jean-Marc --
Oct 1, 5:32 pm 2008
Alan Cox
Re: IT8720: it87.c update
On Wed, 1 Oct 2008 20:32:10 -0400 This list is as good a place as any. See Documentation/SubmittingPatches --
Oct 2, 6:02 am 2008
Wakko Warner
Re: How to make all of 4GB of memory available?
It may be a little odd, but I have a 64-bit x86 that I'm running 32-bit kernel. Mostly because I had some odd problems with various programs I was using. But was what more odd was the fact that I had a little less memory (~100mb) with a 64-bit kernel than with a 32-bit PAE kernel. -- Lab tests show that use of micro$oft causes cancer in lab animals Got Gas??? --
Oct 1, 6:19 pm 2008
Robert Hancock
Re: How to make all of 4GB of memory available?
HIGHMEM64G. Or better yet, use a 64-bit kernel. --
Oct 1, 5:21 pm 2008
Jesse Brandeburg
[PATCH 2.6.27-rc8 0/1] e1000e nvm fix
Please apply to 2.6.27 This is related to regression bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=11382 This patch is meant to prevent all future corruptions of the e1000e NVM (non volatile memory) after the driver is loaded. The registers stay locked until the machine is power cycled. This should allow us to move forward with debugging without allowing any other bad element or the e1000e driver, to write to the NVM area unexpectedly. Currently we (Intel Ethernet) are ...
Oct 1, 5:18 pm 2008
Thomas Gleixner
Re: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
Hmm. The mutex around the nvram acquire catched at least a couple of problems and IMHO they are serious enough to go into .27. At least to make sure that we do not accidentaly reenter the nvram functions under any circumstances. Thanks, tglx --
Oct 2, 2:05 am 2008
Jiri Kosina
Re: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
Hi, thanks. We have been running our tests with complete pileup of 12 patches from Intel, and the bug didn't trigger so far (and it triggers now pretty reliably with the unpatched kernel in the setup Karsten has established in our testing environment). So the patches really seem, as far as our current testing goes, to at least workaround the problem. I will now try to isolate which of the patches really fixes the problem, so that we could understand better what is going on and who ...
Oct 2, 2:59 am 2008
Brandeburg, Jesse
RE: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
no, because none of that is stored permanently in the eeprom unless you do writes with ethtool -E. Our policy for the driver is generally don't ever write to the eeprom. So all the normal paths (except for initial start on preproduction hardware and ethtool -E writes) do not write to the eeprom. Currently the driver will let you try to commit a change but with this patch it will never get written to NVM unless you reboot, load driver (the first time!) with WriteProtectNVM=0 and *then* do ...
Oct 2, 8:37 am 2008
Jesse Brandeburg
[PATCH] e1000e: write protect ICHx NVM to prevent malici ...
From: Bruce Allan <bruce.w.allan@intel.com> Set the hardware to ignore all write/erase cycles to the GbE region in the ICHx NVM. This feature can be disabled by the WriteProtectNVM module parameter (enabled by default) only after a hardware reset, but the machine must be power cycled before trying to enable writes. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> CC: arjan@linux.intel.com --- drivers/net/e1000e/e1000.h | ...
Oct 1, 5:18 pm 2008
Linus Torvalds
Re: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
Thanks, applied. One thing that I did notice when I looked at the driver is that I don't see any serialization what-so-ever around a lot of the special accesses. There's all these different routines that do ret_val = e1000_acquire_swflag_ich8lan(hw); if (ret_val) return retval; ... e1000_release_swflag_ich8lan(hw); but as far as I can tell, there is absolutely _nothing_ that prevents these from being done concurrently by software. Yeah, yeah, I'm sure most of them ...
Oct 1, 5:42 pm 2008
Arjan van de Ven
Re: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
there's quite a few of that yes. These are all fixed afaik but these fixes are being queued for 2.6.28 rather than being snuck in late into .27 (the patches have been posted to lkml a few times the last week) --
Oct 1, 6:33 pm 2008
Jiri Kosina
Re: [PATCH] e1000e: write protect ICHx NVM to prevent ma ...
Does this impose any user-visible behavior change? (such as not being able to set up wake-on-lan, change MAC address, whatever). -- Jiri Kosina SUSE Labs --
Oct 2, 6:02 am 2008
Darrick J. Wong
[PATCH] matroxfb: Support G200eV chip
Support the Matrox G200eV chip, based on timings that I found in the X.org matrox driver. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> --- drivers/video/matrox/matroxfb_base.c | 9 +++++++++ include/linux/pci_ids.h | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index c021362..8e7a275 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ ...
Oct 1, 5:21 pm 2008
Roland Dreier
Re: [PATCH 01/03] 9prdma: RDMA Transport Support for 9P
very cool... neat that it only takes 1000 lines of code to do this too. a few quick comments from a cursory read: > This file implements the RDMA transport provider for 9P. It allows > mounts to be performed over iWARP and IB capable network interfaces > and uses the OpenFabrics API to perform I/O. I don't like this "openfabrics API" terminology -- the RDMA API is just one part of the kernel API that you're using, and I'm not sure it's worth calling out specially. ie just delete that ...
Oct 1, 10:11 pm 2008
Tom Tucker
[PATCH 03/03] 9prdma: Kconfig changes for the RDMA transport
This patch adds a config option for the 9P RDMA transport. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Latchesar Ionkov <lionkov@lanl.gov> --- net/9p/Kconfig | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/net/9p/Kconfig b/net/9p/Kconfig index ff34c5a..c42c0c4 100644 --- a/net/9p/Kconfig +++ b/net/9p/Kconfig @@ -20,6 +20,12 @@ config NET_9P_VIRTIO This builds support for a transports between guest partitions and a host ...
Oct 1, 5:08 pm 2008
Tom Tucker
[PATCH 00/03] RDMA Transport Support for 9P
Eric: This patch series implements an RDMA Transport provider for 9P and is relative to your for-next branch. The RDMA support is built on the OpenFabrics API and uses SEND and RECV to exchange data. This patch series has been tested with dbench and iozone. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Latchesar Ionkov <lionkov@lanl.gov> [PATCH 01/03] 9prdma: RDMA Transport Support for 9P net/9p/trans_rdma.c | 996 ...
Oct 1, 5:08 pm 2008
Tom Tucker
[PATCH 01/03] 9prdma: RDMA Transport Support for 9P
This file implements the RDMA transport provider for 9P. It allows mounts to be performed over iWARP and IB capable network interfaces and uses the OpenFabrics API to perform I/O. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Latchesar Ionkov <lionkov@lanl.gov> --- net/9p/trans_rdma.c | 1025 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 1025 insertions(+), 0 deletions(-) diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c new file mode ...
Oct 1, 5:08 pm 2008
Tom Tucker
[PATCH 02/03] 9prdma: Makefile change for the RDMA transport
This adds a make rule for the 9pnet_rdma module that implements the RDMA transport. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Latchesar Ionkov <lionkov@lanl.gov> --- net/9p/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/net/9p/Makefile b/net/9p/Makefile index 5192194..bc909ab 100644 --- a/net/9p/Makefile +++ b/net/9p/Makefile @@ -1,5 +1,6 @@ obj-$(CONFIG_NET_9P) := 9pnet.o obj-$(CONFIG_NET_9P_VIRTIO) += ...
Oct 1, 5:08 pm 2008
Ingo Molnar
Re: [patch x86/core] x86: allow number of additional hot ...
yeah - and we already have the additional_cpus=x boot option, but a boot option is not generally useful to a distribution. Ingo --
Oct 2, 12:50 pm 2008
Chuck Ebbert
Re: [patch x86/core] x86: allow number of additional hot ...
On Thu, 02 Oct 2008 11:12:51 +0200 Well not all of them, but this one is a good candidate. Either that or we should just change the default to zero. --
Oct 2, 12:25 pm 2008
Andi Kleen
Re: [patch x86/core] x86: allow number of additional hot ...
Well then something is broken, but the fix is not to lower num_possible_cpus(), but to fix the root cause. How did you measure? And you mean total right? If it's total then it's ~32KB/CPU which is roughly similar to my 40k number (probably depends on CONFIG options) The standard way is __per_cpu_start - __per_cpu_end (on 64bit; or the other way round on 32bit). That segment is duplicated per CPU. Ok there are some dynamic data structures that scale too, so it's possible a little ...
Oct 2, 1:40 pm 2008
Ingo Molnar
Re: [patch x86/core] x86: allow number of additional hot ...
hm, wouldnt this option kill 'real' hot-plug CPUs (how rare they might be) which are properly enumerated in the BIOS tables? i dont mind having a facility to disable real CPU hotplug, but the CONFIG_HOTPLUG_DEFAULT_ADDITIONAL_CPUS does not spell that out clearly IMO. Something like CONFIG_HOTPLUG_RESTRICT_TO_BOOTUP_CPUS=y would be more appropriately named i think? Ingo --
Oct 2, 1:12 am 2008
Chuck Ebbert
Re: [patch x86/core] x86: allow number of additional hot ...
On Thu, 2 Oct 2008 21:44:09 +0200 The prefix rewriting doesn't happen unless I boot with additional_cpus=0, maxcpus=1, or with this patch applied and the config option set. I think the rules for when/if the rewriting happens changed a while ago to avoid multiple switches and now it's not happening at all on this machine by default. Oh, and with NR_CPUS=512 I am seeing 1.6MB per-cpu data (I'll have to check that, but I remember being surprised at how big the number was.) --
Oct 2, 1:09 pm 2008
Ingo Molnar
Re: [patch x86/core] x86: allow number of additional hot ...
ok, that description and naming makes the purpose much clearer, and it's default-disabled as well. Applied to tip/x86/core, thanks Chuck! was already in -tip, by virtue of: | commit 2bd455dbfebfd632a8dcf1d3d1612737986fde0a | Author: Li Zefan <lizf@cn.fujitsu.com> | Date: Mon Aug 4 11:26:38 2008 +0800 | | x86: remove nesting CONFIG_HOTPLUG_CPU please double-check latest tip/master nevertheless: http://people.redhat.com/mingo/tip.git/README to make sure i merged your ...
Oct 2, 12:42 pm 2008
H. Peter Anvin
Re: [patch x86/core] x86: allow number of additional hot ...
Wouldn't this be better to have a runtime option? -hpa --
Oct 2, 12:48 pm 2008
Andi Kleen
Re: [patch x86/core] x86: allow number of additional hot ...
You can set this with additional_cpus=... at boot time. I don't think each runtime option needs a CONFIG option too. -Andi --
Oct 2, 2:12 am 2008
Andi Kleen
Re: [patch x86/core] x86: allow number of additional hot ...
What do you mean with single cpu mode? e.g. the lock prefix rewriting is only determined by online CPUs, not possible CPUs. And this only affects the possible ones. I'm not aware of any other special mode with num_possible_cpus() == 1, An extra possible CPU is not that costly. A 64bit kernel with my old defconfig has about 40k of per CPU data which would be duplicated. And having real hotplug always require that option would be nasty. What you could probably do if you really worry ...
Oct 2, 12:44 pm 2008
Chuck Ebbert
[patch x86/core] x86: allow number of additional hotplug ...
From: Chuck Ebbert <cebbert@redhat.com> x86: allow number of additional hotplug CPUs to be set at compile time, V2 The default number of additional CPU IDs for hotplugging is determined by asking ACPI or mptables how many "disabled" CPUs there are in the system, but many systems get this wrong so that e.g. a uniprocessor machine gets an extra CPU allocated and never switches to single CPU mode. And sometimes CPU hotplugging is enabled only for suspend/hibernate anyway, so the additional ...
Oct 2, 12:30 pm 2008
Jon Masters
Re: [RFC patch 5/5] genirq: make irq threading robust
Is that going to fly? For the vast majority of task_structs this is now a wasted 4/8 bytes that won't be used. Jon. --
Oct 1, 5:52 pm 2008
Steven Rostedt
Re: [RFC patch 5/5] genirq: make irq threading robust
Perhaps we could convert parts of the task_struct into a union. There is quite a lot of things that I'm not sure kernel threads use. fpu_counter? well, it is only one byte. binfmt? Do kernel threads use group_leader? What about the ptraced items? group ids/info on kernel threads? do kernel threads need robust futex info? This was just a quick look at the task struct. Perhaps we could separate out kernel only and user space only info and bring the total size down? Although I'm ...
Oct 1, 10:20 pm 2008
Steven Rostedt
Re: [RFC patch 3/5] genirq: add threaded interrupt handl ...
Do you purposely fall through to the next case statement here? If so, could you please add a comment. /* fall through */ -- Steve --
Oct 1, 10:01 pm 2008
Andi Kleen
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
I'm not sure I'm really looking forward to this brave new world of very long running interrupt handlers. e.g. what do you I had an old patch to handle this without threaded interrupts. What normally happens is when a interrupt oopses it tries to kill the idle process which panics. My fix was to just restart another idle process instead of panicing. But back then it was rejected by Linus with the argument that a crashing interrupt handler will typically hold some lock and the next time ...
Oct 2, 7:46 am 2008
Jon Masters
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Sven and I started poking at the various USB host drivers on the flight back from Plumbers. I'll see if I can convert over a few here on the systems that I have and send over some patches. Jon. --
Oct 1, 5:40 pm 2008
Greg KH
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
We have this issue today with some irqs (USB is known for issue here...) So I don't think this is a big issue, and in the end, a better idea as it might force us to confront some of the big abusers and fix them. thanks, greg k-h --
Oct 2, 2:31 pm 2008
Thomas Gleixner
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Clearly you have neither clue about real time nor about operating systems in general. Solaris, some BSDs and MacOSX use interrupt threads. Where exactly is the relation to realtime? The concept of interrupt threads is nothing which is in any way related to real time. It is a well known and pretty old concept in operating system design. The fact that real time operating systems benefit from interrupt threads is a totally different topic. tglx --
Oct 2, 11:42 am 2008
Steven Rostedt
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Well, please take that up separately. Do you see these patches going into the -rt tree? No, they are going in mainline. We will deal with You are bringing up concerns about mainline changes with something that is maintained outside the mainline tree. Changes to mainline have never Yes Daniel, I know. But this is not a conversation. This is a email thread that is talking about changes to mainline. The mainline kernel developers really don't care about any issues that these changes will ...
Oct 2, 3:28 pm 2008
Arjan van de Ven
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
On Thu, 2 Oct 2008 14:31:46 -0700 one of the things irq threads gives you is that 'top' will show you which ones are eating cpu ;-) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 3:33 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Clearly threading irq handlers does have something to do with real time, It's all connected to the removal of latency .. One part depending on How does this simplify locking ? Daniel --
Oct 2, 8:48 am 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
You contradict yourself .. I said "Clearly threading irq handlers does have something to do with real time" then you say "they can be used for RT too" .. So my comments are clearly correct , they have "something" to do with real time. There exists a relationship of some kind or type. We need less insults on this list not more.. Maybe I could understand his reaction had I insulted him, but I didn't.. "Fair reaction" doesn't fit in this case .. Daniel --
Oct 2, 1:09 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
My comments are basically bidirectional , so what your saying doesn't make any sense .. I said basically, that dogs and "Italian Greyhounds" have _some_ connection .. Why are we even debating this. Daniel --
Oct 2, 1:48 pm 2008
Ingo Molnar
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Well, that's clearly wrong: threaded IRQ handlers are not tied to real-time in any way. Yes, they can be used for RT too but as far as the upstream kernel is involved that's at most an afterthought. and the "unless this patch isn't actually threading anything" bit does not parse at all. The patches execute hard-IRQ handlers from special what Thomas said was a strong but fair reaction to your obviously incorrect statement. What reaction did you expect? Ingo --
Oct 2, 12:28 pm 2008
Steven Rostedt
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
What Ingo is telling you is: - RT needs threaded interrupts. - Threaded interrupts do not need RT My dog is an Italian Greyhound. Italian Greyhound is a dog, but a dog is not an Italian Greyhound. -- Steve --
Oct 2, 1:14 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
I'm concerned about the connection between the two, which is what I'm If they are connected (which I think we established) , then it's not out of line for me to discuss the direction of these changes as related to You know Steven, often times you start a conversation and you have no idea where it will end up.. You can't always control which direction it We already debated this fact Steven. real time and this type of threading are connected. It's not off topic to discuss ...
Oct 2, 2:30 pm 2008
Steven Rostedt
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Daniel, what kind of logic is this? I was already accused of being on crack today (but was just too much coffee). Perhaps you might be the one that's on crack. I build a pipe. There exists a relationship between a pipe and crap running through it from my toilet. Does this mean that every time I need a pipe, that I need to take into account the inevitable connection to crap to run through it? God, I can see the problems with my gas lines. -- Steve --
Oct 2, 12:23 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Here we go again Thomas.. You think you can have a conversation without The very fact that you mention it in your release notes .. You mention The fact that a direct relationship exists means that any threaded interrupt system needs to take into account the inevitable connection to real time since it will be used in that system as a core component.. If you can't effectively achieve real time with your system , than that's a problem that needs to be addressed. Daniel --
Oct 2, 12:04 pm 2008
Steven Rostedt
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
This helps with latencies and locking. With the current scheme of hardirq, softirq/tasklets, there are a lot of craziness with spin_locks and spin_lock_irqs and mutexes. By creating an interrupt thread, we can skip the softirq/tasklet altogether, and this simplifies locking. There are other cases where threaded interrupt handlers also improve performance. But we will get to those in due time. -- Steve --
Oct 2, 8:02 am 2008
Steven Rostedt
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Why are you bringing up real time in this thread?? The thread has absolutely nothing to do with real time. This thread is about a better Again, this thread has nothing to do with removing spinlock level latency. You brought in this relationship with real time, just because real time uses threaded interrupts. This thread has nothing to do with real time. That is what Ingo, Thomas and myself are trying to ge through to you. The strong reaction from Thomas is that you just brought up ...
Oct 2, 2:05 pm 2008
Greg KH
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
There's only 3, how hard could it be? :) /me runs away quickly --
Oct 2, 3:07 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
Your speaking for a lot of developers.. It's an RFC, it's coming from real time developers, it's real time connected, and this is the real time development list .. The issues I've brought up are specifically design comments/concerns related to future directions.. I was not at all speaking to your real Real time forum ? That's what this list is .. If you want this thread to People that don't care about real time related comments, they can stop reading the thread.. That's the nature ...
Oct 2, 4:24 pm 2008
Daniel Walker
Re: [RFC patch 0/5] genirq: add infrastructure for threa ...
I'm not clear on your direction here.. I don't have a problem with a mass driver audit, which I think is what your suggesting with this patch set .. However, a mass audit like that would push a fully real time system out for quite some time.. I also don't see a clear connection between these changes and ultimately removing spinlock level latency in the kernel. I realize you don't address that in your comments, but this is part of the initiative to remove spinlock level latency.. So with ...
Oct 1, 6:53 pm 2008
Steven Rostedt
Re: [RFC patch 2/5] genirq: add a quick check handler
Thomas, Nice work, thanks for doing this. Little comments below. It would be nice to still keep the name of the parameters here. The above reads funny. How about something like: @quick_check_handler: Function called before the real interrupt handler. It checks if the interrupt originated from the device. This can be NULL. --
Oct 1, 9:52 pm 2008
Greg KH
Re: [RFC patch 2/5] genirq: add a quick check handler
"Trust, but verify" :) We should just print out something if it takes longer than Xus, that way we can fix the code, something that other operating systems can't do. thanks, greg k-h --
Oct 2, 3:06 pm 2008
Jon Masters
Re: [RFC patch 2/5] genirq: add a quick check handler
When we originally discussed this, there was an idea to modify the request_irq API to take this handler and an IRQF_THREADED type to mark the interrupt accordingly. I understand why it's a separate function in this implementation for ease of migration, but what do you think should happen in the end? Also, I suggest calling this something like "quiesce_device" because the quickcheck also needs to do that. We probably need some documentation eventually so people realize what this "quickcheck" ...
Oct 1, 5:47 pm 2008
Steven Rostedt
Re: [RFC patch 2/5] genirq: add a quick check handler
We could always implement something similar to what I was told Microsoft does (I was just told this, I don't know for fact). Time this function and if it takes longer than, say 50us, print a warning and kill the device ;-) -- Steve --
Oct 1, 10:09 pm 2008
Jon Masters
Re: [RFC patch 2/5] genirq: add a quick check handler
You know, it's funny you suggested that because I thought about going there. But there's probably some silly patent on that groundshattering Microsoft solution to the halting problem. Anyway, I like to think we in the Linux community trust developers to do the right thing more than Microsoft does :) Jon. --
Oct 2, 3:51 am 2008
Pazzo Da Legare
Re: booting uncompressed kernel on x86
It seems there is no way to do that without a specific patch pazzo --
Oct 2, 9:50 am 2008
Marek Szuba
Re: Regular system 'hiccups' with 2.6.25+ on amd64 machines
On Wed, 1 Oct 2008 15:09:40 -0700 Your assumption was correct, disabling the group scheduler has fixed all the problems (except for the fact that when xruns do occur the values are still extremely large - but that's probably just version incompatibility between ALSA drivers in the kernel and libasound). Of course this suggests that the group scheduler is still borked, at least on amd64. Thanks for your help! Best regards, -- MS --
Oct 2, 1:22 pm 2008
Andi Kleen
Re: Regular system 'hiccups' with 2.6.25+ on amd64 machines
You could do a oprofile run (http://oprofile.sourceforge.net) and see if it's something taking a lot of CPU time. -Andi -- ak@linux.intel.com --
Oct 2, 2:14 am 2008
Eric Sandeen
Re: XFS filesystem corruption on the arm(el) architecture
At one point there were other patches floating around to "fix" arm which were not correct. Are these problems seen on a pristine 2.6.27-rc4 kernel, or with other special arm patches applied? -Eric --
Oct 1, 5:56 pm 2008
Eric Sandeen
Re: XFS filesystem corruption on the arm(el) architecture
You could try undoing this: /* ARM old ABI has some weird alignment/padding */ #if defined(__arm__) && !defined(__ARM_EABI__) #define __arch_pack __attribute__((packed)) #else #define __arch_pack #endif and just define __arch_pack to nothing unconditionally, to see if that's what broke... Or if someone can provide an xfs.ko, or point "pahole" at it yourself, and see if xfs_dir2_sf_hdr, xfs_dir2_sf_entry, and xfs_dir2_sf look ...
Oct 1, 6:17 pm 2008
Eric Sandeen
Re: XFS filesystem corruption on the arm(el) architecture
Ok, actually: first - sorry for the scattershot replies. I thought userspace was updated earlier, but: xfsprogs-2.10.1 (5 September 2008)... - Add packed on-disk shortform directory for ARM's old ABI, thanks to Eric Sandeen. and the original kernel change: [XFS] Pack some shortform dir2 structures for the ARM old ABI architecture. ... Note that userspace needs a similar treatment, and any filesystems which were running with the previous rogue "fix" will now see ...
Oct 1, 6:42 pm 2008
Dave Chinner
Re: XFS filesystem corruption on the arm(el) architecture
Adding xfs@oss.sgi.com to the cc list so all the XFS folk see this. -- Dave Chinner david@fromorbit.com --
Oct 1, 5:45 pm 2008
Greg KH
Re: Agere Hermes source-code: copyright situation
I just added the wlan-ng usb driver (and stack) to the drivers/staging/ tree a few hours ago :) So yes, we do need to do this kind of migration, at the moment I am trying to track down all out-of-tree drivers that distros and users are relying on to get them into staging/ and then we can work on cleaning them up and moving them to the proper place in the kernel tree. Sound good? So, for this driver, should I do the same thing, as I don't think these devices are covered by any other ...
Oct 2, 1:37 pm 2008
Dan Williams
Re: Agere Hermes source-code: copyright situation
Prism II USB devices are only covered by linux-wlan-ng, yes. Dan --
Oct 2, 2:28 pm 2008
Andrey Borzenkov
Re: Agere Hermes source-code: copyright situation
TJ you can answer me using arvidjaar (at) newmail dot ru. Hopefully one of them works. Re WPA2 - there is no information how to setup CCMP/AES (even if firmware supports it); so no WPA2. I do not mind but it is likely makes no sense for H-I now; and I do not own H-II myself so cannot work on it. If we are focusing on H-2/2.5, it would make more sense to make similar modifications to 7.22 driver set from Agere to avoid overlap with Orinoco. firmware download functionality (which is supported ...
Oct 1, 7:37 pm 2008
Dan Williams
Re: Agere Hermes source-code: copyright situation
I tend to think that only for USB hardware do we need a new driver, and that driver can share some things with both hostap and orinoco. If at all possible, lets integrate missing hardware support into _existing_ drivers instead of importing drivers of questionable quality. I've seen wlags49 before and it's not great. Right now we don't have any viable Orinoco USB driver, and while linux-wlan-ng was proposed, there's no way we're taking a third 802.11 "stack" or the bits in those drivers ...
Oct 2, 1:31 pm 2008
Dave
Re: Agere Hermes source-code: copyright situation
I was hoping we could get it into David Woodhouses firmware tree. However I haven't had a response to my original message. I'll try again with a patch. Dave. --
Oct 2, 10:44 am 2008
Greg KH
Re: Agere Hermes source-code: copyright situation
Ok, let me know what you think is the best thing to do, and I'll be glad to help you out with it. thanks, greg k-h --
Oct 2, 1:00 pm 2008
David Brownell
Re: [PATCH 2.6.27-rc8 1/2] drivers/mfd/twl4030-core.c
My bad. Openpandora just opened for preorders *today* (PST) and sold out all 3000 units. I'm sure I mentioned it well after most of them were sold, so it's not my fault their Sounds like it *should* be a nice, modest, achievable goal, right? Something tells me it won't be that easy! More power to you. - Dave --
Oct 1, 11:53 pm 2008
Tony Lindgren
Re: [PATCH 2.6.27-rc8 1/2] drivers/mfd/twl4030-core.c
Hmm, well it's really the rest of the already posted omap2-upstream that RMK already commented on, plus one patch for sram for 34xx, then just the board files. So it should be doable yeah. Tony --
Oct 2, 12:27 am 2008
Tony Lindgren
Re: [PATCH 2.6.27-rc8 1/2] drivers/mfd/twl4030-core.c
Cool. I'll post some patches against mainline kernel for booting minimal omap3 boards within next few days. So we should get at least beagle and overo booting to some extent, maybe with serial and musb. Tony --
Oct 1, 11:05 pm 2008
Andrew Morton
Re: [PATCH] Improve buffered streaming write ordering
Another approach would be to only update mapping->writeback_index if nobody else altered it meanwhile. That being said, I don't really see why we get lots of seekiness when two threads start their writing the file from the same offset. --
Oct 1, 9:52 pm 2008
Aneesh Kumar K.V
Re: [PATCH] Improve buffered streaming write ordering
We need to do start the journal before locking the page with jbd2. That prevent us from doing any block allocation in writepage() call back. So with ext4/jbd2 we do block allocation only in writepages() call back where we start the journal with credit needed to write a single extent. Then we look for contiguous unallocated logical block and request the block allocator for 'x' blocks. If we get less than that. The rest of the pages which we iterated in writepages are redirtied so that we try ...
Oct 2, 11:18 am 2008
Chris Mason
Re: [PATCH] Improve buffered streaming write ordering
I tried a few variations on letting anyone update writeback_index if it hadn't changed, including always letting pdflush update it, and only letting non-pdflush update it when walking forward in the file. They all performed badly for both xfs and ext4, making me think the real benefit from my patch comes with making non-pdflush writers start at 0. So I'm a bit conflicted on this one. The filesystems could be doing better, but the current logic in write_cache_pages isn't ...
Oct 2, 9:12 am 2008
Chris Mason
Re: [PATCH] Improve buffered streaming write ordering
For metadata, it makes sense. Pages get dirtied in strange order, and if writeback_index is jumping around, we'll get the seeky metadata writeback. Data makes less sense, especially the very high extent count from ext4. An extra printk shows that ext4 is calling redirty_page_for_writepage quite a bit in ext4_da_writepage. This should be enough to make us jump around in the file. For a 4.5GB streaming buffered write, this printk inside ext4_da_writepage shows up 37,2429 times in ...
Oct 2, 5:20 am 2008
Aneesh Kumar K.V
Re: [PATCH] Improve buffered streaming write ordering
Ext4 do block allocation in ext4_da_writepages. So if we are feeding the block allocation with different(highly bouncing) index values we may end up with larger number of extents. Although the new mballoc block allocator should perform better because it reserve space based on logical block number in the file. -aneesh --
Oct 2, 11:08 am 2008
Andrew Morton
Re: [PATCH] Improve buffered streaming write ordering
That workload shouldn't be using that code path much at all. It's supposed to be the case that pdflush and balance_dirty_pages() do most of the writeback work. And that _used_ to be the case, but we broke it. It happened several years ago and I wasn't able to provoke anyone into finding out why. iirc the XFS guys noticed it because their throughput was fairly badly affected. --
Oct 2, 12:44 pm 2008
Dave Chinner
Re: [PATCH] Improve buffered streaming write ordering
Quite frankly, a simple streaming buffered write should *never* trigger writeback from the LRU in memory reclaim. That indicates that some feedback loop has broken down and we are not cleaning pages fast enough or perhaps in the correct order. Page reclaim in this case should be reclaiming clean pages (those that have already been written back), not writing back random dirty pages. Cheers, Dave. -- Dave Chinner david@fromorbit.com --
Oct 2, 4:43 pm 2008
Yasunori Goto
Re: [PATCH] memory hotplug: missing zone->lock in test_p ...
Tested-by: Yasunori Goto <y-goto@jp.fujitsu.com> -- Yasunori Goto --
Oct 2, 2:52 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH] memory hotplug: missing zone->lock in test_p ...
On Wed, 01 Oct 2008 19:27:48 +0200 Hmmmm ? my bad.. I agree to 2.6.27. Thanks --
Oct 1, 10:27 pm 2008
H. Peter Anvin
Re: [RFC] CPUID usage for interaction between Hypervisor ...
No. *Noone*, including the manufacturers, know the speed of the oscillator which is modulating the clock. What you have to do is average over a timespan which is long enough that the SSM averages out (a relatively small fraction of a second.) As for trusting the BIOS on this, that's a total joke. Firmware vendors You have to calibrate over a sample interval long enough that the SSM No, I'm saying the frequency modulation may be up to 2%. Typically it is something like ...
Oct 1, 6:21 pm 2008
H. Peter Anvin
Re: [RFC] CPUID usage for interaction between Hypervisor ...
In other words, 0x40000002+ is vendor-specific space, based on the hypervisor specified in 0x40000001 (in theory); in practice both 0x40000000:0x40000001 since M$ seem to use clever identifiers as What I'm saying is that Microsoft is effectively squatting on the 0x400000xx space with their definition. As written, it's not even clear that it will remain consistent between *their own* hypervisors, even less anyone else's. -hpa --
Oct 1, 6:24 pm 2008
Zachary Amsden
Re: [RFC] CPUID usage for interaction between Hypervisor ...
I'm not suggesting using the nominal value. I'm suggesting the measurement be done in the one and only place where there is perfect control of the system, the processor boot-strapping in the BIOS. Only the platform designers themselves know the speed of the oscillator which is modulating the clock and so only they should be calibrating the speed of the TSC. If this modulation really does alter the frequency by +/- 2% (seems high to me, but hey, I don't design motherboards), using an LFO, ...
Oct 1, 6:11 pm 2008
H. Peter Anvin
Re: [RFC] CPUID usage for interaction between Hypervisor ...
Ah, if it was only that simple. Transmeta actually did this, but it's not as useful as you think. There are at least three crystals in modern PCs: one at 32.768 kHz (for the RTC), one at 14.31818 MHz (PIT, PMTMR and HPET), and one at a higher frequency (often 200 MHz.) All the main data distribution clocks in the system are derived from the third, which is subject to spread-spectrum modulation due to RFI concerns. Therefore, relying on the *nominal* frequency of this clock is ...
Oct 1, 5:39 pm 2008
Avi Kivity
Re: [RFC] CPUID usage for interaction between Hypervisor ...
It's not fixed for newer hardware. Larger systems still have multiple tsc frequencies. -- error compiling committee.c: too many arguments to function --
Oct 2, 4:29 am 2008
H. Peter Anvin
Re: [RFC] CPUID usage for interaction between Hypervisor ...
For what it's worth, Transmeta's implementation used CPUID leaf 0x80860001.ECX to give the TSC frequency rounded to the nearest MHz. The caveat of spread-spectrum modulation applies. -hpa --
Oct 1, 5:57 pm 2008
Nakajima, Jun
RE: [RFC] CPUID usage for interaction between Hypervisor ...
T24gMTAvMS8yMDA4IDM6NDY6NDUgUE0sIEguIFBldGVyIEFudmluIHdyb3RlOg0KPiBBbG9rIEth dGFyaWEgd3JvdGU6DQo+ID4gPiBObywgdGhhdCdzIGFsd2F5cyBhIHRlcnJpYmxlIGlkZWEuICBT dXJlLCBpdHMgbmVjZXNzYXJ5IHRvIGRlYWwNCj4gPiA+IHdpdGggc29tZSBiYWNrd2FyZC1jb21w YXRpYmlsaXR5IGlzc3VlcywgYnV0IHdlIHNob3VsZCBldmVuDQo+ID4gPiBjb25zaWRlciBhIG5l dyBpbnRlcmZhY2Ugd2hpY2ggYXNzdW1lcyB0aGlzIGtpbmQgb2YgdGhpbmcuICBXZQ0KPiA+ID4g d2FudCBwcm9wZXJseSBlbnVtZXJhYmxlIGludGVyZmFjZXMuDQo+ID4NCj4gPiBUaGUgcmVhc29u IHdlIHN0aWxsIGhhdmUgdG8gZG8gdGhpcyBpcyBi ...
Oct 1, 6:11 pm 2008
Anthony Liguori
Re: [RFC] CPUID usage for interaction between Hypervisor ...
It does. 1 tick == 1 tick. The processor doesn't have a concept of wall clock time so wall clock units don't make much sense. If it did, I'd say, screw the TSC, just give me a ns granular time stamp and let's rdtscp sort of gives you this. But still, just give me my rdnsc and So a solution is needed that works for now. Anything that requires a vmexit is bad because the TSC frequency can change quite often. Even if you ignore the troubles with frequency scaling on older ...
Oct 1, 5:41 pm 2008
Bjorn Helgaas
Re: [PATCH 2/2]Add Variable Page Size and IA64 Support i ...
This patch adds clflush_cache_range(), but it's not used anywhere. If you do need it, it'd be nice if the arguments were the same types as for flush_icache_range(), and if there were a comment describing why it is necessary for VT-d. And maybe the name could be more like Please use dev_info() here. I see you just copied this from x86, but we should fix x86, too. Or better, since this doesn't appear to be arch-specific, maybe this should be moved to drivers/pci/quirks.c Shouldn't ...
Oct 2, 8:51 am 2008
Yu, Fenghua
RE: [PATCH 2/2]Add Variable Page Size and IA64 Support i ...
Since clflush_cache_range(start, size) is defined in x86, I just want to keep the same definition. So this patch set won't change __iommu_flush_cache(). Otherwise, the patch set will have #ifdef CONFIG_IA64 in __iommu_flush_cache() which is not desired. Will change this. Bjorn --
Oct 2, 10:46 am 2008
Ingo Molnar
Re: [PATCH 1/2]Add Variable Page Size and IA64 Support i ...
hm, that's not too nice - why not add it to arch/ia64/include/? Ingo --
Oct 2, 1:29 am 2008
Yu, Fenghua
RE: [PATCH 1/2]Add Variable Page Size and IA64 Support i ...
This is a comment from Bjorn. In my patch, one readq/one writeq are working faster than two readl/two writel on IA64. X86 uses two readl/two writel so that the code works on both x86 and x86-64 although Intel IOMMU only has x86-64 version currently. dmar_readq() and dmar_writeq() are in moderate performance critical path. Do you think my current implementation is ok to have #ifdef CONFIG_IA64 here? Or I can change X86 to use readq/writeq as well or IA64 uses two readl/two writel for clean ...
Oct 2, 3:06 pm 2008
Bjorn Helgaas
Re: [PATCH 1/2]Add Variable Page Size and IA64 Support i ...
Can you split this patch up? It contains several logically separate changes: - casting things to unsigned long long - adding stuff under #ifdef CONFIG_IA64 - page size changes This printk should include a clue, like the IOMMU ID and/or address These printks should include an IOMMU ID also (I assume a system can This should probably be a "dev_err(&pdev->dev," and include the These are pretty generic names (IOMMU_PAGE_SHIFT, IOVA_PFN, etc), but the definitions seem to be ...
Oct 2, 8:31 am 2008
Yu, Fenghua Oct 2, 2:46 pm 2008
Ingo Molnar
Re: [patch 0/5] Markers fixes
hm, only the first patch applies to tip/master - the rest is already applied. So i applied the first patch to tip/tracing/markers: # a2b4a6c: markers: re-enable fast batch registration Could you please check latest tip/master: http://people.redhat.com/mingo/tip.git/README to make sure that i sorted them out correctly. Thanks, Ingo --
Oct 2, 1:36 am 2008
Mariusz Kozlowski
Re: regression on imac G3: problems with sound
sound-2.6 works ok. linux-2.6 plus the two patches above solve the sound problem for me. BTW git-cherry-pick is a cool thing :) Thanks, Mariusz --
Oct 2, 3:39 am 2008
Takashi Iwai
Re: regression on imac G3: problems with sound
At Wed, 1 Oct 2008 23:47:34 +0300, No, it wasn't because it's not clear whether the patches are regression fixes. Mariusz, try sound git tree. Risto's patches are already there. git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git If it works, then try to cherry-pick the following two commits onto the vanilla kernel: - 8352a6fe67a0f804302b93178f2e13b66004a693 ALSA: snd-powermac: mixers for PowerMac G4 AGP - e25ae4fd3ccba79cfd5628642754a145394225f6 ALSA: ...
Oct 1, 11:41 pm 2008
Takashi Iwai
Re: regression on imac G3: problems with sound
At Thu, 2 Oct 2008 12:39:20 +0200, Thanks for checking. I'll add them to the next pull request. Takashi --
Oct 2, 3:49 am 2008
Tetsuo Handa
Re: [PATCH] CRED: ptrace_attach() should use the target ...
Hello. TOMOYO Linux is now trying to use CRED API, but some troubles were found. Thus, I want the below patch for TOMOYO Linux. Regards. ----- Subject: Add hooks for notifying of start/finish of an execve operation. This patch adds two hooks, security_start_execve() / security_finish_execve(), for notifying an LSM module of an execve operation is about to start and finish. TOMOYO Linux checks read and/or write permissions at security_dentry_open() if security_dentry_open() is called ...
Oct 2, 3:52 am 2008
Rusty Russell
Re: [PATCH 1/5] virtio_blk: change to use __blk_end_request()
Hi Kiyoshi, Nice and clear; now matches common kernel style. Acked-by: Rusty Russell <rusty@rustcorp.com.au> Thanks! Rusty. --
Oct 1, 9:52 pm 2008
Dan Williams
Re: w35und wifi driver for linux-staging
Whatever in the driver uses lots of stack space needs to be fixed, plain an simple... no excuse for that. --
Oct 2, 12:12 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 4/4] capture pages freed during direct reclai ...
On Wed, 1 Oct 2008 13:31:01 +0100 Hmm.. is this routine better than mm/memory_hotplug.c::do_migrate_range(start_pfn, end_pfn) ? Thanks, -Kame --
Oct 2, 12:24 am 2008
Andy Whitcroft
Re: [PATCH 4/4] capture pages freed during direct reclai ...
Not entirely, some pages could get trapped there for sure. But it is parallel allocations we are trying to guard against. Plus we already flush the pcp during reclaim for higher orders. -apw --
Oct 2, 7:35 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH 0/4] Reclaim page capture v4
On Wed, 1 Oct 2008 13:30:57 +0100 Hmm, can't we use "MIGRATE_ISOLATE" pageblock type for this purpose ? The page allocater skips pageblock marked as MIGRATE_ISOLATE at allocation. (pageblock-size is equal to HUGEPAGE size in general.) Of course, "where should be isolated" is a problem. Thanks, -Kame --
Oct 1, 11:44 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 2/4] pull out zone cpuset and watermark check ...
On Wed, 1 Oct 2008 13:30:59 +0100 Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --
Oct 2, 12:05 am 2008
kamezawa.hiroyu
Re: Re: [PATCH 4/4] capture pages freed during direct re ...
I just remember I did the same kind of work to offline pages. Sorry for noise. I just have an idea to support following kind of interface via memory hotplug This makes all pages in the section to be hugepage. #echo huge > /sys/device/system/memory/memoryXXX/state (memory hotplug interface supports online/offline here.) But no patches yet... Thanks, -Kame --
Oct 2, 8:25 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH 3/4] buddy: explicitly identify buddy field u ...
On Wed, 1 Oct 2008 13:31:00 +0100 Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --
Oct 2, 12:06 am 2008
Andy Whitcroft
Re: [PATCH 4/4] capture pages freed during direct reclai ...
Are you suggesting that it might be more adventageous to try and migrate things out of this area as part of reclaim? If so then I tend to agree, though that would be a good idea generally with or without capture. /me adds it to his todo list to test that out. -apw --
Oct 2, 8:02 am 2008
Andy Whitcroft
Re: [PATCH 0/4] Reclaim page capture v4
Hmmm. I would not expect to see any significant impact for this kind of workload as we should not be triggering capture for the lower order allocations at all. Something screwey must be occuring. I will go and reproduce this here and see if I can figure out just what causes this. -apw --
Oct 2, 8:04 am 2008
MinChan Kim
Re: [PATCH 0/4] Reclaim page capture v4
Hi, Andy. I tested your patch in my desktop. The test is just kernel compile with single thread. My system environment is as follows. model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz MemTotal: 2065856 kB When I tested vanilla, compile time is as follows. 2433.53user 187.96system 42:05.99elapsed 103%CPU (0avgtext+0avgdata 0maxresident)k 588752inputs+4503408outputs (127major+55456246minor)pagefaults 0swaps When I tested your patch, as follows. 2489.63user ...
Oct 1, 7:46 pm 2008
KAMEZAWA Hiroyuki
Re: [PATCH 1/4] pull out the page pre-release and sanity ...
On Wed, 1 Oct 2008 13:30:58 +0100 Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiruyo@jp.fujitsu.com> --
Oct 2, 12:05 am 2008
Christoph Lameter
Re: [PATCH 4/4] capture pages freed during direct reclai ...
So we just would need to forbid refilling the pcp. Parallel allocations are less a problem if the freed order 0 pages get merged immediately into the order 1 freelist. Of course that will only work 50% of the time but it will have a similar effect to this patch. --
Oct 2, 9:29 am 2008
Pavel Machek
Re: [RFC] thermal: Move trip point handling code from AC ...
On a short look it looks okay to me. It seems to depend on the previous (or some other?) patch, so it did not apply to me.... But if you have only moved code, that should not break anything, right? ;-). -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Oct 2, 1:22 am 2008
Yinghai Lu Oct 2, 9:19 am 2008
Ingo Molnar
Re: [PATCH] x86, UV: add uv_setup_irq() and uv_teardown_ ...
unrelated change that belongs into a separate patch. patch looks quite clean otherwise. Ingo --
Oct 2, 1:42 am 2008
H. Peter Anvin
Re: [PATCH] x86, UV: add uv_setup_irq() and uv_teardown_ ...
Not really. It probably should be called "UV-CORE" or something like that. -hpa --
Oct 2, 9:44 am 2008
Dean Nelson
[PATCH] x86, UV: add uv_setup_irq() and uv_teardown_irq( ...
Provide a means for UV interrupt MMRs to be setup with the message to be sent when an MSI is raised. Signed-off-by: Dean Nelson <dcn@sgi.com> --- Good question. Sometimes the obvious gets overlooked in the midst of Agreed. The change is needed by drivers/misc/sgi-xp once it has been modified to call uv_setup_irq() and uv_teardown_irq(). I'll move this change into that patch (or should it be in a patch all by itself?). Agreed and changed. The patch to drivers/misc/sgi-xp to call ...
Oct 2, 10:18 am 2008
Dean Nelson
[PATCH] x86, UV: add uv_setup_irq() and uv_teardown_irq( ...
Provide a means for UV interrupt MMRs to be setup with the message to be sent when an MSI is raised. Signed-off-by: Dean Nelson <dcn@sgi.com> --- Good question. Sometimes the obvious gets overlooked in the midst of Agreed. The change is needed by drivers/misc/sgi-xp once it has been modified to call uv_setup_irq() and uv_teardown_irq(). I'll move this change into that patch (or should it be in a patch all by itself?). The patch to drivers/misc/sgi-xp to call the functions introduced ...
Oct 2, 4:45 am 2008
Vegard Nossum
Re: [PATCH] x86: fix virt_addr_valid() with CONFIG_DEBUG ...
The purpose of this call was to make sure that the page behind the virtual address has an associated struct page. That is the assumption: virt_to_page() will return something meaningful if and only if Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036 --
Oct 1, 11:18 pm 2008
Thomas Gleixner
Re: [RFC patch 0/3] signals: add rt_tgsigqueueinfo syscall V2
I'll send out test code later this week - once I get a breather from bugs and regressions again. Thanks, tglx --
Oct 2, 1:57 am 2008
Ingo Molnar
Re: [RFC patch 0/3] signals: add rt_tgsigqueueinfo syscall V2
btw., you can send a Reviewed-by: Roland McGrath <roland@redhat.com> line in that case - i'm sure Thomas will appreciate it. Ingo --
Oct 2, 1:45 am 2008
Ingo Molnar
Re: [PATCH -tip] drivers/serial/8250.c: 'i' may be used ...
ah, if that works then it's a very nice idea! Ingo --
Oct 2, 2:00 am 2008
Ingo Molnar
Re: [PATCH] drivers/serial/8250.c: 'i' may be used unini ...
thanks for sorting it out! A CONFIG_CC_DISABLE_WARNING_ANNOTATIONS=y might be useful as well, which could be used periodically (by gcc folks) to check which warnings are hidden by annotations? Ingo --
Oct 2, 2:02 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH 0/6] memcg update v6 (for review and discuss)
On Wed, 1 Oct 2008 16:52:33 +0900 No terrible bugs until now on my test. My current idea for next week is following. (I may have to wait until the end of next merge window. If so, I'll wait and maintain this set.) - post ready-to-go set again. - post 1/6 and 2/6 as may-ready-to-go set. I don't chagnge order of these. - reflects comments for 3/6. patch 3/6 adds new functions. So, please tell me if you have better idea about new functions. - check logic for 4/6. - 5/6 and ...
Oct 2, 2:02 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH 4/6] memcg: new force_empty and move_account
Thank yoy for review! On Wed, 1 Oct 2008 09:38:04 -0700 It's unstable state. If someone frees some page, it's not full. But "seems" is not good, I'll remove "seems". Thanks, -Kame --
Oct 1, 10:13 pm 2008
KAMEZAWA Hiroyuki
[PATCH 2/6] memcg: allocate page_cgroup at boot (hunk fix)
[3-6/6] cannot be applied because of HUNK. This is fixed one for 2/6. only for test. I'll have to post this series again, anyway. = Allocate all page_cgroup at boot and remove page_cgroup poitner from struct page. This patch adds an interface as struct page_cgroup *lookup_page_cgroup(struct page*) All FLATMEM/DISCONTIGMEM/SPARSEMEM and MEMORY_HOTPLUG is supported. Remove page_cgroup pointer reduces the amount of memory by - 4 bytes per PAGE_SIZE. - 8 bytes per PAGE_SIZE if memory ...
Oct 2, 1:49 am 2008
Jens Axboe
Re: [PATCH 5/7] block: Find bio sector offset given idx ...
Looks good, I've applied patches 1-5. -- Jens Axboe --
Oct 2, 10:07 am 2008
Jens Axboe
Re: Block integrity patches for 2.6.28
As far as I can tell, most of that commit is still fine. You want bdev_get_integrity() in blkdev.h, the 3 other moves and the unused bdev_get_tag_size() do not look like they are being used by this patch set. Correct? -- Jens Axboe --
Oct 2, 3:56 am 2008
Jens Axboe
Re: Block integrity patches for 2.6.28
Well, I would not have added it in the first place, but it was there. I already did the bdev_get_integrity() addon instead of the revert, so Do we need any on top of current for-2.6.28? I'll apply your series with the modified patch #5, it'll probably need a hand edit or two since I didn't revert the commit in question, but should be trivial to resolve. -- Jens Axboe --
Oct 2, 9:29 am 2008
Martin K. Petersen
Re: Block integrity patches for 2.6.28
>>>>> "Jens" == Jens Axboe <jens.axboe@oracle.com> writes: Jens> As far as I can tell, most of that commit is still fine. You Jens> want bdev_get_integrity() in blkdev.h, the 3 other moves and the Jens> unused bdev_get_tag_size() do not look like they are being used Jens> by this patch set. bdev_get_integrity() and bdev_get_tag_size() are being used by stacking drivers and filesystems to prepare I/O. It's correct that none of the in-tree stuff currently uses bdev_get_tag_size(). ...
Oct 2, 6:54 am 2008
Martin K. Petersen
Re: [PATCH 5/7] block: Find bio sector offset given idx ...
>>>>> "Jens" == Jens Axboe <jens.axboe@oracle.com> writes: Jens> Too may BUG's there, me thinks, and the interface looks Jens> fragile. What if the bio is alreday done (bi_idx == bi_vcnt)? Good point! Obviously I've only used the function for bio splitting and not at completion time. Updated patch below. block: Find bio sector offset given idx and offset Helper function to find the sector offset in a bio given bvec index and page offset. Signed-off-by: Martin K. Petersen ...
Oct 1, 7:42 pm 2008
Matt Mackall
Re: [PATCH] mm: unify shmem and tiny-shmem
Here the difference comes down to 16 bytes for the "if (size < 0)" I've got a patch queued to drop it, will post shortly. -- Mathematics is the supreme nostalgia of our time. --
Oct 2, 3:44 pm 2008
Nick Piggin
Re: [PATCH] mm: unify shmem and tiny-shmem
Linus must have missed it I guess, because I think I did address it to him. If you or Matt or Andrew push it up, it might get taken seriously ;) --
Oct 1, 10:38 pm 2008
David Howells
Re: [PATCH] mm: unify shmem and tiny-shmem
It's not an outright improvement. shmem.o is still larger than tiny-shmem.o, Ummm... It seems to be. I think it used to be used by SYSV SHM. Certainly deleting that function causes no link problems. David --
Oct 2, 3:23 pm 2008
Matt Mackall
Re: [PATCH] mm: unify shmem and tiny-shmem
I agree, it's pretty hard to see a situation where you'd want full swap-backed shm and not full swap-backed tmpfs. I'll spin up a patch to follow on my unification. -- Mathematics is the supreme nostalgia of our time. --
Oct 2, 11:57 am 2008
Rusty Russell
Re: [PATCH] x86: clean up speedctep-centrino and reduce ...
One interesting side effect of making onstack cpumasks harder to use is that people will put effort into avoiding them. So far many have been an arbitrary implementation choice rather than a fundamental requirement for a Yeah, I'll keep it for the moment for simplicity; it's really orthogonal, so Oops, my bad. They do, but this patch was manual :) Thanks, Rusty. --
Oct 1, 10:05 pm 2008
Aneesh Kumar K.V
Re: possible (ext4 related?) memory leak in kernel 2.6.26
We actually fixed one in 6be2ded1d7c51b39144b9f07d2c839e1bd8707f1. It is not really a memory leak. But yes it was not releasing some the prealloc space memory. -aneesh --
Oct 2, 11:36 am 2008
Thomas Gleixner
Re: APIC frequency too slow on HP dv5z
Hmm, strange. Which kernel version ? Thanks, tglx --
Oct 2, 1:53 am 2008
Thomas Gleixner
Re: APIC frequency too slow on HP dv5z
Ok. Can you please add apic=verbose to the kernel command line so we get more detailed info about that ? Thanks, tglx --
Oct 2, 2:13 am 2008
Howard Chu
Re: APIC frequency too slow on HP dv5z
I only started paying attention recently. 2.6.27-rc4 thru rc7 for sure. I'm running rc7 right now, that's what those log snippets are from. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ --
Oct 2, 2:05 am 2008
Howard Chu
Re: APIC frequency too slow on HP dv5z
OK. Of course since you asked for it, the problem refused to show up. It took about a dozen reboots before it appeared again. And then it took 3-4 reboots to make it go away. Full dmesg output is here: http://www.highlandsun.com/hyc/msg.rc7.bad.gz http://www.highlandsun.com/hyc/msg.rc7.ok.gz -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ --
Oct 2, 3:56 pm 2008
Russell King - ARM Linux
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h
If you want me to do it, expect it in about 6 to 12 months time. --
Oct 2, 12:06 pm 2008
Christoph Lameter
Re: wrong usage of MAX_DMA_ADDRESS in bootmem.h
Right. Lets do it. MAX_DMA32 needs to be changed too. While you are at it: Could you make the association with the zones clearer? MAX_ZONE_DMA32_ADDRESS MAX_ZONE_DMA_ADDRESS, MAX_ZONE_DMA_PFN, MAX_ZONE_DMA32_PFN .... --
Oct 2, 9:49 am 2008
Jon Tollefson
Re: [PATCH] properly reserve in bootmem the lmb reserved ...
Thanks. I'll make those changes. I assume by __mminit you meant __meminit --
Oct 2, 2:52 pm 2008
Pierre Ossman
Re: [patch 0/3] RFC: Low-latency SDIO
On Tue, 30 Sep 2008 12:23:13 +0200 Did you see the response I sent to the previous thread? Rgds --=20 -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
Oct 2, 1:32 am 2008
Christer Weinigel
Re: [patch 0/3] RFC: Low-latency SDIO
Yes, i think so. My previous post was mostly handwaving and some claims of a performance improvement, I wanted to clean up my low latency patches first and show a concrete implementation of what I was thinking about before asking for more feedback. This patch mostly adds things, the asynchronous API is available for for those that need it, but old drivers will still work as before. There is a difference for host drivers, drivers that sleep in their request function will not work, but ...
Oct 2, 2:19 am 2008
Thomas Gleixner
RE: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
Nevertheless I vote strongly for putting that check in _NOW_. It has proven that there is concurrent access and that's definitely a bug by Well, timing of events changes slightly over time and we definitely had some major changes in the last three years which influence timing (high res timers, dynticks, NAPI ....) Thanks, tglx --
Oct 2, 11:02 am 2008
Olaf Kirch
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
I should have said 11.1 beta1. Olaf -- Neo didn't bring down the Matrix. SOA did. --soafacts.com --
Oct 2, 12:08 pm 2008
Brandeburg, Jesse
RE: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
I think that is possible, which is why the mutex patch would be good for the future. However we have not shown that to be happening as a root cause, but I don't rule it out. so, why now? Drivers since before the e1000/e1000e split had this same code, with no reports of problems. This code has been heavily tested, and one of the platforms easily reproducing this has been available for The flash control registers are documented in the ICH documentation, and are located at physical memory ...
Oct 2, 9:27 am 2008
Olaf Kirch
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
Possibly the dhcp client is doing something differently, or at a much higher frequency. At any rate, it seems we're seeing this now even when we just use init level 3, without X involvement. Karsten reports NVM corruption That may help, yes. Olaf -- Neo didn't bring down the Matrix. SOA did. --soafacts.com --
Oct 2, 10:33 am 2008
Jiri Kosina
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
A few minutes ago, I have actually just hit this, while debugging the issue on a kernel that had this patch included. I was not successful reproducing it yet though, but still it might be a pointer into direction where the real bug is. 15:49:07 linux-pr0e dhclient: Listening on LPF/eth1/00:15:58:c6:4a:ff 15:49:07 linux-pr0e dhclient: Sending on LPF/eth1/00:15:58:c6:4a:ff 15:49:07 linux-pr0e dhclient: Sending on Socket/fallback 15:49:07 linux-pr0e dhclient: DHCPDISCOVER on eth1 to ...
Oct 2, 7:28 am 2008
Olaf Kirch
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
Looks like the e1000 watchdog racing with some dhclient activity (upping the interface). I just noticed that the driver actually uses register pages. So it looks like it's possible to have something like this without the mutex: process A selects page A process B selects page B process A writes to register at offset A' So we may end up writing to the wrong register. I think I heard Vojtech mention that the e1000e also has a register based interface to erase/rewrite the ...
Oct 2, 8:03 am 2008
Olaf Kirch
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
That was openSuse 11.1 without any patches Olaf -- Neo didn't bring down the Matrix. SOA did. --soafacts.com --
Oct 2, 12:07 pm 2008
Thomas Gleixner
Re: [RFC PATCH 07/12] e1000e: debug contention on NVM SWFLAG
Had Karsten the mutex patch applied or not ? tglx --
Oct 2, 11:58 am 2008
Jesse Barnes
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
Ping DaveM. Does this look ok? What else would we need for you to remove your range checking from sparc? Thanks, Jesse -- Jesse Barnes, Intel Open Source Technology Center --
Oct 2, 3:23 pm 2008
Thomas Gleixner
[PATCH] e1000e: prevent concurrent access to NVRAM
Linus, can you please apply the patch below which prevents the concurrent access to the NVRAM. It triggered the trace which Olaf reported above. I worked out that patch on Sept 24th and it triggered a couple of problems in the e1000e code right away. These have been addressed by Jesse and are part of the patch series he posted in the last days. Still, all we have in mainline is some "hopefully bug preventing" patch which does not address the root cause at all. The confirmed bugs where ...
Oct 2, 4:42 pm 2008
Alex Chiang
Re: [PATCH v3 02/14] PCI: prevent duplicate slot names
Yes, I've changed pci_get_pci_slot() to acquire the pci_bus_sem semaphore. Thank you for pointing this out. It will be fixed in v4 of this patch series, which I will send out after I receive the rest of your review comments. Thanks! /ac --
Oct 1, 6:05 pm 2008
Alex Chiang
Re: [PATCH v3 02/14] PCI: prevent duplicate slot names
Hi Kenji-san, I'm sorry, I don't think I see the problem you are pointing out. If pci_get_pci_slot() finds a pci_slot, we do not modify pci_bus->slots any further, so even if a new slot is created, it shouldn't affect the pci_slot that we already found. I must be missing something, but I don't know what. Would you Yes, I've modified my patch series to take into account the bugs that Taku-san found. Thank you both for your reviews. /ac --
Oct 1, 9:48 pm 2008
Kenji Kaneshige
Re: [PATCH v3 02/14] PCI: prevent duplicate slot names
Alex-san, I noticed that changing pci_get_pci_slot() to acquire the pci_bus_sem might be not enough. If slot was created between pci_get_pci_slot() and pci_create_slot() by another thread in the following code, something wrong would happen I think. pci_slot = pci_get_pci_slot(bus, slot_nr); if (pci_slot) { if (pci_slot->hotplug) { result = -EBUSY; goto err; } if ...
Oct 1, 7:47 pm 2008
Yinghai Lu
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
boundary handling may have problem... can you post /proc/mtrr with disable_mtrr_cleanup? YH --
Oct 2, 3:39 pm 2008
D. Hugh Redelmeier
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
| From: Yinghai Lu <yinghai@kernel.org> | can you boot with mtrr_cleanup_debug? | | also what is /proc/mtrr with disable_mtrr_cleanup? Shouldn't mtrr_cleanup_debug show the pre-cleanup MTRR settings? --
Oct 2, 4:55 pm 2008
J.A.
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
No, I use rc8-git3 with your patches (the small gran_size series and the parameter rename, except the debug one) manually applied. -- J.A. Magallon <jamagallon()ono!com> \ Software is like sex: \ It's better when it's free Mandriva Linux release 2009.0 (Cooker) for i586 Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP --
Oct 2, 4:00 pm 2008
Yinghai Lu
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
ah.. please pick up all of them from tip/master... x86: don't need to go to chunksize to 4G x86: mtrr_cleanup optimization, v2 x86: add mtrr_cleanup_debug command line x86: cleanup, remove extra ifdef x86: mtrr_cleanup hole size should be less than half of chunk_size, v2 x86: mtrr_cleanup safe to get more spare regs now x86: mtrr_cleanup prepare to make gran_size to less 1M x86: mtrr_cleanup try gran_size to less than 1M x86: change ...
Oct 2, 4:20 pm 2008
Yinghai Lu
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
can you try diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index ef64128..70beb13 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c @@ -1044,7 +1044,7 @@ second_try: hole_sizek = range0_sizek - state->range_sizek - second_sizek; /* hole size should be less than half of range0 size */ - if (hole_sizek > (range0_sizek >> 1) && + if (hole_sizek >= (range0_sizek >> 1) ...
Oct 2, 3:46 pm 2008
J.A.
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
Also, on a 64 bit box with 4Gb, it gives this: cicely:~# cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size=4096MB: write-back, count=1 reg01: base=0x100000000 (4096MB), size=1024MB: write-back, count=1 reg02: base=0x140000000 (5120MB), size= 512MB: write-back, count=1 reg03: base=0x160000000 (5632MB), size= 256MB: write-back, count=1 reg04: base=0x80000000 (2048MB), size=2048MB: uncachable, count=1 Patch below cleans up formatting, with space for big bases and sizes (64 Gb). diff -p ...
Oct 2, 3:32 pm 2008
Yinghai Lu
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
check if you enable memhole remapping in BIOS. YH --
Oct 2, 4:45 pm 2008
Yinghai Lu
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
can you boot with mtrr_cleanup_debug? also what is /proc/mtrr with disable_mtrr_cleanup? YH --
Oct 2, 3:33 pm 2008
J.A.
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
Oops, sorry, this is without cleanup. This is a distro kernel and is built but not enable by deafult. As it is rc7, I will use 'enble_mtrr_cleanup' ;): cicely:~# cat /proc/mtrr reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x100000000 (4096MB), size=1024MB: write-back, count=1 reg02: base=0x140000000 (5120MB), size= 512MB: write-back, count=1 reg03: base=0x160000000 (5632MB), size= 256MB: write-back, count=1 I have lost 2Gb ? cicely:~# free ...
Oct 2, 4:20 pm 2008
Yinghai Lu Oct 2, 3:52 pm 2008
J.A.
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
Or there is something I don't catch about mtrrs, or it still does silly things. I have an ASUS PCDL, dual xeon, 2Gb of memory. Mtrrs after cleanup are: werewolf:/proc> cat mtrr reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1 reg01: base=0x40000000 (1024MB), size= 512MB: write-back, count=1 reg02: base=0x60000000 (1536MB), size= 256MB: write-back, count=1 reg03: base=0x70000000 (1792MB), size= 128MB: write-back, count=1 reg04: base=0x78000000 (1920MB), size= 64MB: ...
Oct 2, 3:03 pm 2008
J.A.
Re: [PATCH 2/2] x86: mtrr_cleanup try gran_size to less ...
Yeah, it goes right on the Xeon: reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x7ff00000 (2047MB), size= 1MB: uncachable, count=1 Will try your patch now. -- J.A. Magallon <jamagallon()ono!com> \ Software is like sex: \ It's better when it's free Mandriva Linux release 2009.0 (Cooker) for i586 Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP --
Oct 2, 3:58 pm 2008
Ingo Molnar
Re: Typo bug [Re: Linux 2.6.27-rc8]
yeah, correct. Also, i asked (not required) J.A. Magallón whether he could send a patch - if he didnt (no time, etc.) i'd have fixed it myself (crediting him in the changelog). But it's also a general principle: maintainers dont 'own' the code in any way and there should be no assymetry in the ability to modify the code. So if people are willing to fix bugs they notice, i prefer that far more than me doing it. Ingo --
Oct 2, 2:26 am 2008
Domenico Andreoli
Re: Typo bug [Re: Linux 2.6.27-rc8]
I think I got the lesson although the assymetry matter is still not that clear to me. Anyway I also know that when you talk about code you prefer patches to plain english so I expect you'd like others do the same ;) Thank you, Domenico -----[ Domenico Andreoli, aka cavok --[ http://www.dandreoli.com/gpgkey.asc ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50 --
Oct 2, 2:45 am 2008
Willy Tarreau
Re: Typo bug [Re: Linux 2.6.27-rc8]
I see two things : - preserve authorship of the code - "laziness" as you call it, is the only way to scale for a maintainer. Willy --
Oct 1, 10:27 pm 2008
Bjorn Helgaas
Re: [PATCH] PCI probing debug message uniformization
I think it's great. The only nit I would change is to use "[%#llx-%#llx]" as we do in pci_request_region(). Bjorn --
Oct 2, 11:59 am 2008
Jesse Barnes
Re: [PATCH] PCI probing debug message uniformization
Bjorn, how does this jive with the various other debug harmonization patches you've been putting together & reviewing? Thanks, Jesse -- Jesse Barnes, Intel Open Source Technology Center --
Oct 2, 11:46 am 2008
Nicholas A. Bellinger
Re: [ANNOUNCE]: ConfigFS enabled Generic Target Mode and ...
Ok, just added new commits to make target_core_mod be able to run independently of iscsi_target_mod. This means that all mkdir(2) calls under $TARGET do not require iscsi_target_mod to be loaded. Next, following Joel's advice from LPC, I made target_core_configfs.c:target_core_register_fabric(), call request_module() to load $FABRIC_MOD instead of using do_configfs_mkdir() to kick off the registration process. This means that $FABRIC_MOD's init_module() is responsible for ...
Oct 1, 5:18 pm 2008
Vladislav Bolkhovitin
Re: [ANNOUNCE]: ConfigFS enabled Generic Target Mode and ...
There's one unsolved problem. As I've already written, SCST core needs an ability to provide to user space a large amount of data, which may not fit to a single page. A list of connected initiators ("sessions" file in /proc), for instance. Each initiator in that list has a number of attributes: initiator name, target template name, count of outstanding commands, etc. The logical way for that would be to create a subdirectory for each initiator, like: /sys/kernel/config/ `-- target ...
Oct 2, 10:00 am 2008
Nicholas A. Bellinger
Re: [ANNOUNCE]: ConfigFS enabled Generic Target Mode and ...
Well, the idea is not necessarily making the configfs interface the easiest to use in the world by user directly through $CONFIGFS, but to make the CLI scripts that speak $CONFIGFS/target CLI, and of course the actual UIs for user that interact with generic target core and $FABRIC_MODs be as simple and elegent as possible. That is what I believe the balance that a configfs enabled generic target core provides to both the $CONFIGFS/target API and to $FABRIC_MOD maintainers looking to port ...
Oct 1, 5:24 pm 2008
Nicholas A. Bellinger
Re: [ANNOUNCE]: ConfigFS enabled Generic Target Mode and ...
This last part should be: ".. a special case between ConfigFS <-> SysFS in order to deliver struct scsi_device and struct block_device via SymLinks to $TARGET/pscsi_*/$STORAGE_OBJECT and ln -s $TARGET/$PLUGIN_HBA/$STORAGE_OBJECT $FABRIC/endpoint/lun/lun_0/lio_west_port --
Oct 1, 5:32 pm 2008
Nicholas A. Bellinger
Re: [ANNOUNCE]: ConfigFS enabled Generic Target Mode and ...
The the Initiator Port ACLs need to go under /sys/kernel/config/target/$FABRIC because the struct fabric_acl * will always contain fabric dependent config items. For example, Since these struct fabric_acl_t do *NOT* symlink directly back to target_core_mod under /sys/kernel/config/target/core/$HBA/$DEV, but to fabric_lun_t (iscsi_lun_t in my case) to Symlink to a /sys/kernel/config/target/core/$HBA/$DEV that has been registered with the generic target configfs infrastructure. Here is what I ...
Oct 2, 2:29 pm 2008
Ingo Molnar
Re: [PATCH 01/31] cpumask: Documentation
while the initial series might be rebased once or twice, beyond the 1-2 days of initial integration and testing i dont think that's true, and i'm doing up to 3-4 bisections a day just fine, on an append-mostly tree. if you have trouble turning a Git tree into a bisectable tree then your testing-fu is not strong enough ;-) [ the only plausible danger is to architectures that are not used by testers all that much (so that breakages can linger a lot longer unnoticed) - but why ...
Oct 2, 2:32 am 2008
Rusty Russell
Re: [PATCH 01/31] cpumask: Documentation
Thanks, it's reasonably nice. The task of hitting all those cpumask_t users Not yet. Committing untested patches into git is the enemy of bisection; if one of my patches breaks an architecture, they lose the ability to bisect until its fixed. If it's a series of patches, we can go back and fix it. Now, once it's been tested a little, it's better for you to git-ize it and I'll send you patches instead. But I want some more people banging on it, and a run through linux-next ...
Oct 1, 5:36 pm 2008
Mike Travis
Re: [PATCH 01/31] cpumask: Documentation
Absolutely! I may have my own concerns and preferences but the end goal is far more important. I'll take a look at it today. [My only other pressing matter is convincing Ingo to accept the SCIR driver (or tell me how I need Since our approaches are not different in concept, I can assure you that it works... ;-) And as Ingo and others have noted, the infrastructure is easy to verify, it's the allocation of the temporary cpumasks that will be more difficult to test. Cheers, Mike --
Oct 2, 5:54 am 2008
Yasunori Goto Oct 2, 3:00 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH] setup_per_zone_pages_min(): take zone->lock ...
On Wed, 01 Oct 2008 19:39:32 +0200 Thank you!. --
Oct 1, 10:49 pm 2008
Stefan Bader
Re: [PATCH] x86: Reserve FIRST_DEVICE_VECTOR in used_vec ...
Hi Ingo, I didn't see any follow up, so for clarification: there is nothing to fix in tip but the bug is there in kernels between 2.6.24 and 2.6.27. Could you push it to 2.6.27 and possibly to the stable trees? Stefan --
Oct 2, 5:14 am 2008
Arjan van de Ven
Re: [PATCH 01/19] pci: introduce an pci_ioremap(pdev, ba ...
On Thu, 2 Oct 2008 11:53:40 -0700 yeah I either need to do an akpm-like "spray the maintainers" or just do one big pull, haven't figure it out yet (would be nice if I could just dump the patches on Andrew who then does the bombard-the-maintainers thing) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Oct 2, 12:05 pm 2008
Jesse Barnes
Re: [PATCH 01/19] pci: introduce an pci_ioremap(pdev, ba ...
Applied to my linux-next branch, thanks. I assume you'll have Linus pull the driver updates later? Thanks, Jesse --
Oct 2, 11:53 am 2008
Thomas Gleixner
Re: 2.6.27-rc-7: BUG: scheduling while atomic: swapper/0 ...
Won't help. :( BUG: scheduling while atomic: swapper/0/0x00000102 0x00000102 is the preemption count. That means: preemption count = 2 and softirq count = 1 So either the stacktrace is lying or something left the preemption count in a buggy state. There is nothing in the log which helps to decode this. Can you please apply the debug patch below and try to reproduce ? Thanks, tglx --- diff --git a/kernel/softirq.c b/kernel/softirq.c index c506f26..0fc32b6 100644 --- ...
Oct 2, 1:50 am 2008
Ingo Molnar
Re: [PATCH] AMD IOMMU: use iommu_device_max_index
sure - applied to tip/x86/iommu, thanks guys. Ingo --
Oct 2, 2:34 am 2008
Jesse Barnes
Re: [PATCH 3/6 v3] PCI: support ARI capability
Maybe we should be consistent with the other APIs and call it pci_enable_ari (like we do for wake & msi). Looks pretty good otherwise. Jesse --
Oct 2, 9:03 am 2008
Matthew Wilcox
Re: [PATCH 3/6 v3] PCI: support ARI capability
Those APIs are for drivers ... this is internal. I don't have any objection of my own, though I agree with Alex's remark that the printk is unnecessary and just adds clutter to the boot process. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Oct 2, 9:17 am 2008
Jesse Barnes
Re: [PATCH 2/6 v3] PCI: add new general functions
This confused me for a minute until I saw that the new pci_update_resource ignores invalid BAR numbers. Not sure if that's clearer than the current It looks like this will spew an error even under normal circumstances since pci_restore_bars gets called at resume time, right? You could make this into a debug message or just get rid of it. Also now that I look at this, I don't think it'll provide equivalent functionality to the old restore_bars code, won't a cardbus bridge end up ...
Oct 2, 9:21 am 2008
Jens Axboe Oct 2, 3:48 am 2008
Avi Kivity
Re: Use CPUID to communicate with the hypervisor.
I believe VMware doesn't actually change cpu frequency dynamically. But what about hypervisors that do? and what about large machines, which do not actually have a constant tsc? You are defining something as constant which in fact is not constant. -- error compiling committee.c: too many arguments to function --
Oct 2, 4:52 am 2008
Alan Cox
Re: [RFC] 0/11 fanotify: fscking all notifiction and fil ...
Usual way socket stuff covers for that is to stick unsigned int __unused[8]; That is the normal socket approach. Eg in traditional BSD interfaces for Not really. Lots of socket types have operations that are essentially fd = socket(...) ioctl(fd, ....); close(fd); or similar. Traditionally ioctl is used for system changing stuff but that is just tradition. --
Oct 2, 1:48 pm 2008
Eric Paris
Re: [RFC] 0/11 fanotify: fscking all notifiction and fil ...
An hour, a whiteboard, 3 other hackers and I think I have a handle on something you might like a little more. groups will be 'created' when you call bind(). the struct sockaddr will include a priority and an event mask. Group names will be eliminated since priorities must be unique. Two processes will be allowed to bind() to the same priority if the mask is the same. Those will be considered to be in the same 'group.' groups will be destroy when ALL fd's associated with that group ...
Oct 2, 12:24 pm 2008
huang ying
Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
Please don't touch efi_runtime_services_t, if you do not go through UEFI standard procedure. It can not be extended in a non-standard way. Thinking about someone else adds another new field to efi_runtime_services_t in a conflict way. Best Regards, Huang Ying --
Oct 2, 1:05 am 2008
Russ Anderson
Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
-- Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc rja@sgi.com --
Oct 2, 8:34 am 2008
huang ying
Re: [PATCH 2/4] x86: Add UV bios call infrastructure v2
Hi, Russ, Yes. efi_call_virt6() is tied with standard EFI runtime services, so it may be not suitable for your need. What you need is just to do calling convention converting, like efi_call6 does. So I think it is better to just use your current implementation. Acked-by: Huang Ying <ying.huang@intel.com> Best Regards, Huang Ying --
Oct 2, 1:02 am 2008
Jens Axboe
Re: disk IO directly from PCI memory to block device sectors
Download: http://brick.kernel.dk/snaps/splice-git-latest.tar.gz which has lots of little examples for splice. You would want to do something ala # splice-in /dev/my-pci-device | splice-out /dev/sda in one app of course, but take a look at the examples and get a feel for the interface... BTW, in my splice branch I have this queued as well. Not going anywhere for now, but should get updated and tested every now and ...
Oct 2, 9:32 am 2008
Leon Woestenberg
Re: disk IO directly from PCI memory to block device sectors
Hello Jens, I have been following this thread trying to grasp a very nifty use case (high speed acquisition and storage of data) of splice. I think it would make a perfect example of splice functionality. What would the user space part look like to exercise this interface? And whoever writes Linux Device Drivers 4th edition or one of the kernel books; make sure this topic in is :-) Regards, -- Leon --
Oct 2, 9:15 am 2008
Andrew Morton
Re: [PATCH] Input: add mmio xi driver
grumble. - should be written in C ooh, a semaphore - I remember them. checkpatch used to warn about newly-added semaphores but a) it broke and I believe that gcc does the right thing here, but an explict `static' would set minds at ease. --
Oct 1, 11:12 pm 2008
Ingo Molnar
Re: [boot crash] Re: [PATCH] ring-buffer: fix build error
yes, that's very likely broken too in a standalone way as well - but to get the exact tree i tested i'd suggest: git checkout tip/master git merge tip/tracing/ring-buffer Ingo --
Oct 2, 11:55 am 2008
Andrew Morton
Re: [PATCH] ring_buffer: allocate buffer page pointer
I'm somewhat at a loss here because I'm unable to find any version of kernel/trace/trace.c which looks anything like the one which is being Why was this code using a cast in the first place? It should be using entry->some_field_i_dont_have_here? That was the whole point in using the anonymous union in struct trace_entry? --
Oct 2, 2:06 am 2008
Steven Rostedt
Re: [PATCH] ring_buffer: map to cpu not page
That should have been: "when the number of pages allocated for the buffers exceeded the number -- Steve --
Oct 2, 4:36 pm 2008
Steven Rostedt
Re: [boot crash] Re: [PATCH] ring-buffer: fix build error
The above "preempt disable" is the most likely culprit. I'm trying to get towards an interrupt disabled free and lockless code path. But in doing so, one must be extra careful. This is why I'm taking baby steps towards this approach. Any little error in one of these steps, and you have race conditions biting you. The above replaces interrupt disables with preempt disables, uses the atomic data disable to protect against reentrancy. But this could also have opened up a bug that was ...
Oct 2, 6:16 am 2008
Steven Rostedt
Re: [PATCH] ring_buffer: allocate buffer page pointer
As Ingo mentioned, you don't have this yet. And be happy that you don't ;-) Because the ring_buffer now allows for variable length entries, having a one size fits all entry is not optimal. But because C is not the best for typecasting, we have this macro to help solve the issue. Instead of registering everything into a single union and causing small fields to be large, we have a macro you can register your type with instead. -- Steve --
Oct 2, 6:06 am 2008
Ingo Molnar
[PATCH] ring-buffer: fix build error
trivial build fix below. Ingo From 339ce9af3e6cbc02442b0b356c1ecb80a8ae92fb Mon Sep 17 00:00:00 2001 From: Ingo Molnar <mingo@elte.hu> Date: Thu, 2 Oct 2008 11:04:14 +0200 Subject: [PATCH] ring-buffer: fix build error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit fix: kernel/trace/ring_buffer.c: In function ‘rb_allocate_pages’: kernel/trace/ring_buffer.c:235: error: ‘cpu’ undeclared (first use in this function) ...
Oct 2, 2:05 am 2008
Steven Rostedt
[PATCH] ring_buffer: map to cpu not page
My original patch had a compile bug when NUMA was configured. I referenced cpu when it should have been cpu_buffer->cpu. Ingo quickly fixed this bug by replacing cpu with 'i' because that was the loop counter. Unfortunately, the 'i' was the counter of pages, not CPUs. This caused a crash when the number of pages allocated for the buffers exceeded the number of pages, which would usually be the case. Signed-off-by: Steven Rostedt <srostedt@redhat.com> --- kernel/trace/ring_buffer.c | 2 ...
Oct 2, 4:18 pm 2008
Steven Rostedt
Re: [boot crash] Re: [PATCH] ring-buffer: fix build error
I've just checked-out tip/tracing/ring-buffer. That tree is still broken too, right? Or do I need to merge it to get the broken version? -- Steve --
Oct 2, 11:27 am 2008
Ingo Molnar
Re: [PATCH] ring_buffer: allocate buffer page pointer
that was for the type filter commit. The 3 patches i've picked up into tip/tracing/ring-buffer are: b6eeea4: ftrace: preempt disable over interrupt disable 52abc82: ring_buffer: allocate buffer page pointer da78331: ftrace: type cast filter+verifier Thanks, Ingo --
Oct 2, 1:51 am 2008
Ingo Molnar
Re: [PATCH] ring_buffer: allocate buffer page pointer
applied to tip/tracing/ftrace, with the extended changlog below - i think this commit warrants that extra mention. Ingo ---------------> From da78331b4ced2763322d732ac5ba275965853bde Mon Sep 17 00:00:00 2001 From: Steven Rostedt <rostedt@goodmis.org> Date: Wed, 1 Oct 2008 10:52:51 -0400 Subject: [PATCH] ftrace: type cast filter+verifier The mmiotrace map had a bug that would typecast the entry from the trace to the wrong type. That is a known danger of C typecasts, there's ...
Oct 2, 1:50 am 2008
Ingo Molnar
Re: [boot crash] Re: [PATCH] ring-buffer: fix build error
attached. You can get the broken tree by doing this in tip/master: git-merge tip/tracing/ring-buffer Ingo
Oct 2, 8:50 am 2008
Steven Rostedt Oct 2, 6:17 am 2008
Ingo Molnar
[boot crash] Re: [PATCH] ring-buffer: fix build error
ok, these latest ring-buffer updates cause more serious trouble, i just got this boot crash on a testbox: [ 0.324003] calling tracer_alloc_buffers+0x0/0x14a @ 1 [ 0.328008] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 [ 0.332001] IP: [<ffffffff8027d28b>] ring_buffer_alloc+0x207/0x3fc [ 0.332001] PGD 0 [ 0.332001] Oops: 0000 [1] SMP [ 0.332001] CPU 0 [ 0.332001] Modules linked in: [ 0.332001] Pid: 1, comm: swapper Not tainted ...
Oct 2, 2:38 am 2008
Ingo Molnar
Re: [PATCH] ring_buffer: allocate buffer page pointer
it's in tip/tracing/ring-buffer (also tip/master), but we are still working on it (i just triggered a crash with it) so i havent pushed it this whole mega-thread was about removing that union and turning the tracer into a type-opaque entity. I warned about the inevitable fragility - but with this type filter approach the risks should be substantially lower. Ingo --
Oct 2, 2:41 am 2008
Gilles Carry
Re: [PATCH] sched: add a stacktrace on enqueue_pushable error
Hi, I could reproduce the bug on an intel architecture. I found where the problem is. I'll post the patch in a few hours. Gilles. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Gilles.Carry Linux Project team mailto: gilles.carry@bull.net Phone: +33 (0)4 76 29 74 27 Addr.: BULL S.A. 1 rue de Provence, B.P. 208 38432 Echirolles ...
Oct 2, 2:42 am 2008
Gilles Carry
Re: [BUG][PPC64] BUG in 2.6.26.5-rt9 causing Hang
Hi, I could reproduce the bug on intel x86_64 with LTP's sbrk_mutex: kernel BUG at kernel/sched_rt.c:1044! invalid opcode: 0000 [1] PREEMPT SMP CPU 5 Modules linked in: mptsas scsi_transport_sas Pid: 27577, comm: sbrk_mutex Not tainted 2.6.26.5-rt9-00002-g3b27927 #23 RIP: 0010:[<ffffffff80227f95>] [<ffffffff80227f95>] pick_next_pushable_task+0x6 1/0x77 RSP: 0018:ffff81007713fd28 EFLAGS: 00010046 RAX: 0000000000000005 RBX: ffff810083a4e280 RCX: ffff81013dcee458 RDX: ffff8100771f8000 RSI: ...
Oct 2, 4:18 am 2008
Andrew Morton
Re: [PATCH] USB: improve ehci_watchdog's side effect in ...
On Thu, 25 Sep 2008 17:25:44 +0800 <looks> <regrets it> Why does this: t = DIV_ROUND_UP(EHCI_SHRINK_FRAMES * HZ, 1000) + 1; add "1000" to a jiffies value when it doesn't know what HZ is? It'll be adding anywhere from one second up to ten seconds to the timeout interval depending upon compile-time options. I suspect s/1000/HZ/ would improve things here. Or just delete it - doesn't the subsequent round_jiffies() do the same thing, only better? This code needs help, I ...
Oct 2, 4:56 pm 2008
Andrew Morton
Re: [PATCH 10/39] ocfs2: Add helper function in uptodate ...
I really really hope that `i' and `b_len' didn't really need to be 64-bit here. --
Oct 1, 11:11 pm 2008
Andrew Morton
Re: [PATCH 01/39] ocfs2: POSIX file locks support
It's pointless doing !! on something which is already 0 or 1. --
Oct 1, 11:11 pm 2008
Andrew Morton
Re: [PATCH 03/39] ocfs2: throttle back local alloc when ...
cacnel_delayed_work() is a pretty risky function. The work handler (ocfs2_la_enable_worker) can execute an arbitrarily long time after cancel_delayed_work() has returned. Can all the code here cope with such a surprise alteration of ->local_alloc_state()? And you canot use cancel_delayed_work_sync() here due to a deadlock on ->osb_lock(). --
Oct 1, 11:11 pm 2008
Andrew Morton
Re: [PATCH 11/39] ocfs2: Add extent tree operation for x ...
brelse(0) is legal. Please do an fs-wide review for this. It shouldn't affect code generation because brelse() is inlined. --
Oct 1, 11:12 pm 2008
Andrew Morton Oct 1, 11:11 pm 2008
Christoph Hellwig
Re: [Ocfs2-devel] [PATCH 13/39] ocfs2: Add extended attr ...
Please don't split this up, it's always been a really stupid idea in extN. The only difference between secure, trusted and user attrs is that they go into a different namespace bit (and have different permission checking, but that's handled in the VFS). I have some upcoming patches to store a fs private flag in struct xattr_handler so that even those flags wrappers can go away, and each of the namespaces will just be five lines of code for the xattr_handler You seem to need the handler ...
Oct 2, 1:16 am 2008
Andrew Morton Oct 1, 11:12 pm 2008
Andrew Morton
Re: [PATCH 13/39] ocfs2: Add extended attribute support
Is there a documentation update for these? --
Oct 1, 11:12 pm 2008
David Howells
Re: [PATCH 1/2] MN10300: Move asm-arm/cnt32_to_63.h to i ...
Surely that's not good enough. There's a 50% chance that reversion to a previous state will result in an extra increment of the __m_cnt_hi on the next call. David --
Oct 2, 3:23 pm 2008
Michael Kerrisk
Re: ltp getdents syscalls testcases and 2.6.27-rcX
I've made some changes to the readdir(2) and getdents(2) man pages to make it clearer that the "dirent" structures used by these to syscalls are different from one another (old_linux_dirent vs linux_dirent), and also different from that used by glibc's readdir(3). (dirent) The changes are already pushed out to man-pages git. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; ...
Oct 2, 4:37 am 2008
Jens Axboe
Re: [PATCH 1/1] block: installing include/linux/blktrace_api.h
A similar patch is already merged for 2.6.28 as well. -- Jens Axboe --
Oct 1, 11:38 pm 2008
Andrew Morton
Re: [PATCH 1/1] block: installing include/linux/blktrace_api.h
The two basic and almost always necessary parts of a patch changelog are a) what was changed and b) why the change was made Your changelog had no b), hence nobody is likely to apply the patch. --
Oct 1, 11:11 pm 2008
Serge E. Hallyn Oct 2, 6:39 am 2008
Kentaro Takeda
Re: [TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.
You mean do MAC checks in security_path_*() and return error code of security_path_*() in security_inode_*()? Then, method for passing the error code to security_inode_*() is a problem. It was possible to store the error code into current->security-> something. But now, it is impossible to store the error code into current->cred->security->something because current->cred is shared by multiple processes. To solve this problem, we everytime need to copy current->cred in security_path_*() and ...
Oct 1, 10:04 pm 2008
Pierre Ossman
Re: SDHCI: timeout during data transfer
On Tue, 23 Sep 2008 23:24:59 +0200 Looks like the card died on you there. Did you build the kernel yourself? If so, it would be helpful if you could enable CONFIG_MMC_DEBUG and give me a complete dmesg dump from when this The patch doubles the timeout, so something is clearly broken if that solves the issue. I'd like to identify if it's the driver, controller or card first though. Are you experiencing this with just this card, or with all? Rgds -- -- Pierre Ossman Linux ...
Oct 2, 1:17 am 2008
Luca Tettamanti
Re: SDHCI: timeout during data transfer
I was just shooting in the dark ;-) I found the patch floating around Actually I have only that card... I'll try to borrow another one for testing. Btw, that card works fine under windows (on the same machine) and my N800 is happy with it too. Luca --
Oct 2, 2:11 am 2008
Jesse Barnes
Re: [patch] mm: pageable memory allocator (for DRM-GEM?)
I don't think anyone would argue that using normal system calls would be ugly, but there are several limitations with that approach, including the fact that some of our operations become slightly more difficult to do, along with the other limitations mentioned in drm_gem.c and in other threads. At this point I think we should go ahead and include Eric's earlier patchset into drm-next, and continue to refine the internals along the lines of what you've posted here in the post-2.6.28 ...
Oct 2, 10:15 am 2008
Andrew Morton
Re: [PATCH 2/3] Memory management livelock
Please don't send multiple patches with identical titles - think up a good, unique, meaningful title for each patch. Please include a full changelog with each iteration of each patch. That changelog should explain the reason for playing games with This sequence appears twice and it would probably be clearer to This is copied three times and perhaps also should be factored out. Please note that an effort has been made to make mm/filemap.c look This sequence is repeated three or ...
Oct 1, 10:54 pm 2008
Pierre Ossman
Re: [PATCH 3/4] atmel-mci: support multiple mmc slots
On Thu, 25 Sep 2008 15:51:49 +0200 Hopefully not. :) The spec gives no other means of flow control than messing with the clock. But as has been noted, some cards get a bit freaky if we leave them without a clock for too long, so care should be taken to try to minimise the time it is stopped. Rgds --=20 -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org rdesktop, core developer http://www.rdesktop.org WARNING: This correspondence is being ...
Oct 2, 1:31 am 2008
Jason Baron
Re: Unified tracing buffer
hi, Tracepoints and markers seem to both have their place, with tracepoints being integral to kernel users, and markers being important for userspace. However, it seems to me like there is overlap in the code and an extra level of indirection when markers are layered on tracespoints. could they be merged a bit more? What if we extended DEFINE_TRACE() to also create a 'set_marker(marker_cb)' function where 'marker_cb' has the function signature: marker_cb(<tracepoint prototype>, ...
Oct 2, 8:28 am 2008
Christoph Lameter
Re: [patch 2/3] cpu alloc: Remove slub fields
Correct. Newer rev that will be based on cpu_alloc V6 will have that. --
Oct 2, 9:21 am 2008
Pavel Machek
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
I seen your remark above about disabling timer interrupt on idle cpus. That's exactly nohz functionality, right? Maybe I misunderstood you and you meant "my monitoring interrupt" and not "generic system timer interrupt"? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Oct 2, 1:37 am 2008
Mike Travis
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity In ...
Ahh, yes, now I see... ;-) And thanks for the pointer, I hadn't looked at this before. In regards to "powering down" a UV system, it's not clear yet that it will help much unless we can power down a whole lot more of the system than just the cpus... ;-) [but in reality, reducing power use any time you can is real necessity.] Btw, are you ok with the remainder of the patch? Thanks, Mike --
Oct 2, 7:33 am 2008
Stephen Clark
Re: motherboard recommendations?
Hi, I am extremely satisfied with my intel dg33fb MB. Only two issues I have is onboard nic won't WOL and iTCO watchdog timer doesn't reboot the system. Steve, -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) --
Oct 2, 9:47 am 2008
Matthew Stoltenberg
Re: motherboard recommendations?
I got an ASUS P5Q (P45 chipset) a couple of weeks ago. A couple of minor issues: * The Marvell IDE controller is broken in 2.6.25 and 2.6.26. * Make sure the sata controller is running in AHCI mode * The onboard Atheros NIC is not supported in the kernel. I have to build the driver seperately (it's actually on the driver disk) The intel HD audio works great. --
Oct 2, 8:03 am 2008
Kasper Sandberg
re: motherboard recommendations?
Appears to work fine for me on my K8V Deluxe and K8V SE Deluxe.. anyway, i have a gigabyte X48 DQ6 board. the two realtek NIC's initially had problems, but fixes have been merged and it works excellent. Audio works(not the two separate channels for front), usb works, sensors work, ahci on both the jmicron and ICH works. --
Oct 2, 10:04 am 2008
Lennart Sorensen
Re: motherboard recommendations?
So I am clueless here. atl is atheros, which is what I have on my P5K, except an older model. I see mentions that 2.6.27 is supposed to suport the new chip on the P5Q. -- Len Sorensen --
Oct 2, 9:20 am 2008
Lennart Sorensen
Re: motherboard recommendations?
The A8V on the other hand works flawlessly. I have been running one for My mythtv box runs a Q6600 on an Asus P5K which so for works great. It does have the occational odd message abour CRC errors from the network port (atl) although networking is working just fine. No idea what that is about, so I am not too concerned about it. I have used Asus boards for 15 years now, and I am not switching. Enough other boards have given weird problems that should be that I don't want to deal with ...
Oct 2, 7:38 am 2008
Lennart Sorensen
Re: motherboard recommendations?
Well I must admit I have never tried a marvell ide controller before. Support only seems very recent, so they are not yet on my list of things Atheros? Hmm, the P5K was using atlantic, so I wonder why they are not That's always something. So overall it sounds like: Sound works IDE probably will soon Networking can be made to work, and hopefully will go in mainline kernel soon. SATA works. That's not too bad for a brand new board. -- Len Sorensen --
Oct 2, 9:09 am 2008
Pierre Ossman
Re: [RFC][PATCH] MMC: Use write timeout value as read from CSR
On Wed, 24 Sep 2008 12:16:02 +0100 Hmm... What do you mean manipulate? They all just read it, so I don't Right, they left that out of the simplified spec. Sneaky bastards. It's data->timeout_* is undefined when this function is invoked, so this card->host->ios.clock is just the upper bound on the clock, it might be running slower. This is why the host driver needs to calculate it (well that, and the fact that different controllers treat timeouts in If you put the calculation somewhere ...
Oct 2, 1:26 am 2008
David Brownell
Re: [PATCH] rtc: fix kernel panic on second use of SIGIO ...
Acked-by: David Brownell <dbrownell@users.sourceforge.net> Seemed "obviously good" anti-oops medicine to me, then I double checked against some code that is AFAIK still correct.. --
Oct 2, 4:44 pm 2008
Andrew Morton
Re: [PATCH] rtc: fix kernel panic on second use of SIGIO ...
On Sun, 14 Sep 2008 20:11:27 +0200 David, Alessandro: can we please have a review-n-ack of this one for 2.6.27 and earlier? Thanks. From: Marcin Slusarz <marcin.slusarz@gmail.com> When userspace uses SIGIO notification and forgets to disable it before closing file descriptor, rtc->async_queue contains stale pointer to struct file. When user space enables again SIGIO notification in different process, kernel dereferences this (poisoned) pointer and crashes. So disable SIGIO ...
Oct 2, 2:49 pm 2008
Alessandro Zummo
Re: [PATCH] rtc: fix kernel panic on second use of SIGIO ...
On Thu, 2 Oct 2008 14:49:41 -0700 Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Oct 2, 3:12 pm 2008
Pádraig Brady
Re: [PATCH] fastboot: Add a script to visualize the kern ...
For the archives, there is some public info on this now: http://lwn.net/Articles/299483/ cheers, Pádraig. --
Oct 2, 4:43 am 2008
Nick Piggin
Re: [patch 1/2] x86: track memtype for RAM in page struct - v3
It would be better if another flag is used, yes. Setting PageReserved used to prevent put_page from decrementing the page's refcount. Most drivers still do it just because we kept that code in there to catch any bugs caused by the removal of PageReserved check from the refcounting. --
Oct 1, 7:27 pm 2008
Ingo Molnar
Re: [PATCH 2.6.27-rc5 incremental re-resubmit] Fix itime ...
great, thanks for checking! it has not caused any new problems in -tip testing either, and that means a couple of thousand test builds and test boots so far in the past week, so we've got the usual codepaths covered pretty well. With your test of the less common codepaths we should be pretty good in general. Ingo --
Oct 2, 2:43 am 2008
Tejun Heo
Re: VIA SATA id 5372 & Pioneer DVR-215 DVD burner problem
Hello, Can you please test the attached patch? It's on top of the upstream branch of Jeff's libata-dev tree. http://www.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git If you're unfamiliar with git, just lemme know. I'll send you a patch against 2.6.27-rc8. Thanks. -- tejun --
Oct 1, 6:42 pm 2008
Tejun Heo
Re: VIA SATA id 5372 & Pioneer DVR-215 DVD burner problem
And I of course forgot to actually attach the patch. -- tejun
Oct 1, 6:43 pm 2008
Tejun Heo
Re: VIA SATA id 5372 & Pioneer DVR-215 DVD burner problem
Okay, here's the patch from v2.6.27-rc7 to libata-dev#upstream. I sent you separated out patches with proper descriptions for review and testing, so please review those. This one is just combined patch of them. Eh... Also, is it possible for you to review before leaving for vacation? I really wanna include these in 2.6.28-rc1 window. Thanks. -- tejun
Oct 1, 6:59 pm 2008
JosephChan
RE: VIA SATA id 5372 & Pioneer DVR-215 DVD burner problem
Tejun. Sorry, I'm not familiar with git. Would you please send me a link to download? In addition, I'm on vacation between 10/3 ~ 10/12. I will test it after I'm back. BRs, Joseph Chan -----Original Message----- From: Tejun Heo [mailto:tj@kernel.org] Sent: Thursday, October 02, 2008 9:43 AM To: Andrew Morton Cc: Scott Pitcher; linux-kernel@vger.kernel.org; linux-ide@vger.kernel.org; Joseph Chan Subject: Re: VIA SATA id 5372 & Pioneer DVR-215 DVD burner problem And I of ...
Oct 1, 6:52 pm 2008
Rusty Russell
Re: [PATCH 5/5 ver2] debug: BUILD_BUG_ON: error on non-c ...
Why did you hate the void cast again? Simplest should be "(void)BUILD_BUG_ON_ZERO(e)". But if not, it seems to me that it's cleaner to do: #define BUILD_BUG_ON(e) \ do { } while(BUILD_BUG_ON_ZERO(e)) No chance of the compiler emitting unused vars. Cheers, Rusty. --
Oct 1, 10:35 pm 2008
Kim B. Heino
Re: [PATCH] add support for ST M41T94 SPI RTC (patch rev. 3)
> I have AT91SAM9260-based board, kernel is 2.6.26.3. I'm using my RTC-patch with the same CPU. Custom AT91SAM9260 board, I'm using it with ".max_speed_hz = 1 * 1000 * 1000," instead of 2 MHz. Can you try with slower speed? My patch (rev 3) and this small ek_spi_devices[] modification should be enough. I have it on bus = 0, chip_select = 1, so I've also removed dataflash parts from ek_spi_devices[] (we're using NOR flash). But for you this is not needed. I also have a patch to add ...
Oct 2, 10:33 am 2008
previous daytodaynext day
October 1, 2008October 2, 2008October 3, 2008