| From | Subject | Date |
|---|---|---|
| Johannes Stezenbach | Re: [Lguest] 2.6.33 guest crash (was: Re: 2.6.32-rc5 gu ...
Hi Rusty,
I just tested this patch with 2.6.34-rc4 (as both host and guest),
it seems to work fine.
Thanks,
Johannes
--
| Apr 13, 8:29 am 2010 |
| Richard Zidlicky | usb-sound circular locking again?
Hi,
is this the same old issue? Any way to fix it? Seeing it triggered in a sync
syscall does not make me comfortable.
Apr 13 02:01:36 localhost kernel: [ 8569.449882] PM: Syncing filesystems ...
Apr 13 02:01:36 localhost kernel: [ 8569.449998] =======================================================
Apr 13 02:01:36 localhost kernel: [ 8569.450049] [ INFO: possible circular locking dependency detected ]
Apr 13 02:01:36 localhost kernel: [ 8569.450078] 2.6.33.2v2 #4
Apr 13 02:01:36 localhost ...
| Apr 13, 1:30 pm 2010 |
| Mathieu Desnoyers | Re: [RFC PATCH 2/8] jump label v4 - x86: Introduce gener ...
Yep. (sorry about late reply).
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Apr 13, 10:16 am 2010 |
| Bartlomiej Zolnierki ... | Re: [PATCH 54/64] alim15x3: fix handling of UDMA enable bit
Hi Sergei,
This was just a tiny part of larger patchset preparing alim15x3 for
conversion to ide2libata framework and it seems the problem is only
affecting user-initiated transfer mode changes (which are strongly
discouraged anyway) as both libata and IDE core use quite similar
transfer mode programming sequence by default.
However thanks for noticing the issue, I will fix it for both drivers
during the next update of atang tree (unless somebody sends me a patch
sooner).
--
Bartlomiej ...
| Apr 13, 8:15 am 2010 |
| Rick L. Vinyard, Jr. | Re: [PATCH] Add sysfs support for fbdefio delay
No problem. I understand the desire to be conservative.
--
| Apr 13, 8:50 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
This is sad, but I'm afraid a reality we have to live with..
--
| Apr 13, 11:22 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
This is not about lock/inheritance related overrun, right? But simply a
task that got its WCET wrong.
--
| Apr 13, 11:22 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
We could write that as:
if (dl_time_before(dl_se, rq->clock) ||
!dl_check_bandwidth(dl_se, rq->clock)) {
/* reset parameters */
}
Also, I was wondering about a more descriptive name for
dl_check_bandwidth(), check _what_ about the bandwidth!?
dl_bandwidth_overflow() perhaps, that would also remove that negation.
--
| Apr 13, 11:22 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
So what happens when we overflow u64?
--
| Apr 13, 11:22 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
Why doesn't that live in/use sched_fork()?
--
| Apr 13, 11:22 am 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 08/11] sched: send SIGXCPU at -deadline ...
Can't this be a regular vararg function?
Also, I wonder, would we want to put some information in the sigaction
struct to allow the user to distinguish between the various SIGXCPU
--
| Apr 13, 11:22 am 2010 |
| Steven Rostedt | Re: [RFC][PATCH 02/11] sched: SCHED_DEADLINE policy impl ...
Is the resolution in nanosecs starting from zero? If so, then we don't
need to worry about overflow for 583 years? And that is only if the
difference in time is greater than 292 years since dl_time_before() does
a:
(s64)(a - b) < 0
The (s64)(a - b) returns the difference even on overflow as long as the
difference is not greater than 2^63
-- Steve
--
| Apr 13, 11:55 am 2010 |
| Oleg Nesterov | Re: [RFC][PATCH 08/11] sched: send SIGXCPU at -deadline ...
Without ->siglock?
This is racy even if dl_task_of(se) == current, but I guess it can
be !current. For example, we must never set TIF_SIGPENDING without
wake_up_state(). A fatal signal should kill the whole process, etc.
Even sigaddset() itself can race with tkill, it is not atomic.
Oleg.
--
| Apr 13, 12:32 pm 2010 |
| Andrew Victor | Re: [PATCH 1/2] AT91 slow-clock suspend: don't wait when ...
If it can still be merged for -rc, that would be great.
Otherwise the -devel branch is ok.
Regards,
Andrew Victor
--
| Apr 13, 12:22 am 2010 |
| Andrew Victor | Re: [PATCH 2/2] AT91 slow-clock resume: don't restore th ...
AT91_PMC_MUL is 11 bits (so 0x7ff0000)
Is the mask (0xff0000) correct in the above code?
It looks like wait_pllblock will be skipped if the MUL field is set to
0x100, 0x200, 0x300, etc.
Regards,
Andrew Victor
--
| Apr 13, 1:14 am 2010 |
| Anders Larsen | Re: [PATCH 2/2] AT91 slow-clock resume: don't restore th ...
Hi Andrew,
it's not possible to use that constant directly; there are too many bits
set (the ARM instruction set has room for an 8-bit constant and a shift
...so I made the test a two-step process; the first 'tst' checks if
the bits masked by (AT91_PMC_MUL & 0xff0000) = 0x00ff0000 are all zero,
the second 'tst' checks if the bits masked by
(AT91_PMC_MUL & ~0xff0000) = 0x07000000 are zero, so all 11 bits are
indeed tested.
There might well be an easier way to do this, but I didn't manage ...
| Apr 13, 1:46 am 2010 |
| tip-bot for Marc Zyngier | [tip:irq/core] genirq: Introduce request_any_context_irq()
Commit-ID: ae731f8d0785ccd3380f511bae888933b6562e45
Gitweb: http://git.kernel.org/tip/ae731f8d0785ccd3380f511bae888933b6562e45
Author: Marc Zyngier <maz@misterjones.org>
AuthorDate: Mon, 15 Mar 2010 22:56:33 +0000
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 13 Apr 2010 16:36:39 +0200
genirq: Introduce request_any_context_irq()
Now that we enjoy threaded interrupts, we're starting to see irq_chip
implementations (wm831x, pca953x) that make use of threaded ...
| Apr 13, 12:33 pm 2010 |
| Oleg Nesterov | Re: [PATCH -mm 3/3] proc: make task_sig() lockless
OK. Andrew, please drop
proc-make-collect_sigign_sigcatch-rcu-safe.patch
proc-make-task_sig-lockless.patch
OK. Not that I really understand why do we need atomicity, but OK.
I was going to remove ->siglock from /fs/proc/ completely (except
do_io_accounting), but given that nobody replied to do_task_stat patches
OK. Anyway, these changes are simple, we can reconsider them later.
Oleg.
--
| Apr 13, 1:00 pm 2010 |
| Roland McGrath | Re: [PATCH -mm 3/3] proc: make task_sig() lockless
I'm not dead-set against it, but I am hesitant. My inclination is not to
remove any previous userland atomicity guarantees with regard to observable
signal state in any form. At least, don't do that in part of a whole
cleanup flurry where it is intermixed with lots of changes that really are
pure cleanup with absolutely no userland-observable change. If it really
helps to fragment what was atomic before, then we can consider it. But
let's not be in a hurry.
David mentioned that users who ...
| Apr 12, 11:30 pm 2010 |
| Uwaysi Bin Kareem | Re: Optimal refresh rate for minimal psychovisual noise, ...
On Mon, 29 Mar 2010 04:02:40 +0200, Uwaysi Bin Kareem
Hello.
In an attempt to follow up, on this article, I would like to see if I can
further tune the system, with renice
or chrt (or schedtool.)
So I was wondering if you, or if you can point me to a place, where I can
find information on common processes in a linux system, (I am using Ubuntu
LL at the moment), and which of these are related to audiovisual
performance, and which of these I can safely renice to 14, without ...
| Apr 13, 8:33 am 2010 |
| Janos Haar | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
Dave,
----- Original Message -----
From: "Dave Chinner" <david@fromorbit.com>
To: "Janos Haar" <janos.haar@netcenter.hu>
Cc: <xiyou.wangcong@gmail.com>; <linux-kernel@vger.kernel.org>;
<kamezawa.hiroyu@jp.fujitsu.com>; <linux-mm@kvack.org>; <xfs@oss.sgi.com>;
<axboe@kernel.dk>
Sent: Tuesday, April 13, 2010 1:34 PM
Subject: Re: Kernel crash in xfs_iflush_cluster (was Somebody take a look
I think i know now the reason....
My case starting to turn into more and more interesting.
(Just ...
| Apr 13, 4:36 pm 2010 |
| Janos Haar | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
----- Original Message -----
From: "Dave Chinner" <david@fromorbit.com>
To: "Janos Haar" <janos.haar@netcenter.hu>
Cc: <xiyou.wangcong@gmail.com>; <linux-kernel@vger.kernel.org>;
<kamezawa.hiroyu@jp.fujitsu.com>; <linux-mm@kvack.org>; <xfs@oss.sgi.com>;
<axboe@kernel.dk>
Sent: Monday, April 12, 2010 2:11 AM
Subject: Re: Kernel crash in xfs_iflush_cluster (was Somebody take a look
OK, i will get the new repair today.
btw
Since i tested the FS with the 2.8.11, today morning i found ...
| Apr 13, 1:00 am 2010 |
| Dave Chinner | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
A corrupted directory. There have been several different types of
So the bad inodes are:
$ awk '/corrupt inode/ { print $10 } /dir: inode/ { print $8 }' messages | sort -n -u
474253931
474253936
474253937
474253938
474253939
474253940
474253941
474253943
474253945
474253946
474253947
474253948
474253949
474253950
474253951
673160704
673160708
673160712
673160713
It looks like the bad inodes are confined to two inode clusters. The
nature of the errors - bad block mappings ...
| Apr 13, 1:39 am 2010 |
| Janos Haar | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
----- Original Message -----
From: "Dave Chinner" <david@fromorbit.com>
To: "Janos Haar" <janos.haar@netcenter.hu>
Cc: <xiyou.wangcong@gmail.com>; <linux-kernel@vger.kernel.org>;
<kamezawa.hiroyu@jp.fujitsu.com>; <linux-mm@kvack.org>; <xfs@oss.sgi.com>;
<axboe@kernel.dk>
Sent: Tuesday, April 13, 2010 10:39 AM
Subject: Re: Kernel crash in xfs_iflush_cluster (was Somebody take a look
Here is the log:
http://download.netcenter.hu/bughunt/20100413/debug.log
The xfs_db does segmentation ...
| Apr 13, 2:23 am 2010 |
| Dave Chinner | Re: Kernel crash in xfs_iflush_cluster (was Somebody tak ...
There are multiple fields in the inode that are corrupted.
I am really surprised that xfs-repair - even an old version - is not
Yup, it probably ran off into la-la land chasing corrupted
Yes, it could be something like that, too, but the only way to test
I haven't heard of any significant memory corruption problems in
2.6.32 or 2.6.33, but it is a possibility given the nature of the
corruption. However, I may have only happened once and be completely
unreproducable.
I'd suggest ...
| Apr 13, 4:34 am 2010 |
| tip-bot for Ingo Molnar | [tip:irq/core] genirq: Run irq handlers with interrupts ...
Commit-ID: e58aa3d2d0cc01ad8d6f7f640a0670433f794922
Gitweb: http://git.kernel.org/tip/e58aa3d2d0cc01ad8d6f7f640a0670433f794922
Author: Ingo Molnar <mingo@elte.hu>
AuthorDate: Fri, 26 Mar 2010 00:06:51 +0000
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 13 Apr 2010 16:36:40 +0200
genirq: Run irq handlers with interrupts disabled
Running interrupt handlers with interrupts enabled can cause stack
overflows. That has been observed with multiqueue NICs delivering ...
| Apr 13, 12:33 pm 2010 |
| tip-bot for Thomas G ... | [tip:irq/core] genirq: Remove IRQF_DISABLED from core code
Commit-ID: 6932bf37bed45ce8ed531928b1b0f98162fe6df6
Gitweb: http://git.kernel.org/tip/6932bf37bed45ce8ed531928b1b0f98162fe6df6
Author: Thomas Gleixner <tglx@linutronix.de>
AuthorDate: Fri, 26 Mar 2010 00:06:55 +0000
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Tue, 13 Apr 2010 16:36:40 +0200
genirq: Remove IRQF_DISABLED from core code
Remove all code which is related to IRQF_DISABLED from the core kernel
code. IRQF_DISABLED still exists as a flag, but becomes a NOOP ...
| Apr 13, 12:34 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] perf fix
Pulled, thanks a lot Frederic!
Ingo
--
| Apr 13, 3:51 pm 2010 |
| Patrick McHardy | Apr 13, 2:26 am 2010 | |
| Pavel Machek | Re: [PATCH 2/2] x86 platform driver: intelligent power s ...
Ok, if this driver screws up will
a) cpu/gpu protect itself from damage by overheat?
b) cpu/gpu protect itself from incorrect operation resulting from
return (averun > 1); ?
But this is wrong test, anyway. One process waiting for disk, and you
Merge above four functions into two, by having 'enable' parameter?
printk?
I wonder if we should have milliwatt_t, msec_t and similar, to aid
Please no unicode at least in user interfaces. Ouch and it is subtly
wrong. ...
| Apr 13, 12:24 pm 2010 |
| Jesse Barnes | Re: [PATCH 2/2] x86 platform driver: intelligent power s ...
On Tue, 13 Apr 2010 21:24:53 +0200
The CPU will end up throttling itself, reducing performance to keep
within its power budget. The GPU will just end up hanging if it
They would be, but these docs are only available under NDA. If you
have a sales or technical contact you can use the numbers here to get
Yes, I'm happy to have a better test here. Not that it matters *too*
much though; we'll allocate more power budget to the CPU, but it will
only use it if needed. Allocating it more ...
| Apr 13, 12:40 pm 2010 |
| Joe Perches | Re: [PATCH] MAINTAINERS: arch/arm/s3c and arch/arm/s5p
So perhaps you'll add yourself and the correct entries to MAINTAINERS?
--
| Apr 12, 7:47 pm 2010 |
| Andrew Morton | Re: [REGRESSION 2.6.30][PATCH 1/1] sched: defer idle acc ...
On Thu, 1 Apr 2010 22:01:59 +0200 (CEST)
So... should we merge Chase's patch?
--
| Apr 13, 1:39 pm 2010 |
| Thomas Gleixner | Re: [REGRESSION 2.6.30][PATCH 1/1] sched: defer idle acc ...
I have no better solution right now. Peter ?
Thanks,
tglx
--
| Apr 13, 2:02 pm 2010 |
| Chase Douglas | Re: [REGRESSION 2.6.30][PATCH 1/1] sched: defer idle acc ...
I've made one small change to it. Checking the atomic .counter
variable probably isn't the most portable, and atomic_long_read()
should be portable and not add any overhead on sane platforms, so I
swapped out the check against .counter with an atomic_long_read().
I'll resend it shortly.
-- Chase
--
| Apr 13, 2:06 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
Please remember, 2.6.27 has following +1 scanning modifier.
zone->nr_scan_active += (zone_page_state(zone, NR_ACTIVE) >> priority) + 1;
^^^^
and, early (ano not yet merged) SplitLRU VM has similar +1. likes
scan = zone_nr_lru_pages(zone, sc, l);
scan >>= priority;
scan = (scan * percent[file]) / 100 + 1;
^^^
We didn't think only one page ...
| Apr 13, 12:55 am 2010 |
| KOSAKI Motohiro | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
I'm surprised this ack a bit. Rik, do you have any improvement plan about
streaming io detection logic?
I think the patch have a slightly marginal benefit, it help to <1% scan
ratio case. but it have big regression, it cause streaming io (e.g. backup
operation) makes tons swap.
So, I thought we sould do either,
1) drop this one
2) merge to change stream io detection logic improvement at first, and
merge this one at second.
Am i missing something?
--
| Apr 12, 6:30 pm 2010 |
| Rik van Riel | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
How? From the description I believe it took 16GB in
a zone before we start scanning anon pages when
reclaiming at DEF_PRIORITY?
We may need better streaming IO detection, anyway.
I have noticed that while heavy sequential reads are fine,
the virtual machines on my desktop system do a lot of whole
block writes. Presumably, a lot of those writes are to the
same blocks, over and over again.
This causes the blocks to be promoted to the active file
list, which ends up growing the active ...
| Apr 12, 7:42 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH]vmscan: handle underflow for get_scan_ratio
And now I've merged this patch into my local vmscan patch queue.
After solving streaming io issue, I'll put it to mainline.
Thanks.
--
| Apr 13, 1:55 am 2010 |
| Arnd Bergmann | Re: [PATCH 6/6] procfs: Kill the bkl in ioctl
Why not? In my 2.6.33 based series, I have removed all implicit
uses of the BKL, so we can be sure that it doesn't use the BKL
unless the module is part of that series. The only two cases
I can think of are:
- ioctl callback, which we should do in the same change, like I
originally did. If a driver defines ->ioctl(), make it use
deprecated_ioctl() and default_llseek()/deprecated_llseek.
- Any of the file systems from Jan's series.
Arnd
--
| Apr 13, 2:26 am 2010 |
| Christoph Hellwig | Re: [PATCH 6/6] procfs: Kill the bkl in ioctl
Yes, it's not quite easily greppable. Making no seek allowed the
I wouldn't bother. If you can actually work on your plan default_llseek
should be gone soon enough.
--
| Apr 13, 11:03 am 2010 |
| Frederic Weisbecker | Re: [PATCH 6/6] procfs: Kill the bkl in ioctl
Ok looks like a good plan then.
Thanks.
--
| Apr 13, 1:10 pm 2010 |
| Linus Walleij | Re: [PATCH 1/2] DMAENGINE: Support for ST-Ericssons DMA4 ...
Dan, if this driver is fine can it be put into the async_tx tree?
Andrew already has it in his tree but it shouldn't cause any problems
in my limited experience.
Linus Walleij
--
| Apr 13, 8:22 am 2010 |
| Daniel Mack | Re: [PATCH] libertas/sdio: 8686: set ECSI bit for 1-bit ...
Was this picked by anyone?
Just asking because I didn't see it in the wireless-2.6.git yet.
Thanks,
--
| Apr 13, 3:29 am 2010 |
| John W. Linville | Re: [PATCH] libertas/sdio: 8686: set ECSI bit for 1-bit ...
It is in wireless-next-2.6, queued for 2.6.35.
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
--
| Apr 13, 6:06 am 2010 |
| Daniel Mack | Re: [PATCH] libertas/sdio: 8686: set ECSI bit for 1-bit ...
Thanks a lot!
Daniel
--
| Apr 13, 6:21 am 2010 |
| Johannes Weiner | Re: [PATCH 3/4] anon_vma: clone the anon_vma chain in th ...
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
--
| Apr 12, 5:18 pm 2010 |
| Johannes Weiner | Re: [PATCH 4/4] anonvma: when setting up page->mapping, ...
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Would you mind pasting that nice description of the error case from your
other email into that changelog? I skimmed over the description but when
I read this patch several hours later, I had to go back to that previous
I think the key here is not that it's the oldest (past) but also the one with
the longest extent (future), so that it's bound to stay until the last possible
mapping for this page vanishes.
Maybe it's just me, but I doubt the ...
| Apr 12, 5:41 pm 2010 |
| Linus Torvalds | Re: [PATCH 4/4] anonvma: when setting up page->mapping, ...
It now looks like this..
Linus
---
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Mon, 12 Apr 2010 12:44:29 -0700
Subject: [PATCH 4/4] anonvma: when setting up page->mapping, we need to pick the _oldest_ anonvma
Otherwise we might be mapping in a page in a new mapping, but that page
(through the swapcache) would later be mapped into an old mapping too.
The page->mapping must be the case that works for everybody, not just
the mapping that happened to page it in ...
| Apr 12, 6:08 pm 2010 |
| Minchan Kim | Re: [PATCH 1/4] Simplify and comment on anon_vma re-use ...
On Tue, Apr 13, 2010 at 5:22 AM, Linus Torvalds
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
--
Kind regards,
Minchan Kim
--
| Apr 12, 9:04 pm 2010 |
| Minchan Kim | Re: [PATCH 2/4] vma_adjust: fix the copying of anon_vma chains
On Tue, Apr 13, 2010 at 5:23 AM, Linus Torvalds
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
--
Kind regards,
Minchan Kim
--
| Apr 12, 9:15 pm 2010 |
| Minchan Kim | Re: [PATCH 3/4] anon_vma: clone the anon_vma chain in th ...
On Tue, Apr 13, 2010 at 5:23 AM, Linus Torvalds
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
--
Kind regards,
Minchan Kim
--
| Apr 12, 9:16 pm 2010 |
| Minchan Kim | Re: [PATCH 4/4] anonvma: when setting up page->mapping, ...
On Tue, Apr 13, 2010 at 10:08 AM, Linus Torvalds
Reviewed-by: Minchan Kim <minchan.kim>
It was great hunting and was a chance to learn many things
from LKML smart guys.
I feel again about OSS's power and great procedure of linux evolution
Thanks for everybody.
--
Kind regards,
Minchan Kim
--
| Apr 12, 9:23 pm 2010 |
| Minchan Kim | Re: [PATCH 4/4] anonvma: when setting up page->mapping, ...
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Sorry for mistake.
I was extremely excited. :)
--
Kind regards,
Minchan Kim
--
| Apr 12, 9:26 pm 2010 |
| Borislav Petkov | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all ...
From: Linus Torvalds <torvalds@linux-foundation.org>
Ok, just finished testing -rc4 - no problems so far. Let's just go out
on a limb here and say with a greater certainty that this really got
fixed but be smart about it and keep an eye open if it happens again -
you never know.
Where is the champagne?
--
Regards/Gruss,
Boris.
--
| Apr 13, 2:38 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/4] Simplify and comment on anon_vma re-use ...
Maybe write that as:
static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b)
{
if (a->vm_end != b->vm_start)
return 0;
if (!mpol_equal(vma_policy(a), vma_policy(b))
return 0;
if (a->vm_file != b->vm_file)
return 0;
if ((a->vm_flags ^ b->vm_flags) & ~(VM_READ|VM_WRITE|VM_EXEC))
return 0;
if (a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT) != b->vm_pgoff)
return 0;
return 1;
}
--
| Apr 13, 2:51 am 2010 |
| KOSAKI Motohiro | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all ...
Sorry, Now I'm lost what discuss in this crazy long thread.
IIUC, If the page->mapping was freed millisecns ago, following (1)
check returen false and we never touch page->mapping literally.
Am I missing something?
===================================================================
struct anon_vma *page_lock_anon_vma(struct page *page)
{
struct anon_vma *anon_vma;
unsigned long anon_mapping;
rcu_read_lock();
anon_mapping = (unsigned long) ...
| Apr 13, 3:36 am 2010 |
| KOSAKI Motohiro | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all ...
Does anon->lock dereference is guranteed if page->_mapcount==-1?
It can be freed miliseconds ago, rcu_read_lock() doesn't provide such
gurantee.
perhaps, I'm missing your point.
--
| Apr 13, 3:53 am 2010 |
| Peter Zijlstra | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all ...
No you're right, I got my head hopelessly twisted up trying to make
page_lock_anon_vma() do something reliable, but there really isn't much
that can be done.
Luckily most users (with exception of the memory-failure.c one) don't
really care and all take steps to verify the page is indeed in any of
the vmas it might find.
So I've given up on this and will only submit a patch like the below,
which hopefully does still make sense...
I do think there's a missing barrier in there as well, but ...
| Apr 13, 4:30 am 2010 |
| KOSAKI Motohiro | Re: [PATCH -v2] rmap: make anon_vma_prepare link in all ...
Indeed. refcount is best way. anon_vma DESTROY_BY_RCU stuff seems
overengineering, I think. this is fastest, but anon_vma allocation is not
(and was not) fork/exit bottleneck point. So, I guess most simply way is
best.
Also following patch looks good to me.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Thanks for that. I've thought this is really necessary. but my (very) poor
--
| Apr 13, 5:00 am 2010 |
| Oleg Nesterov | Re: [PATCH v2 7/11] Uprobes Implementation
Looks like, this doesn't need get/put task_struct, you could just
This doesn't look right. We can't trust ->thread_group list even under
rcu_read_lock(). The task can exit and __exit_signal() can remove it
This is called by create_uprocess(). Who will free t->utask if t has
not sure I understand this check. Somehow we should prevent the races
with tracehook_report_exit/tracehook_report_exec, but PF_EXITING can't
can't we race with clone(CLONE_THREAD) and miss the new thread? ...
| Apr 13, 11:35 am 2010 |
| tip-bot for Randy Dunlap | [tip:perf/core] perf: cleanup some Documentation
Commit-ID: 854c5548dfad017920a36201d40449fdbad90bfb
Gitweb: http://git.kernel.org/tip/854c5548dfad017920a36201d40449fdbad90bfb
Author: Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Wed, 31 Mar 2010 11:31:00 -0700
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 8 Apr 2010 11:34:26 -0300
perf: cleanup some Documentation
Correct typos in perf bench & perf sched help text.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Cc: Paul Mackerras ...
| Apr 13, 3:43 am 2010 |
| tip-bot for Randy Dunlap | [tip:perf/core] perf bench: fix spello
Commit-ID: f0e9c4fcefa42b5d28b915768dab81a7fdbbc00c
Gitweb: http://git.kernel.org/tip/f0e9c4fcefa42b5d28b915768dab81a7fdbbc00c
Author: Randy Dunlap <randy.dunlap@oracle.com>
AuthorDate: Wed, 31 Mar 2010 11:30:56 -0700
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 8 Apr 2010 11:34:26 -0300
perf bench: fix spello
Fix spello in user message.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Cc: Paul Mackerra <paulus@samba.org>s
LKML-Reference: ...
| Apr 13, 3:43 am 2010 |
| Linus Walleij | Re: [PATCH] Arm nomadik : Vendor tool compatibility
Instead of coding the ECC layout into the driver I would move it to the
machine config in arch/arm/mach-* and pass it in as platform data
I will fix it for all users the day I have time, please queue this
as it is now.
Yours,
Linus Walleij
--
| Apr 12, 5:26 pm 2010 |
| Andrew Victor | Re: [PATCH] AT91: at91sam9g10 chip identification changed
Wouldn't it be better to just mask out the AT91_CIDR_EXT bit in
at91_cpu_identify()?
That bit isn't really useful for "version" information.
We'd then just need to modify:
#define ARCH_ID_AT91SAM9G10 0x019903a0
#define ARCH_ID_AT91SAM9G45 0x019b05a0
#define ARCH_ID_AT91SAM9G45MRL 0x019b05a2 /* aka 9G45-ES2 &
non ES lots */
#define ARCH_ID_AT91SAM9G45ES 0x019b05a1 /* 9G45-ES
(Engineering Sample) */
(ie, drop bit AT91_CIDR_EXT)
Regards,
...
| Apr 13, 12:42 am 2010 |
| Michal Hocko | Re: commit 9630bdd9 changes behavior of the poweroff - bug?
Unfortunately, it didn't help either (I have tried on top of the fresh
--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
| Apr 13, 1:27 am 2010 |
| Rafael J. Wysocki | Apr 13, 1:53 pm 2010 | |
| Mel Gorman | Re: [PATCH 05/14] Export unusable free space index via / ...
==== CUT HERE ====
mm,compaction: Move unusable_index to debugfs
unusable_index can be worked out from userspace but for debugging and tuning
compaction, it'd be best for all users to have the same information. This
patch moves extfrag_index to debugfs where it is both easier to configure
out and remove at some future date.
This is a fix to the patch "Export unusable free space index via
/proc/unusable_index"
Signed-off-by: Mel Gorman <mel@csn.ul.ie>
---
...
| Apr 13, 5:42 am 2010 |
| Mel Gorman | Re: [PATCH 06/14] Export fragmentation index via /proc/e ...
==== CUT HERE ====
mm,compaction: Move extfrag_index to debugfs
extfrag_index can be worked out from userspace but for debugging and
tuning compaction, it'd be best for all users to have the same
information. This patch moves extfrag_index to debugfs where it is both
easier to configure out and remove at some future date.
This is a fix to the patch "Export fragmentation index via
/proc/extfrag_index". When merged, it'll collide with the patch "Direct
compact when a high-order allocation ...
| Apr 13, 5:43 am 2010 |
| Hans-Peter Jansen | Re: 2.6.34-rc3: simple du (on a big xfs tree) triggers o ...
Dave, may I ask you kindly for briefly elaborating on the worst consequences
I've briefly tested this with a codebase somewhere between -rc3 and -rc4,
and it survived the du test, but it suffered from some strange network drop
outs, that aren't funny on a nfs server...
Will retest your patches after opensuse-current catched up with -rc4.
Hopefully, the most blatant stability issues are fixed by then.
Cheers,
Pete
--
| Apr 13, 1:50 am 2010 |
| Dave Chinner | Re: 2.6.34-rc3: simple du (on a big xfs tree) triggers o ...
Well, given that is the new shrinker code generating the warnings,
reverting/removing that hunk will render the patch useless :0
I'll get you a working 2.6.33 patch tomorrow - it's dinner time
now....
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| Apr 13, 2:18 am 2010 |
| Hans-Peter Jansen | Re: 2.6.34-rc3: simple du (on a big xfs tree) triggers o ...
Excuse me, I didn't express myself well. I'm after the consequences of
Cool, thanks.
Have a nice dinner,
Pete
--
| Apr 13, 2:42 am 2010 |
| Lai Jiangshan | Re: [PATCH 2/2] cpuhotplug: make get_online_cpus() scala ...
It is totally starvation, hotplug can not complete.
I think it is a kind of DOS attack.
--
| Apr 12, 6:47 pm 2010 |
| Jeff Moyer | Re: [RFC][PATCH] bcache: cache a block device with an ssd
I see this has languished without response. This is an interesting
idea, however the first question that comes to mind is have you looked
at fs-cache? Does it come anywhere close to suiting your needs?
Cheers,
Jeff
--
| Apr 13, 8:47 am 2010 |
| Richard Zidlicky | Re: 2.6.33.2 does not boot on Atom?
I can confirm that "make oldconfig" does not fix the problem.
Grub appears to load the kernel (at least it does not come back with an error as it otherwise
would), cursor in the topleft corner and absolutely no activity.
no reaction to ctrl-alt-del or magic keys. For all other kernels I would see at least the
"uncompressing kerne.." message, not here.
Richard
--
| Apr 13, 2:09 am 2010 |
| Greg KH | Re: 2.6.33.2 does not boot on Atom?
Try asking on a Fedora kernel list as this might just be a config issue
with the way modesetting is set up.
good luck,
greg k-h
--
| Apr 13, 6:28 am 2010 |
| Richard Zidlicky | Re: 2.6.33.2 does not boot on Atom?
it is a clean kernel.org kernel, with early printk and I tried playing with
various (no)rhgb noquiet options just to be sure. So this does really appear to
be something that happens in the earliest bootstages before uncompressing and
can not think how it could be Fedora's fault - it does not get anywhere close
to touching the initramd image.
The only way I can proceed is try some kind of bisecting.. real bisect won't
work as the wlan connection is painfully slow with the only working ...
| Apr 13, 11:22 am 2010 |
| Andrew Morton | Apr 12, 5:49 pm 2010 | |
| Bounine, Alexandre | Apr 13, 8:00 am 2010 | |
| john stultz | Re: [PATCH] time: remove xtime_cache (take 2)
Yep. That should be fine. We're just dropping the update_xtime_cache
call, so if it doesn't exist, its not a problem.
thanks
-john
--
| Apr 12, 9:06 pm 2010 |
| Andrew Morton | Re: [PATCH] time: remove xtime_cache (take 2)
This conflicts with your time-clean-up-warp_clock.patch, below.
Shrug, I simply ignored the rejected hunk.
From: John Stultz <johnstul@us.ibm.com>
warp_clock() currently accesses timekeeping internal state directly, which
is unnecessary. Convert it to use the proper timekeeping interfaces.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
...
| Apr 12, 6:00 pm 2010 |
| H. Peter Anvin | Re: [2.6.34-rc1 REGRESSION] ahci 0000:00:1f.2: controlle ...
Why bother? The first megabyte is really special in x86... it is
historically used for legacy devices, it has specific functions for PCI
firmware, and it has separate MTRRs.
Simply put, "there there be dragons". There is no sane reason to
allocate unassigned devices there (preassigned devices is another matter).
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Apr 12, 7:14 pm 2010 |
| H. Peter Anvin | Re: [2.6.34-rc1 REGRESSION] ahci 0000:00:1f.2: controlle ...
I strongly suspects that Windows knows that < 1 MB is special, and only
ever assigns it upon explicit allocation.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Apr 12, 6:51 pm 2010 |
| Adrian Glaubitz | Re: linux-ide: hda: possibly failed opcode: 0x25 on Alph ...
Hi Bartlomiej,
thank you very much for your kind reply!
Ok, I will report the problem there. Btw, the problem doesn't occur
with 2.6.33.2 either so it definetely seems to be a regression with
2.6.34. Unfortunately, I don't have the machine at hand anymore, so I
won't be able to test in near future :(. Very sorry. However, I know
someone who still has such a workstation, I will ask him to test.
Thanks,
Adrian
--
| Apr 13, 9:46 am 2010 |
| Bartlomiej Zolnierki ... | Re: linux-ide: hda: possibly failed opcode: 0x25 on Alph ...
I'm flattered but nowadays I'm just a maintainer of a modest
I think that the highest chance of bringing the right people's
attention to this kernel regression would be achieved by filling
the official bug-report at https://bugzilla.kernel.org/.
Thanks.
--
Bartlomiej Zolnierkiewicz
--
| Apr 13, 8:34 am 2010 |
| Jan III Sobieski | Re: [PATCH] build error drivers/staging/dt3155/dt3155_drv.c
W dniu 7 kwietnia 2010 06:05 użytkownik Jan III Sobieski
I still get this bug on 2.6.34-rc4. Anyone care to pick this patch?
--
Jan III Sobieski
--
| Apr 13, 3:20 pm 2010 |
| Randy Dunlap | Re: [PATCH] build error drivers/staging/dt3155/dt3155_drv.c
I sent a patch on March 09, 2010, that should fix it.
Please test it. Thanks.
---
From: Randy Dunlap <randy.dunlap@oracle.com>
When the dt3155 driver is built-in (not as a loadable module),
these build errors happen:
drivers/staging/dt3155/dt3155_drv.c:1047: error: implicit declaration of function 'request_irq'
drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_SHARED' undeclared (first use in this function)
drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_DISABLED' ...
| Apr 13, 3:25 pm 2010 |
| John Berthels | Re: PROBLEM + POSS FIX: kernel stack overflow, xfs, many ...
Hi Chris,
Thanks for this, we've been soaking it for a while and get the stack
trace below (which is still >8k), which still has shrink_zone at 528 bytes.
I find it odd that the shrink_zone stack usage is different on our
systems. This is a stock kernel 2.6.33.2 kernel, x86_64 arch (plus your
patch + Dave Chinner's patch) built using ubuntu make-kpkg, with gcc
(Ubuntu 4.3.3-5ubuntu4) 4.3.3 (.vmscan.o.cmd with full build options is
below, gzipped .config attached).
Can you see any ...
| Apr 13, 2:51 am 2010 |
| Ingo Molnar | Re: [GIT PULL][PATCH 0/12] IOMMU fixes for 2.6.34-rc3
Pulled, thanks a lot Joerg!
Ingo
--
| Apr 13, 4:25 am 2010 |
| Patrick McHardy | Re: [PATCH] xtables: make XT_ALIGN() usable in exported ...
Since there haven't been any objections, I've applied your patch.
Thanks.
--
| Apr 13, 2:22 am 2010 |
| Patrick McHardy | Re: [PATCH] xtables: make XT_ALIGN() usable in exported ...
This breaks compilation by removing __ALIGN_MASK(). Please fix this up.
--
| Apr 13, 3:01 am 2010 |
| Patrick McHardy | Re: [PATCH v2] xtables: make XT_ALIGN() usable in export ...
I've already pushed your change out, could you send me an incremental
fix please?
master.kernel.org:/pub/scm/linux/kernel/git/kaber/nf-next-2.6.git
--
| Apr 13, 4:08 am 2010 |
| Patrick McHardy | Apr 13, 5:10 am 2010 | |
| Daniel Mack | Re: [PATCH] USB: rename usb_buffer_alloc() and usb_buffe ...
Is this ok? As it's quite big, I think it should be merged soon if there
are no objections.
Thanks,
--
| Apr 13, 11:16 am 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
the driver for that device later can not use pci_request_region(). because that region is BUSY already.
YH
--
| Apr 13, 2:42 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
That's not good (in general - for devices in this particular range it's
not such a big deal, but it is potentially really bad for devices marked
reserved for them not to be moved.)
We have talked about a need to resolve this before.
-hpa
--
| Apr 13, 2:58 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
Good, that's what we want.
ROM probing in this region should really be possible to skip, since the
only thing safe is to treat the whole region as special. This is not in
any way 32-bit-specific.
-hpa
--
| Apr 13, 2:18 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
Are you sure? what is BAR range? greater than 1M ?
e820_reserve_resources() will make that range to be reserved and BUSY in resource tree.
and if driver for that device want to call pci_request_region, it will get failure...
YH
--
| Apr 13, 3:58 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
Yes, > 1 MB in that case, I'm fairly sure.
-hpa
--
| Apr 13, 4:02 pm 2010 |
| Bjorn Helgaas | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
I like the fact that this makes x86_64 and x86_32 handle the legacy VGA
framebuffer the same way.
What about arch/x86/kernel/probe_roms_32.c? That deals with expansion
ROMs in the 0xc0000-0xfffff range, including the VGA ROM. We only build
Let me see if I understand this. On Andy's machine, the e820 map
doesn't mention the 0xa0000-0xf0000 range at all:
BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 ...
| Apr 13, 2:02 pm 2010 |
| Bjorn Helgaas | Re: [PATCH -v2 2/2] x86,pci, acpi: Inherent BUSY flag wh ...
This -v2 text doesn't belong in the changelog. If you need it, it
should be in a cover message so it doesn't clutter the permanent git
I think this makes sense, but I think it should be in two separate
patches. The first would be the pci_bus_alloc_resource() change, which
is of interest to all architectures, with a changelog like this:
PCI: don't allocate from a BUSY bus resource
Drivers typically use pci_request_regions() to reserve the resources
they use, but that fails if the ...
| Apr 13, 2:02 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
[Note: it's worth noting that the e820 spec specifically says that e820
I guess the real question (which I haven't looked at myself) is if the
E820_RESERVED -> BUSY will cause an explicitly assigned BAR from being
moved. That's bad, not so much for this particular range, but from BARs
which may be assigned by SMM. Hacking that up in a simulator
(Qemu/Bochs) and testing it is probably on the to do list...
-hpa
--
| Apr 13, 2:09 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
looks that file could be dropped.
Thanks
Yinghai
--
| Apr 13, 2:08 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
no, if some device BAR fall in that range, it should still use that range, and will not be relocated.
will update the change log.
Thanks
Yinghai
--
| Apr 13, 2:11 pm 2010 |
| Yinghai | [PATCH -v3 1/3] x86: Reserve [0xa0000, 0x100000] in e820 map
Update e820 at first, and later put them resource tree.
Reserved that early, will not be allocated to unassigned PCI BAR
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Andy Isaacson <adi@hexapodia.org>
Tested-by: Andy Isaacson <adi@hexapodia.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
---
arch/x86/include/asm/setup.h | 1 -
arch/x86/kernel/head32.c | 1 -
arch/x86/kernel/setup.c ...
| Apr 13, 2:22 pm 2010 |
| Yinghai | [PATCH -v3 2/3] x86,pci, acpi: host bridge windows inher ...
If a host bridge window falls inside a region the architecture has
marked busy, the window should inherit the busy flag so we don't
try to assign that region to a device.
[commit log is from Bjorn]
Tested-by: Andy Isaacson <adi@hexapodia.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
arch/x86/pci/acpi.c | 4 ++++
1 file changed, 4 insertions(+)
Index: ...
| Apr 13, 2:23 pm 2010 |
| Yinghai | [PATCH -v3 3/3] pci: don't allocate from a BUSY bus resource
Drivers typically use pci_request_regions() to reserve the resources
they use, but that fails if the resource is already busy. Therefore,
we should ignore busy resources when we're assigning resources to a
device.
[commit log is from Bjorn]
Tested-by: Andy Isaacson <adi@hexapodia.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
drivers/pci/bus.c | 4 ++++
1 file changed, 4 ...
| Apr 13, 2:24 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
current code for mmio that is just below 4g, if some PCI BAR use that range, and those range is falling into E820_RESERVED,
those range still can be claimed, but driver can not use pci_request_region() later.
So We still
1. rely that BIOS does not reserve the [0xa0000, 0xe0000)
2. kernel only reserve the range when we make sure these is legacy device on that range.
YH
--
| Apr 13, 3:29 pm 2010 |
| Yinghai | Apr 13, 3:39 pm 2010 | |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
This really isn't sufficient. There are systems in the field which
marks a memory range reserved in E820 because it a device pointed there,
and it doesn't want that device moved because it is used by an SMM handler.
This was reported quite a while ago (like two years.) I can dig up the
thread if it matters.
-hpa
--
| Apr 13, 3:41 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
Let me dig up the thread later... this was so long ago my memory might
be rusty.
-hpa
--
| Apr 13, 4:03 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
that is ok. actually that is handled by e820_reserve_resource_late(), and it will not put BUSY on the entry at all.
YH
--
| Apr 13, 4:03 pm 2010 |
| H. Peter Anvin | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
OK... why is that handled differently?
-hpa
--
| Apr 13, 4:07 pm 2010 |
| Yinghai | Re: [PATCH -v2 1/2] x86: Reserve [0xa0000, 0x100000] in ...
about one year ago, Linus made that change to use insert_resource_expand_to_fit() to honor PCI device BAR than E820_RESERVED.
YH
--
| Apr 13, 4:09 pm 2010 |
| David Miller | Re: [Bug #15719] virtio_net causing kernel BUG when runn ...
From: Thomas Müller <thomas@mathtm.de>
Indeed you're right, net-2.6 needs it too.
Thanks for catching this, I've cherry picked the commit
from net-next-2.6 and added it to net-2.6
Thanks again!
--
| Apr 12, 10:01 pm 2010 |
| David Miller | Re: [PATCH Resubmission] drivers/net/usb: Add new driver ...
From: L. Alberto Giménez <agimenez@sysvalve.es>
I can't apply this.
Unless you add a rule to drivers/net/Makefile, the build won't
actually get to your driver unless one of the other USB networking
devices are configured.
Please fix this up and resubmit.
--
| Apr 13, 1:15 am 2010 |
| "L. Alberto Giménez" | Re: [PATCH Resubmission] drivers/net/usb: Add new driver ...
Hi David,
Thanks for the info. I didn't know that I had to add an entry on the
upper level Makefile. I guess that something like
obj-$(CONFIG_USB_IPHETH) += usb/ should be enough? (I got it from the
other USB net drivers).
I won't be able to work on it today, I've been very busy today and can't
I have also in my queue a patch sent from upstream to fix the latest
issues pointed out by Roland Dreier, and I need to test it a little bit
more.
Thanks for your comments and ...
| Apr 13, 12:03 pm 2010 |
| David Miller | Re: [PATCH Resubmission] drivers/net/usb: Add new driver ...
From: "L. Alberto Giménez" <agimenez@sysvalve.es>
Yes.
--
| Apr 13, 2:29 pm 2010 |
| Vivek Goyal | Re: [PATCH] memcg: update documentation v5
Typed wrong email id last time and mail bounced. So here is another
--
| Apr 13, 7:03 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH] memcg: update documentation v5
Thank you very much for your kindly helps!.
-Kame
=
Documentation update.
Some information are old, and I think current document doesn't work
as "a guide for users".
We need summary of all of our controls, at least.
Changelog: 2010/04/12
* applied feedback
Changelog: 2010/04/09
* replace 'lru' with 'LRU' and 'oom' with 'OOM'
* fixed double-space breakage
* applied all comments and fixed wrong parts pointed out.
* fixed cgroup.procs
Changelog: 2009/04/07
* fixed tons of typos.
* ...
| Apr 12, 9:45 pm 2010 |
| Balbir Singh | Re: [PATCH] memcg: update documentation v5
^^ period might not be appropriate, if it is, n (not) should
--
Three Cheers,
Balbir
--
| Apr 12, 11:04 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH] memcg: update documentation v5
On Tue, 13 Apr 2010 11:34:06 +0530
Hmm ? I'm not sure.
Could you explain why you think removing <> is better ?
Thanks,
-Kame
--
| Apr 12, 11:20 pm 2010 |
| Balbir Singh | Re: [PATCH] memcg: update documentation v5
* KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2010-04-13 15:20:48]:
[snip]
Because it is an actual name as compared to using <> for to be
replaced with the right thing.
--
Three Cheers,
Balbir
--
| Apr 12, 11:48 pm 2010 |
| KAMEZAWA Hiroyuki | [PATCH] memcg: update documentation v6
On Tue, 13 Apr 2010 12:18:55 +0530
Should I replace TABs with SPACEs ? I think my mailer doesn't
Did you read cgroup eventer listener ?
"write string like "<event_fd> <memory.usage_in_bytes> <threshold>" to"
means
<fd of event fd> <fd of memory.usage_in_bytes> <threshold>
Then, it's not actual name. It's can be changed.
Hmm, I'll replace them with <fd of memory.usage_in_bytes>
Here.
==
Documentation update.
Some information are old, and I think current document doesn't ...
| Apr 12, 11:58 pm 2010 |
| Vivek Goyal | Re: [PATCH] memcg: update documentation v5
On Tue, Apr 13, 2010 at 01:45:53PM +0900, KAMEZAWA Hiroyuki wrote:
Because I never understood very well, I will ask. Why lock_page_cgroup()
should not be called under mapping->tree_lock?
Thanks
Vivek
--
| Apr 13, 6:57 am 2010 |
| Balbir Singh | Re: [PATCH] memcg: update documentation v5
The closest reference I can find to a conversation regarding this is
http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-05/msg05158.html
--
Three Cheers,
Balbir
--
| Apr 13, 8:08 am 2010 |
| Vivek Goyal | Re: [PATCH] memcg: update documentation v5
Thanks Balbir. So basically idea is that page_cgroup_lock() does not
disable interrupts hence can be interrupted. So don't do
lock_page_cgroup() in interrupt context at all otherwise it can lead to
various kind of deadlock scenarios.
One of those scenarios is lock_page_cgroup() under mapping->tree_lock.
That helps. Thanks
--
| Apr 13, 8:16 am 2010 |
| Randy Dunlap | Re: [PATCH] memcg: update documentation v6
using a ; there would be even better.
we
--
~Randy
--
| Apr 13, 8:54 am 2010 |
| Cong Wang | Re: [Bonding-devel] [v3 Patch 2/3] bridge: make bridge s ...
Hmm, but I checked the bonding case (IFF_BONDING), it doesn't
hold rtnl_lock. Strange.
--
| Apr 13, 1:57 am 2010 |
| Jay Vosburgh | Re: [Bonding-devel] [v3 Patch 2/3] bridge: make bridge s ...
I looked, and there are a couple of cases in bonding that don't
have RTNL for adjusting priv_flags (in bond_ab_arp_probe when no slaves
are up, and a couple of cases in 802.3ad). I think the solution there
is to move bonding away from priv_flags for some of this (e.g., convert
bonding to use a frame hook like bridge and macvlan, and greatly
simplify skb_bond_should_drop), but that's a separate topic.
The majority of the cases, however, do hold RTNL. Bonding
generally doesn't have to ...
| Apr 13, 9:52 am 2010 |
| Stephen Hemminger | Re: [Bonding-devel] [v3 Patch 2/3] bridge: make bridge s ...
On Tue, 13 Apr 2010 09:52:47 -0700
All this was related to netpoll. And netpoll processing often needs to occur
in hard IRQ context. Therefor netpoll stuff and RTNL (which is a mutex),
really don't mix well. Keep RTNL for what it was meant for network
reconfiguration. Don't turn it into a network special BKL.
--
--
| Apr 13, 10:33 am 2010 |
| Michael Schnell | Re: atomic RAM ?
That is not the point. Custom instructions easily can implement
thread-safe and SMP safe atomic read-modify-write user-land-enabled
operations such as "test-and-set", "exchange" or "inc" (I don't think
that "store conditional" would be necessary). But they can't work if the
same data can be accessed by other (non-custom) CPU instructions, as the
custom-instructions would necessarily bypass the cache and the MMU while
the normal CPU instructions would use both (and as all this is done ...
| Apr 13, 3:11 am 2010 |
| Michael Schnell | Re: [Nios2-dev] atomic RAM ?
Of course you are right that custom instructions can access the Avalon
Bus (similar as a DMA-ip's can access it) and thus the memory that is
used by Linux, too. But as with DMA this access bypasses the cache and
the MMU.
The problem this discussion is about is, that the
architecture-independent code Linux provides (e.g. in FUTEX Kernel code
and in user-land "atomic" macros) defines the memory-words to be
accessed in an atomic way just somewhere in the user-land address space
and accesses them ...
| Apr 13, 1:39 am 2010 |
| Pavel Machek | Re: [Zaurus-devel] [regression] 2.6.34-rc1 to -rc3 on za ...
Could you try booting to 2.6.34-rc3, then kexecing 2.6.34-rc3? I'm
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Apr 13, 12:28 pm 2010 |
| Florian Tobias Schan ... | Re: [RFC] Initial OLPC Viafb merge
Good news! After some hours of hacking, damaging a filesystem and nearly
smashing my SD card I've found a promising way to implement suspend and
resume in viafb based on the first patch of this series. I think this is
something that can be done for the next merge window. I'll start a clean
implementation after Jon sent an updated patch series (including the
Goal basically reached:
- likely to work on all IGPs as nothing directly IGP dependent is there
- works without ...
| Apr 12, 8:03 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fa ...
There's a few other places that need a similar fix then. The hash page
code for example. All the C cases should end up calling the
find_linux_pte() helper afaik, so we should be able to stick the lock in
there (and the hugetlbfs variant, find_linux_pte_or_hugepte()).
However, we also have cases of tight asm code walking the page tables,
such as the tlb miss handler on embedded processors. I don't see how I
could do that there. IE. I only have a handful of registers to play
with, no stack, ...
| Apr 12, 6:05 pm 2010 |
| Paul E. McKenney | Re: [PATCH 01/13] powerpc: Add rcu_read_lock() to gup_fa ...
One way to make the interrupt assumption official is to use
synchronize_sched() rather than synchronize_rcu().
--
| Apr 12, 8:43 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 07/13] powerpc: Preemptible mmu_gather
On Thu, 2010-04-08 at 21:17 +0200, Peter Zijlstra wrote:
Can index be > 0 if active == 0 ? I though not, which means you don't
need to add a test on active, do you ?
I'm also pondering whether we should just stick something in the
task/thread struct and avoid that whole per-cpu manipulation including
the stuff in process.c in fact.
Use ti->local_flags so you can do it non-atomically, which is a lot
iirc, we are synchronizing with CPUs walking page tables in their hash
or TLB miss ...
| Apr 12, 6:23 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 07/13] powerpc: Preemptible mmu_gather
We must flush before the pte_lock is released. If not, we end up with
this funny situation:
- PTE is read-only, hash contains a translation for it
- PTE gets cleared & added to the batch, hash not flushed yet
- PTE lock released, maybe even VMA fully removed
- Other CPU takes a write fault, puts in a new PTE
- Hash ends up with duplicates of the vaddr -> arch violation
Now we could get out of that one, I suppose, if we had some kind of way
to force flush any batch pertaining to a ...
| Apr 12, 6:56 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 07/13] powerpc: Preemptible mmu_gather
Well, ours aren't struct pages.
IE. There's fundamentally 3 things that we are trying to batch here :-)
1- The original mmu_gather: batching the freeing of the actual user
pages, so that the TLB flush can be delayed/gathered, plus there might
be some micro-improvement in passing the page list to the allocator for
freeing all at omce. This is thus purely a batch of struct pages.
2- The batching of the TLB flushes (or hash invalidates in the ppc
case) proper, which needs the addition of ...
| Apr 12, 7:06 pm 2010 |
| Peter Zijlstra | Re: [PATCH 07/13] powerpc: Preemptible mmu_gather
True I guess, but like this we avoid a write, doesn't really matter I
Can do, I can add batching similar to the generic code to the
Heh, that seems like a real good way to waste a lot of memory fast ;-)
--
| Apr 13, 3:22 am 2010 |
| Andrew Morton | Re: [PATCH 1/3 ] SCSI: Support several features in arcms ...
On Fri, 9 Apr 2010 10:24:19 +0800
Lots of problems here.
- Two of the patches had the same title ("SCSI: Support several
features in arcmsr driver"). Please ensure that each patch has a
unique and well-chosen title.
- application/octet-stream attachments are hard for people to read
in-line in mail clients. Please at least use text/plain MIME type if
possible.
- The patches aren't in `patch -p1' form. You had
--- arcmsr/arcmsr_attr.c
+++ ...
| Apr 13, 1:10 pm 2010 |
| Gui Jianfeng | Re: [PATCH] blkio: Changes to IO controller additional s ...
Hi Jens,
Do not see this patch and other IO controller stats patches in
for-2.6.35 branch. :)
Thanks,
Gui
--
| Apr 12, 10:53 pm 2010 |
| Jens Axboe | Re: [PATCH] blkio: Changes to IO controller additional s ...
They were stuck on my workstation, apparently forgot to push them out
before the weekend. Please check now and report if you think bits are
missing :-)
--
Jens Axboe
--
| Apr 12, 11:51 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 06/39] lmb: Seperate __lmb_find_base() from _ ...
Defininf some kind of LMB_ERROR would be nicer.
Cheers,
--
| Apr 12, 8:58 pm 2010 |
| Yinghai | Re: [PATCH 06/39] lmb: Seperate __lmb_find_base() from _ ...
ok, also __lmb_alloc_base could return 0 when fail to get one.
replace that 0 with LMB_ERROR aka -1ULL?
Yinghai
--
| Apr 12, 9:31 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 15/39] lmb: Add lmb_find_area_node()
Isn't that more duplication from what's already in there for nid
handling ? (Which btw may not be optimal, simply what I'm saying is that
all that stuff should be factored).
Cheers,
--
| Apr 12, 9:18 pm 2010 |
| Yinghai | Re: [PATCH 15/39] lmb: Add lmb_find_area_node()
maybe could try to merge them later. or let sparc64 to use lmb_find_area_node()?
YH
--
| Apr 12, 9:37 pm 2010 |
| Yinghai | Re: [PATCH 18/39] lmb: Add lmb_reserve_area_overlap_ok()
that is only for some special cases about area that is reserved for fw region.
and even there is overlapped area, it the code still can go through when lmb_to_bootmem or create range list for slab.
any suggestion for better name?
YH
--
| Apr 12, 9:44 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 18/39] lmb: Add lmb_reserve_area_overlap_ok()
And ? From what I can see in the code, it will still not work properly
unless all your special cases end up fitting right with the bug you
Well, either we just have overlapped areas or we don't ... we shouldn't
have some kind of overlap_ok() thing that does the right thing ..
sometimes, but maybe not, but we don't care anyways, which is what you
Well, what you actually implemented is
lmb_reserve_area_overlap_maybe_ok_not_too_sure_though()
What we should decide is once for all, is it ok ...
| Apr 12, 10:10 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 18/39] lmb: Add lmb_reserve_area_overlap_ok()
That is going to only work with one overlap. IE. lmb_free() will not do
very well unless it's a one and only match.
You should modify it to work in a loop.
Besides, lmb_reserve_area_overlap_ok() sucks as a name :-)
Cheers,
Ben.
--
| Apr 12, 9:21 pm 2010 |
| Yinghai | Re: [PATCH 18/39] lmb: Add lmb_reserve_area_overlap_ok()
not sure.
not sure if is needed. lmb_free/lmb_reserve seems work.
YH
--
| Apr 12, 10:37 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH -v12 00/39] use lmb with x86
I still find most of your changeset comments to be very very poor, if
comprehensible at all. You really MUST make an effort there.
Cheers,
--
| Apr 12, 8:41 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 26/39] nobootmem: use lmb.default_alloc_limit ...
Hrm... find_memory_core_early() is a broken API anyways. Did you add
that ? Again, you insist on pushing all over the place that crakpot
find/reserve API instead of doing a proper allocation, and it's now
leaking with ifdef's & all into the generic code.
This is just all a pile of shit.
I'm tempted to NACK the whole thing and wait for somebody who can code
to come up with something half decent.
--
| Apr 12, 10:13 pm 2010 |
| Yinghai | Re: [PATCH 07/39] lmb: Add lmb_find_area()
current generic lmb_find_area() is allocating from high to low.
x86 32bit seems have problem with that.
in this patchset, it is fixed, but not sure if i missed sth.
x86 is only use find_area_early() with node area scope, David point that could have problem with cross node mem map.
YH
--
| Apr 12, 10:26 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 07/39] lmb: Add lmb_find_area()
I'm working on some LMB cleanups now, among others trying to take into
account what I think are Yinghai requirements. Give me a few days.
For the specific problem above, my idea is to have the low level alloc
function be able to take both low and high limits, so that x86 can
figure out what's best for a given allocation.
Cheers,
Ben.
--
| Apr 13, 3:15 am 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 04/39] lmb: Move lmb.c to mm/
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
--
| Apr 12, 8:52 pm 2010 |
| Benjamin Herrenschmidt | Apr 12, 8:56 pm 2010 | |
| Benjamin Herrenschmidt | Re: [PATCH 07/39] lmb: Add lmb_find_area()
Haven't you noticed there's already way too many functions walking the
LMBs ? :-)
I think the ones doing nid alloc could/should be also rewritten to use
one single low level __lmb_find_* no ?
Cheers,
--
| Apr 12, 9:05 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 08/39] lmb: Add lmb_reserve_area/lmb_free_area
So a few things here:
default_alloc_limit: This should be a patch of its own I believe, we
should provide a way for callers to also honor the limit, I'm sure
without that we're going to hit funny problems -especially- if we start
replacing bootmem. (Heh, low/high mem anyone ?)
I would think that the basic lmb_alloc() should be modified to use the
current limit, and maybe add an lmb_alloc_anywhere() as an inline
wrapper to lmb_alloc_base(..., LMB_ALLOC_ANYWHERE); In fact, lmb_alloc()
should ...
| Apr 12, 9:15 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 26/39] nobootmem: use lmb.default_alloc_limit ...
So you unconditionally add access to some lmb specific data structure to
generic code ? That isn't going to work very well on archs that don't
use lmb.
Also, those things should be local to lmb_* anyways.
Cheers,
--
| Apr 12, 9:23 pm 2010 |
| Yinghai | Re: [PATCH 07/39] lmb: Add lmb_find_area()
x86 is using original lmb_reserve, lmb_free(), but have own version lmb_find_area(), and it will be dropped after
that nid_alloc() only has one user (sparc64).
maybe could be replaced by lmd_find_area_node(), but need to make sure early_node_map[] is filled at first.
Thanks
Yinghai
--
| Apr 12, 9:29 pm 2010 |
| Yinghai | Re: [PATCH 26/39] nobootmem: use lmb.default_alloc_limit ...
the whole function
#ifdef CONFIG_HAVE_LMB
u64 __init find_memory_core_early(int nid, u64 size, u64 align,
u64 goal, u64 limit)
{
int i;
/* Need to go over early_node_map to find out good range for node */
for_each_active_range_index_in_nid(i, nid) {
u64 addr;
u64 ei_start, ei_last;
ei_last = early_node_map[i].end_pfn;
ei_last <<= PAGE_SHIFT;
...
| Apr 12, 9:50 pm 2010 |
| Benjamin Herrenschmidt | Re: [PATCH 07/39] lmb: Add lmb_find_area()
Do -not- add no APIs that are meant to be dropped. They never are in
practice. What I'm saying here is that the LMB code (including existing
How does it work today ? IE. Which ever mechanism is used that works I
don't care but we shouldn't use 2 different ones.
Cheers,
Ben.
--
| Apr 12, 10:07 pm 2010 |
| Yinghai | Re: [PATCH 26/39] nobootmem: use lmb.default_alloc_limit ...
__alloc_memory_core_early() already include that find_memory_core_early() lines
it is merged for CONFIG_NO_BOOTMEM support.
I split it out, so lmb_find_area_node() could reuse those lines.
YH
--
| Apr 12, 10:42 pm 2010 |
| H. Peter Anvin | Re: [PATCH 07/39] lmb: Add lmb_find_area()
Presumably because it fills up ZONE_DMA.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Apr 12, 10:46 pm 2010 |
| Peter Zijlstra | Re: [PATCH 2/5] sched: add asymmetric packing option for ...
Of course! :-)
This thing does need a better changelog though, and maybe a larger
comment with check_asym_packing(), explaining why and what we're doing
and what we're assuming (that lower cpu number also means lower thread
number).
--
| Apr 13, 5:29 am 2010 |
| Peter Zijlstra | Re: [PATCH 5/5] sched: make fix_small_imbalance work wit ...
Would help if you expand upon the why/how it manages to get pulled up.
I can't immediately spot anything wrong with the patch, but then that
--
| Apr 13, 5:29 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] sched: fix capacity calculations for SMT4
Right, so I suspect this will indeed break some things.
We initially allowed 0 capacity for when a cpu is consumed by an RT task
and there simply isn't much capacity left, in that case you really want
to try and move load to your sibling cpus if possible.
However you're right that this goes awry in your case.
One thing to look at is if that 15% increase is indeed representative
for the power7 cpu, it having 4 SMT threads seems to suggest there was
significant gains, otherwise they'd not ...
| Apr 13, 5:29 am 2010 |
| Peter Zijlstra | Re: [PATCH 4/5] sched: Mark the balance type for use in ...
This explanation lacks a how/why.
So the problem is that need_active_balance() ends up returning false and
prevents the active balance from pulling a task to a lower available SMT
At the very least this wants more comments in the code. I'm not really
charmed by having to add yet another variable to pass around that mess,
--
| Apr 13, 5:29 am 2010 |
| Giuseppe CAVALLARO | Re: re-adding clocksource_get_next ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This means I should export the sh_tmu_clocksource_read (currently
static) and don't pass for the clocksource code at all.
Thanks for your prompt feedback.
Best Regards,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - ...
| Apr 12, 10:44 pm 2010 |
| Lennart Sorensen | Re: Writing to NAND, Which is not visible to USER
I suspect you can't do that.
Most devices have registers needed to access them, in the case of a NAND
flash, commands like 'erase block', 'read', 'write', etc. If you try to
do erase block from your program and then the kernel tries to do something
in its half of the flash, who owns the registers of the NAND flash?
You probably will have to just use the kernel's driver to provide another
partition and then access that directly (without a filesystem) from
your program. At least that way ...
| Apr 13, 1:24 pm 2010 |
| Mathieu Desnoyers | Re: [PATCH 0/9] jump label v6
Hi Jason,
I would appreciate if you could add pointers to the Immediate Values
benchmarks (or possibly some benchmark information altogether) and a
notice that some parts of the design are inspired from Immediate Values
in the jump label code.
I recognise that you did great work on getting jump label in shape both
at the Linux kernel and gcc level, but it's usually appropriate to
acknowledge prior work it is based on. Only then can I justify that
Immediate Values have been useful in the ...
| Apr 13, 9:56 am 2010 |
| David Miller | Re: [PATCH 0/4]: Respin local_irq_*_nmi() stuff.
I'm rescinding these patches for now, for two reasons:
1) The NMI annotations necessary to get everything working really gets
out of control.
2) I think I found a cheap way to do this in sparc64 specific code.
Thanks!
--
| Apr 12, 10:08 pm 2010 |
| David Miller | Re: [PATCH 0/4]: Respin local_irq_*_nmi() stuff.
From: Peter Zijlstra <peterz@infradead.org>
From 0c25e9e6cbe7b233bb91d14d0e2c258bf8e6ec83 Mon Sep 17 00:00:00 2001
From: David S. Miller <davem@davemloft.net>
Date: Mon, 12 Apr 2010 22:21:52 -0700
Subject: [PATCH 2/2] sparc64: Adjust __raw_local_irq_save() to cooperate in NMIs.
If we are in an NMI then doing a plain raw_local_irq_disable() will
write PIL_NORMAL_MAX into %pil, which is lower than PIL_NMI, and thus
we'll re-enable NMIs and recurse.
Doing a simple:
%pil = %pil | ...
| Apr 13, 12:56 am 2010 |
| David Miller | Re: [PATCH 0/4]: Respin local_irq_*_nmi() stuff.
From: Peter Zijlstra <peterz@infradead.org>
The only values we ever program into the %pil are 0, PIL_NORMAL_MAX
and PIL_NMI
Since PIL_NMI is the largest %pil value and all bits are set in it
(0xf), it doesn't matter what PIL_NORMAL_MAX actually is.
Yes this all deserves a comment, I'll add one, thanks for pointing
that out.
--
| Apr 13, 1:46 am 2010 |
| Peter Zijlstra | Re: [PATCH 0/4]: Respin local_irq_*_nmi() stuff.
Ah, ok..
Care to enlighten the curious amongst us as to what exactly you're doing
in the sparc code?
--
| Apr 13, 12:48 am 2010 |
| Peter Zijlstra | Re: [PATCH 0/4]: Respin local_irq_*_nmi() stuff.
Ah indeed, and without a conditional, very nice!
It does rely on the exact values of the PIL_levels, it might make sense
to note that in the comment, something like:
* Assumes: PIL_NMI | PIL_NORMAL_MAX == PIL_NMI.
Hmm, it also assumes %pil is never anything other than 0,
PIL_NORMAL_MAX, PIL_NMI, because if:
(%pil & 1) && (%pil != PIL_NMI)
then you'll end up disabling NMIs. Could something like that ever
happen?
--
| Apr 13, 1:37 am 2010 |
| Michal Simek | Re: [PATCH] microblaze: Quiet section mismatch warnings
Added to next branch. I also fix mismatch for MMU kernel
Thanks.
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
--
| Apr 13, 12:26 am 2010 |
| David Miller | Re: Linux 2.6.34-rc3 + CAN build problem
From: Eric Dumazet <eric.dumazet@gmail.com>
Applied, thanks Eric.
--
| Apr 13, 3:09 am 2010 |
| Zhang, Xiantao | RE: VM performance issue in KVM guests.
Even in overcommit case, if vcpu threads of one qemu are not scheduled or pulled to the same logical processor, the performance drop is tolerant like Xen's case today. But for KVM, it has to suffer from additional performance loss, since host's scheduler actively pulls these vcpu threads together.
Xiantao
--
| Apr 12, 5:50 pm 2010 |
| Avi Kivity | Re: VM performance issue in KVM guests.
Can you quantify this loss? Give examples of what happens?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 12, 11:46 pm 2010 |
| Marcin Slusarz | [PATCH] vga16fb, drm/nouveau: vga16fb->nouveau handoff
Patch below works for me, but I couldn't test the case when nvidia card is secondary.
---
From: Marcin Slusarz <marcin.slusarz@gmail.com>
Date: Tue, 13 Apr 2010 09:20:53 +0200
Subject: [PATCH] vga16fb, drm/nouveau: vga16fb->nouveau handoff
let vga16fb claim 0xA0000+0x10000 region as its aperture;
nouveau does not use it, so we need to lie to kick vga16fb,
but only if it's driving the primary card (by checking
IORESOURCE_ROM_SHADOW resource flag)
Signed-off-by: Marcin Slusarz ...
| Apr 13, 12:50 pm 2010 |
| Bernie Thompson | Re: staging: udlfb -- staging version does not work, ext ...
Hi Pavel,
Thanks again for reporting this.
Because neither X nor fbcon uses the char read/write path, this broke
a while ago and it didn't get noticed. I even highlighted this case
when trying to enumerate the different fbdev access models
(http://plugable.com/2010/01/30/linux-kernel-framebuffer-rendering-apis/
), yet still botched it.
But this is definitely something that should work, as it's a nice way
to drop a test image to hardware when perf doesn't matter.
A patch which restores ...
| Apr 12, 5:44 pm 2010 |
| Pekka Enberg | Re: [PATCH - V2] Fix missing of last user while dumping ...
I don't think that's correct. The "task_xstate" has alignof(struct
task_xstate) and there seems to be so GCC attributes that force
Yeah, sorry for dragging this issue on. I've been looking at the patch
but haven't been able to convince myself that it's correct. Nick, David,
Christoph, Matt, could you also please take a look at this?
Pekka
--
| Apr 13, 2:32 am 2010 |
| TAO HU | Re: [PATCH - V2] Fix missing of last user while dumping ...
Hi, Pekka Enberg
Actually we greped "kmem_cache_create" in whole kernel souce tree
(2.6.29 and 2.6.32).
Either "align" equal to "0" or flag SLAB_HWCACHE_ALIGN is used when
calling kmem_cache_create().
Seems all of arch's cache-line-size is multiple of 64-bit/8-byte
(sizeof(long long)) except arch-microblaze (4-byte).
The smallest (except arch-microblaze) cache-line-size is 2^4= 16-byte
as I can see.
So even considering possible sizeof(long long) == 128-bit/16-byte, it
is still safe to ...
| Apr 13, 12:05 am 2010 |
| Håkon Bugge | Re: [PATCH] ummunotify: Userspace support for MMU notifi ...
I am not sure I agree with the premises here. ptMalloc and malloc hooks are not related to the issue in my opinion. User space library calls do not change virtual to physical mapping, system calls do. The following sys calls might change virtual to physical mapping: munmap(), mremap(), sbrk(), madvice(). What we need is glibc to provide hooks for these 4 sys calls and the general syscall() when its argument is one of the four mentioned syscalls. To me, that is what is needed, and the ummunotify ...
| Apr 13, 1:29 am 2010 |
| Roland Dreier | Re: [PATCH] ummunotify: Userspace support for MMU notifi ...
> I am not sure I agree with the premises here. ptMalloc and malloc
> hooks are not related to the issue in my opinion. User space library
> calls do not change virtual to physical mapping, system calls do. The
> following sys calls might change virtual to physical mapping:
> munmap(), mremap(), sbrk(), madvice(). What we need is glibc to
> provide hooks for these 4 sys calls and the general syscall() when
> its argument is one of the four mentioned syscalls. To me, that is
> what is ...
| Apr 13, 10:57 am 2010 |
| Peter Zijlstra | Re: [PATCH] ummunotify: Userspace support for MMU notifi ...
Yeah, virtual<->physical maps can change through swapping, page
migration, memory compaction, huge-page aggregation (the latter two not
yet being upstream).
Even mlock() doesn't pin virtual<->physical maps.
--
| Apr 13, 11:02 am 2010 |
| Ian Munsie | Re: [PATCH 1/2] perf: Move arch specific code into separ ...
Hi Masami,
Thanks for the feedback
I was a little reluctant to do that when I first read your message
because it felt like adding autoconf stuff into the Makefile and the
code should already fail gracefully on architectures without the
register mappings. But, since the Makefile already has some autoconf
like magic and it would make the code cleaner, I'll play with the idea a
Nice catch (oops)
Cheers,
-Ian
--
| Apr 13, 1:44 am 2010 |
| Marcelo Tosatti | Re: [PATCH 3/6] KVM MMU: optimize/cleanup for marking pa ...
My point is that there is no point in optimizing something unless its
performance sensitive. And as i recall, mmu_unsync_walk was much more
sensitive performance wise than parent walking. Actually, gfn_to_memslot
seems more important since its also noticeable on EPT/NPT hosts.
--
| Apr 13, 8:01 am 2010 |
| Avi Kivity | Re: [PATCH 4/6] KVM MMU: optimize for writing cr4
One path is to revert this patch. The other is to restore the
optimization that relies on it. I'm not sure which is best.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 12, 11:42 pm 2010 |
| Avi Kivity | Re: [PATCH 3/6] KVM MMU: optimize/cleanup for marking pa ...
There is also the advantage of code size reduction.
--
error compiling committee.c: too many arguments to function
--
| Apr 13, 4:58 am 2010 |
| Marcelo Tosatti | Re: [PATCH 2/6] KVM MMU: fix kvm_mmu_zap_page() and its ...
Oh i see. I think its safer to check for list_empty then to rely on
proper accounting there, like __kvm_mmu_free_some_pages does.
--
| Apr 13, 7:59 am 2010 |
| Xiao Guangrong | Re: [PATCH 3/6] KVM MMU: optimize/cleanup for marking pa ...
Actually, i not run benchmarks to contrast the performance before this patch
This patch avoids walk all parents and i think this overload is really unnecessary.
It has other tricks in this codepath but i not noticed? :-)
Thanks,
Xiao
--
| Apr 12, 6:53 pm 2010 |
| Xiao Guangrong | Re: [PATCH 2/6] KVM MMU: fix kvm_mmu_zap_page() and its ...
I think mmu_zap_unsync_children() should return the number of zapped pages then we
can adjust the number of free pages in kvm_mmu_change_mmu_pages(), but pages.nr no
only includes the unsync/zapped pages but also includes their parents.
Thanks,
Xiao
--
| Apr 12, 6:34 pm 2010 |
| Xiao Guangrong | Re: [PATCH 4/6] KVM MMU: optimize for writing cr4
I usually use 'get blame' to look into source, and not noticed reverted
patches, i'll pay more attention on those.
Below code still confused me:
| vcpu->arch.mmu.base_role.cr4_pge = (cr4& X86_CR4_PGE)&&!tdp_enabled;
And i found the commit 87778d60ee:
| KVM: MMU: Segregate mmu pages created with different cr4.pge settings
|
| Don't allow a vcpu with cr4.pge cleared to use a shadow page created with
| cr4.pge set; this might cause a cr3 switch not to sync ptes that ...
| Apr 12, 8:07 pm 2010 |
| Cong Wang | Re: [Patch 3/3] net: reserve ports for applications usin ...
Thanks for testing!
How about:
+ if (!ret && inet_is_reserved_local_port(port))
+ ret = -EBUSY;
? So that it will break the loop and return error.
--
| Apr 13, 12:13 am 2010 |
| Alexey Dobriyan | Re: [Patch 1/3] sysctl: refactor integer handling proc code
ULONG_MAX is not 22 digits always.
The fix is to not rely on simple_strtoul()
I guess it's time to finally remove it. :-(
Also, it's better to copy_from user stuff once.
A what?
--
| Apr 13, 4:18 am 2010 |
| Tetsuo Handa | Re: [Patch 3/3] net: reserve ports for applications usin ...
I think above part is wrong. Below program
--------------------
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/idr.h>
static DEFINE_IDR(idr);
static int idr_demo_init(void)
{
int next_port = 65530;
int port = 0;
int ret = -EINTR;
while (!signal_pending(current)) {
msleep(1000);
ret = idr_get_new_above(&idr, NULL, next_port, &port);
printk(KERN_INFO "idr_get_new_above() = %d\n", ret);
if (!ret) {
/* Emulate inet_is_reserved_local_port(port) = true ...
| Apr 12, 6:21 pm 2010 |
| Cong Wang | Re: [Patch 1/3] sysctl: refactor integer handling proc code
It seems that all proc code assumes that the input buffer will
Hmm, right, it should be memchr(v, c, len).
Thanks!
--
| Apr 13, 12:35 am 2010 |
| Cong Wang | Re: [Patch 3/3] net: reserve ports for applications usin ...
Or use the similar trick:
int tries = 10;
...
if(!ret && inet_is_reserved_local_port(port)) {
if (tries--)
ret = -EAGAIN;
else
ret = -EBUSY;
}
Any comments?
--
| Apr 13, 1:48 am 2010 |
| Tetsuo Handa | Re: [Patch 3/3] net: reserve ports for applications usin ...
Hello.
Adding Sean Hefty and Roland Dreier as drivers/infiniband/core/cma.c maintainer.
I don't like above change. Above change makes local port assignment from
"likely-succeed" (succeeds if one port is available from thousands of ports) to
"unlikely-succeed" (fail if randomly chosen port is already in use).
We should repeat for all ranges specified in /proc/sys/net/ipv4/ip_local_port_range .
cma_alloc_any_port() and cma_alloc_port() are almost identical.
Thus, I think we can call ...
| Apr 13, 6:07 am 2010 |
| Sean Hefty | RE: [Patch 3/3] net: reserve ports for applications usin ...
It looks correct to me. I didn't test the patch series, but if I comment out
the call to inet_is_reserved_local_port() in the provided below, the changes
worked fine for me.
Acked-by: Sean Hefty <sean.hefty@intel.com>
--
| Apr 13, 9:32 am 2010 |
| Christoph Hellwig | Re: [PATCH 1/4] blkdev: pass gfp_mask and flags to blkde ...
Looks okay to me, but as mention in the other review I would introduce
the comment flags first and then add the flags to blkdev_issue_flush,
not the other way around.
--
| Apr 13, 11:08 am 2010 |
| Christoph Hellwig | Re: [PATCH 3/4] blkdev: add blkdev_issue helper functions
If you create a new file just for discard I would call it blk-discard.c.
But I can't really be bothered too much about the placement of this two
functions, so do whatever is fine with you and Jens.
--
| Apr 13, 11:06 am 2010 |
| Christoph Hellwig | Re: [PATCH 4/4] patch blk-add-zeroout-helper.patch
Looks okayish to me, but it really needs:
a) a useful patch description
b) patches that introduce actual users
Also why does the function have a __ prefix in the name?
--
| Apr 13, 11:07 am 2010 |
| Christoph Hellwig | Re: [PATCH 2/4] blkdev: generalize flags for blkdev_issu ...
Looks good in general. But I would re-order this to be patch 1 so you
can avoid introducing flags for blkdev_issue_flush just to replace them
in the next one.
--
| Apr 13, 11:05 am 2010 |
| Christoph Hellwig | Re: [PATCH 1/4] blkdev: pass gfp_mask and flags to blkde ...
This is a very awkward stayle to define flags. There really should
be no need for the __-prefixed version. While you're using them for
test/set_bit and co there's no reason to use these atomic bitops here.
--
| Apr 13, 11:10 am 2010 |
| Steve Wise | Re: Socket Direct Protocol: help (2)
Chien, does the NE020 support FMRs? I looked at the nes ofed-1.5 code
and it appears to do nothing in the map_phys_fmr functions.
--
| Apr 13, 9:39 am 2010 |
| Tung, Chien Tin | RE: Socket Direct Protocol: help (2)
NE020 supports 4 SGEs. I don't know enough about SDP to know why it is
using this calculation for # of send_sge:
This is not a firmware problem.
Chien
--
| Apr 13, 9:28 am 2010 |
| Tung, Chien Tin | RE: Socket Direct Protocol: help (2)
We never implemented map_phys_fmr. Is it relevant to the # of SGEs?
Chien
--
| Apr 13, 1:02 pm 2010 |
| Steve Wise | Re: Socket Direct Protocol: help (2)
No, but SDP uses FMRs. I don't think it will run without FMR support.
--
| Apr 13, 1:20 pm 2010 |
| Tung, Chien Tin | RE: Socket Direct Protocol: help (2)
Good to know. Thanks.
Chien
--
| Apr 13, 1:22 pm 2010 |
| Stefan Agner | Re: I attached a test module to reproduce this bug. Does ...
Hi Thomas,
In fact this was my intended Subject line... The current subject line was a
copy and paste accident! Due to the fact that my online mailer eats mails
Removing this already solved the bug message.
I fixed all other bugs as well and attached the updated file.
Thanks a lot
--
Stefan Agner
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
| Apr 12, 11:56 pm 2010 |
| Jan Blunck | Re: [PATCH] JFS: Free sbi memory in error path
Of course. Thanks Andrew.
Regards,
Jan
--
Jan Blunck <jblunck@suse.de>
--
| Apr 13, 12:58 am 2010 |
| Daniel Mack | Re: USB transfer_buffer allocations on 64bit systems
Some more ideas to nail this down would be to boot the machine with
mem=4096M and mem=2048M to see whether this makes any difference. Also,
I think it would be interesting to know whether the patch below helps.
As the real reason seems entirely obfuscated, there's unfortunately need
for some trial error approach. Pedro, as you're the only one who can
actually reproduce the problem, do you see any chance to do that?
Thanks,
Daniel
diff --git a/sound/usb/caiaq/audio.c ...
| Apr 13, 11:22 am 2010 |
| Pedro Ribeiro | Re: USB transfer_buffer allocations on 64bit systems
Good news, I can't trigger the interference with either:
- mem=2048m
- mem=4096m
- your patch
Any idea why is mem=4096m different than a regular boot since I have 4GB anyway?
Regards,
Pedro
--
| Apr 13, 4:46 pm 2010 |
| Clemens Ladisch | Re: Accessing peripheral register directly from userspace
This means that userspace could access any register in the same page.
Usually this is done only with read-only pages and with devices that
are designed for this so that all accessible registers are 'safe'.
Regards,
Clemens
--
| Apr 13, 4:36 am 2010 |
| Ingo Molnar | Re: [PATCH -tip v3 00/10] perf-probe updates - data-stru ...
Sure, feel free to pull it - you are doing many other tools/perf/ changes
which might interact.
Ingo
--
| Apr 13, 2:14 am 2010 |
| Konrad Rzeszutek Wilk | Re: [PATCH 2/2] RFC: iscsi ibft: convert iscsi_ibft modu ...
I've only two comments:
and this one as well?
--
| Apr 12, 7:21 pm 2010 |
| Mike Christie | Re: [PATCH 2/2] RFC: iscsi ibft: convert iscsi_ibft modu ...
I did not. They should be S_IRUGO. Do you want me to resubmit the
patches or are you just going to edit those two lines if you merge them?
--
| Apr 12, 7:32 pm 2010 |
| Konrad Rzeszutek Wilk | Re: [PATCH 2/2] RFC: iscsi ibft: convert iscsi_ibft modu ...
No need to resend them (unless Peter eyes found something I missed).
--
| Apr 12, 7:36 pm 2010 |
| Konrad Rzeszutek Wilk | Re: [PATCH 1/2] RFC: iscsi ibft: separate ibft parsing f ...
Looks good to my eyes.
Let me run it tomorrow through my regression bucket before I stick on the git
tree.
--
| Apr 12, 7:20 pm 2010 |
| Divyesh Shah | Re: [PATCH][v2] Changes to more io-controller stats patc ...
Ahh.. I see this now with CONFIG_DEBUG_CFQ_IOSCHED not set.
blkiocg_set_empty_start_time() should be within the #ifdef
block/cfq-iosched.c: In function 'cfq_forced_dispatch':
block/cfq-iosched.c:2234: error: too few arguments to function
'cfq_slice_expired'
Another compile error after fixing this was due to the merge from
mainline. cfq_slice_expired() now has an extra argument. Fixed that
too. Will send a patch with the 2 fixes in a bit. Sorry for the
--
| Apr 13, 2:28 pm 2010 |
| Divyesh Shah | Re: [PATCH][v2] Changes to more io-controller stats patc ...
Hi Jens,
If this looks ok to you, can you please queue it up? Btw, after
Gui's patches there is 1 merge conflict in your for-2.6.35 branch when
applying this patch but it seems pretty straightforward to resolve. In
case you'd prefer a clean patch that takes care of the merge conflict
please let me know.
Thanks,
Divyesh
--
| Apr 13, 10:26 am 2010 |
| Jens Axboe | Re: [PATCH][v2] Changes to more io-controller stats patc ...
I hand applied that one hunk, and committed it.
But...
block/blk-cgroup.c:271: error: redefinition of ?blkiocg_set_start_empty_time?
block/blk-cgroup.h:208: note: previous definition of ?blkiocg_set_start_empty_time? was here
block/blk-cgroup.c: In function ?blkiocg_set_start_empty_time?:
block/blk-cgroup.c:291: error: implicit declaration of function ?blkio_blkg_empty?
block/blk-cgroup.c:292: error: ?struct blkio_group_stats? has no member named ?start_empty_time?
block/blk-cgroup.c:293: ...
| Apr 13, 11:15 am 2010 |
| Zach Brown | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
> What about Zach's simpler wakeup API?
It's making slow progress in the background as a longer-term experiment.
http://oss.oracle.com/~zab/wake-many/
That URL still has an API description, patches, and little test
utilities for the simple first draft.
- z
--
| Apr 13, 11:24 am 2010 |
| Nick Piggin | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Yeah, I don't think SAP did that, significantly to matter. Possibly
Yep, I'm not against it. "industry standard benchmark" numbers would
be great.
I do think we need to be really careful with semantics though. The
API's been around for long enough that it is going to have been
(ab)used in every way possible :)
--
| Apr 13, 1:05 pm 2010 |
| Manfred Spraul | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Hi Chris,
Have you thought about odd corner cases:
Nick noticed the last time that it is possible to wait for arbitrary values:
in one semop:
- decrease semaphore 5 by 10
- wait until semaphore 5 is 0
Does sorting preserve the behavior?
--
| Apr 13, 10:15 am 2010 |
| Chris Mason | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Do you mean within a single sop array doing all three of these? I don't
know if the sort is going to leave the three operations on semaphore 5
in the same order (it probably won't).
But I could change that by having it include the slot in the original
sop array in the sorting. That way if we have duplicate semnums in the
array, they will end up in the same position relative to each other in
the sorted result.
(ewwww ;)
-chris
--
| Apr 13, 10:39 am 2010 |
| Nick Piggin | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
I had a bit of a hack at doing per-semaphore stuff when I was looking
at the first optimization, but it was tricky to make it work.
The other thing I don't know if your patch gets right is requeueing on
of the operations. When you requeue from one list to another, then you
seem to lose ordering with other pending operations, so that would
seem to break the API as well (can't remember if the API strictly
mandates FIFO, but anyway it can open up starvation cases).
I was looking at doing a ...
| Apr 13, 11:09 am 2010 |
| Chris Mason | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
I don't see anything in the docs about the FIFO order. I could add an
extra sort on sequence number pretty easily, but is the starvation case
Yeah, that's why my patches include code to handle userland sending
duplicate semids. Zach's simpler API is cooking too, but if I can get
this done without insane complexity it helps with more than just the
post/wait oracle workload.
-chris
--
| Apr 13, 11:19 am 2010 |
| Nick Piggin | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Yes, because it's not just a theoretical livelock, it can be basically
a certainty, given the right pattern of semops.
You could have two mostly-independent groups of processes, each taking
and releasing a different sem, which are always contended (eg. if it is
being used for a producer-consumer type situation, or even just mutual
exclusion with high contention).
Then you could have some overall management process for example which
Iam worried about complexity and slowing other cases, ...
| Apr 13, 11:57 am 2010 |
| Chris Mason | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Sure, I'd hope that your benchmark from last time around is faster now.
-chris
--
| Apr 13, 12:01 pm 2010 |
| Nick Piggin | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
I didn't actually reproduce it here, I think it was a customer or
partner workload. But SAP only seemed to have one contended semnum in
its array, and it was being operated on with "simple" semops (so that's
about as far as the patches went).
I didn't notice anything that should make that go faster?
Yes, with such a workload, using semops is basically legacy and simple
mutexes should work better. So I'm not outright against improving sysv
sem performance for more complex cases where ...
| Apr 13, 12:25 pm 2010 |
| Chris Mason | Re: [PATCH 1/2] ipc semaphores: reduce ipc_lock contenti ...
Detecting the dups just keeps me from deadlocking. I'm locking each
individual semaphore in sequence, so if userland does something strange
and sends two updates to the same semaphore, the code detects that and
Since I'm avoiding the ipc lock while operating on the array, it'll help
any workload that hits on two or more semaphores in the array at
I'm not in a hurry to overhaul a part of the kernel that has been stable
for a long time. But it really needs some love I think. I'll have ...
| Apr 13, 12:38 pm 2010 |
| FUJITA Tomonori | Re: [PATCH] ARM: dmabounce: fix partial sync in dma_sync ...
On Mon, 12 Apr 2010 20:35:36 +0100
ok, here's the fixed patch.
=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] ARM: dmabounce: fix partial sync in dma_sync_single_* API
Some network drivers do a partial sync with
dma_sync_single_for_{device|cpu}. The dma_addr argument might not be
the same as one as passed into the mapping API.
This adds some tricks to find_safe_buffer() for
dma_sync_single_for_{device|cpu}.
Signed-off-by: FUJITA Tomonori ...
| Apr 12, 10:27 pm 2010 |
| Michal Simek | Re: [PATCH] microblaze: speedup for word-aligned memcpys
I added this patch to next branch and I will keep it there for now.
1. I agree that we need several patches like this.
2. The improvement could be there and likely it is but 3% improvement
could be caused for different reason.
3. There is necessary to measure it on several hw design and cache
configurations to be sure that your expectation is correct.
4. The best will be to monitoring cache behavior but currently there is
no any tool which could easily help us with it.
I will talk to ...
| Apr 13, 1:07 am 2010 |
| Jan Kara | Re: [PATCH 4/5] ext2: Move ext2_write_super() out of ext ...
^^ Should be |=, shouldn't it?
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Apr 13, 10:53 am 2010 |
| Arnd Bergmann | Re: [PATCH 0/5] ext2: Preparation to remove BKL
The pushdown can be in a separate tree that can be merged independently,
just the final patch removing it in do_new_mount needs to wait
for everything else to get merged first. We have some other patches,
in particular the one that makes CONFIG_BKL modular that have to
wait for other patches and should probably just be applied separately
rather than merged from a bisectable git tree.
Arnd
--
| Apr 13, 2:31 am 2010 |
| Frederic Weisbecker | Re: [PATCH 0/5] ext2: Preparation to remove BKL
Ok, no problem then.
Thanks.
--
| Apr 13, 1:12 pm 2010 |
| Jan Kara | Re: [PATCH 5/5] ext2: Add ext2_sb_info s_lock spinlock
Looking at this - probably we should protect by this lock also setting of
a feature in ext2_xattr_update_super_block(). It's an unrelated bugfix but
Why exactly do you have in the above? Probably because of consistent
view of mount options? You should comment about that in the changelo and
Could you please fold in ext2_commit_super? It's used only here and it's
name looks a bit scary to be called under the spinlock...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Apr 13, 12:09 pm 2010 |
| Andrew Morton | Re: [PATCH] Add USHRT_MAX, SHRT_MAX, SHRT_MIN
On Wed, 14 Apr 2010 00:52:06 +0300
The title only half-describes the patch and had me in a panic. I
rewrote it to
kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT_MAX and SHRT_MIN
--
| Apr 13, 12:42 pm 2010 |
| Alexey Dobriyan | [PATCH] Add USHRT_MAX, SHRT_MAX, SHRT_MIN
* C99 knows about USHRT_MAX/SHRT_MAX/SHRT_MIN, not USHORT_MAX/SHORT_MAX/SHORT_MIN.
* Make SHRT_MIN of type s16, not int, for consistency.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/scsi/fcoe/fcoe.c | 2 +-
drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +-
drivers/scsi/mpt2sas/mpt2sas_config.c | 2 +-
drivers/vhost/vhost.c | 2 +-
fs/nfs/super.c | 4 ++--
fs/nfsd/nfsctl.c | 4 ++--
...
| Apr 13, 2:52 pm 2010 |
| Amerigo Wang | Re: [PATCH] Add USHRT_MAX, SHRT_MAX, SHRT_MIN
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
--
| Apr 12, 10:49 pm 2010 |
| Mathieu Desnoyers | Re: TRACE_EVENT() declarations belong to include/trace/
OK, I see. How about arch_irq_entry/exit() ?
This way, if we need to do something similar on another arch at the
architecture-level, we can use the same names.
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Apr 12, 5:27 pm 2010 |
| Linus Walleij | Re: [PATCH 1/3] MFD: renamed ab3100.h to abx500.h
Don't think so, the 4500 is not related to the 3100, 3550 and 5500:s,
so they don't have much in common, whereas the latter share a lot of
characteristics. It's better if it stays where it is I think.
abx500 was the best name we could come up with that wasn't too
short, we contemplated abx.h but it was too short, abxxx0 looks
silly and so on. So abx500 denotes our largest family of mixsig ASICs
which has a lot in common, i.e. everything except the
AB8500/AB4500/STw4500, hope it's not too ...
| Apr 13, 8:14 am 2010 |
| srinidhi | Re: [PATCH 1/3] MFD: renamed ab3100.h to abx500.h
Linus,
So do you expect the existing ab4500 also to be merged into abx500?
regards,
Srinidhi
--
| Apr 12, 10:30 pm 2010 |
| Dave Chinner | Re: [PATCH] mm: disallow direct reclaim page writeback
It hasn't grown in the last 2 years after the last major diet where
all the fat was trimmed from it in the last round of the i386 4k
stack vs XFS saga. it seems that everything else around XFS has
Ok, I see that now - I missed the second call to __isolate_lru_pages()
Agreed, that was why I was kind of surprised not to find it was
True, but without know how to test and measure such things I can't
What do I measure/observe/record that is meaningful?
Cheers,
Dave.
--
Dave ...
| Apr 13, 7:36 am 2010 |
| Dave Chinner | [PATCH] mm: disallow direct reclaim page writeback
From: Dave Chinner <dchinner@redhat.com>
When we enter direct reclaim we may have used an arbitrary amount of stack
space, and hence enterring the filesystem to do writeback can then lead to
stack overruns. This problem was recently encountered x86_64 systems with
8k stacks running XFS with simple storage configurations.
Writeback from direct reclaim also adversely affects background writeback. The
background flusher threads should already be taking care of cleaning dirty
pages, and direct ...
| Apr 12, 5:17 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] mm: disallow direct reclaim page writeback
Ummm..
This patch is harder to ack. This patch's pros/cons seems
Pros:
1) prevent XFS stack overflow
2) improve io workload performance
Cons:
3) TOTALLY kill lumpy reclaim (i.e. high order allocation)
So, If we only need to consider io workload this is no downside. but
it can't.
I think (1) is XFS issue. XFS should care it itself. but (2) is really
VM issue. Now our VM makes too agressive pageout() and decrease io
throughput. I've heard this issue from Chris (cc to him). I'd ...
| Apr 13, 1:31 am 2010 |
| Mel Gorman | Re: [PATCH] mm: disallow direct reclaim page writeback
It's already known that the VM requesting specific pages be cleaned and
reclaimed is a bad IO pattern but unfortunately it is still required by
lumpy reclaim. This change would appear to break that although I haven't
tested it to be 100% sure.
Even without high-order considerations, this patch would appear to make
fairly large changes to how direct reclaim behaves. It would no longer
wait on page writeback for example so direct reclaim will return sooner
than it did potentially going OOM if ...
| Apr 13, 2:58 am 2010 |
| Dave Chinner | Re: [PATCH] mm: disallow direct reclaim page writeback
The filesystem is irrelevant, IMO.
The traces from the reporter showed that we've got close to a 2k
stack footprint for memory allocation to direct reclaim and then we
can put the entire writeback path on top of that. This is roughly
3.5k for XFS, and then depending on the storage subsystem
configuration and transport can be another 2k of stack needed below
XFS.
IOWs, if we completely ignore the filesystem stack usage, there's
still up to 4k of stack needed in the direct reclaim path. ...
| Apr 13, 3:29 am 2010 |
| Dave Chinner | Re: [PATCH] mm: disallow direct reclaim page writeback
AFAICT it still waits for pages under writeback in exactly the same manner
it does now. shrink_page_list() does the following completely
separately to the sc->may_writepage flag:
666 may_enter_fs = (sc->gfp_mask & __GFP_FS) ||
667 (PageSwapCache(page) && (sc->gfp_mask & __GFP_IO));
668
669 if (PageWriteback(page)) {
670 /*
671 * Synchronous reclaim is performed in two passes,
...
| Apr 13, 4:19 am 2010 |
| KOSAKI Motohiro | Re: [PATCH] mm: disallow direct reclaim page writeback
Thanks explanation. I haven't noticed direct reclaim consume
2k stack. I'll investigate it and try diet it.
Well, you seems continue to discuss io workload. I don't disagree
such point.
example, If only order-0 reclaim skip pageout(), we will get the above
lumpy reclaim is for allocation high order page. then, it not only
reclaim LRU head page, but also its PFN neighborhood. PFN neighborhood
is often newly page and still dirty. then we enfoce pageout cleaning
and discard it.
When ...
| Apr 13, 4:39 am 2010 |
| Mel Gorman | Re: [PATCH] mm: disallow direct reclaim page writeback
Depends. For raw effectiveness, I run a series of performance-related
benchmarks with a final test that
o Starts a number of parallel compiles that in combination are 1.25 times
of physical memory in total size
o Sleep three minutes
o Start allocating huge pages recording the latency required for each one
o Record overall success rate and graph latency over time
Right, so it'll still wait on writeback but won't kick it off. That
would still be a fairly significant change in behaviour ...
| Apr 13, 12:34 pm 2010 |
| Chris Mason | Re: [PATCH] mm: disallow direct reclaim page writeback
So, I've been reading along, nodding my head to Dave's side of things
because seeks are evil and direct reclaim makes seeks. I'd really loev
for direct reclaim to somehow trigger writepages on large chunks instead
of doing page by page spatters of IO to the drive.
But, somewhere along the line I overlooked the part of Dave's stack trace
that said:
43) 1568 912 do_select+0x3d6/0x700
Huh, 912 bytes...for select, really? From poll.h:
/* ~832 bytes of stack space used max in ...
| Apr 13, 1:20 pm 2010 |
| Dave Chinner | [PATCH 1/2] mm: add context argument to shrinker callback
From: Dave Chinner <dchinner@redhat.com>
The current shrinker implementation requires the registered callback
to have global state to work from. This makes it difficult to shrink
caches that are not global (e.g. per-filesystem caches). Add a
context argument to the shrinker callback so that it can easily be
used in such situations.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
arch/x86/kvm/mmu.c | 2 +-
drivers/gpu/drm/i915/i915_gem.c | 2 +-
fs/dcache.c ...
| Apr 12, 5:24 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH 1/2] mm: add context argument to shrinker callback
Looks good about this mm part.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
off-topic: shrink_slab() was introduced for page/[id]-cache scan balancing
at first. now it still have hardcorded shrinker->nr calculation for slab
although now lots another subsystem using it. shrinker->seeks seems no
intuitive knob. probably we should try generalization it in future. but
it is another story. I think this patch provide good first step.
delta = (4 * scanned) / ...
| Apr 13, 1:17 am 2010 |
| Dave Chinner | [PATCH 2/2] xfs: add a shrinker to background inode reclaim
From: Dave Chinner <dchinner@redhat.com>
On low memory boxes or those with highmem, kernel can OOM when the application
scans large numbers of inodes. In this case, the XFS background inode reclaim
scan run by xfssyncd does not run soon enough to free clean, reclaimable
inodes. Add a per-filesystem shrinker to XFS to run inode reclaim so that it is
expedited when memory is low and hence prevent OOM conditions from being hit.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
...
| Apr 12, 5:24 pm 2010 |
| Dave Chinner | [PATCH 0/2] Context sensitive memory shrinker support
Recently I made the XFS inode reclaim operate entirely in the background for
both clean and dirty inodes as it simplified the code a lot and is somewhat
more efficient. Unfortunately, there are some workloads where the
background reclaim is not freeing memory fast enough, so the reclaim needs an
extra push when memory is low.
The inode caches are per-filesystem on XFS, so to make effective use of the
shrinker callbacks when memory is low, we need a context to be passed through
the shrinker to ...
| Apr 12, 5:24 pm 2010 |
| Linus Torvalds | Linux 2.6.34-rc4
It's been two weeks rather than the usual one, because we've been hunting
a really annoying VM regression that not a lot of people seem to have
seen, but I didn't want to release an -rc4 with it. So we had the choice
of either reverting all the anon-vma scalability improvements, or finding
out exactly what caused the regression and fixing it.
And we got pretty close to the point where I was going to just revert it
all.
Absolutely _huge_ kudos to Borislav Petkov who reported the ...
| Apr 12, 7:16 pm 2010 |
| Justin P. mattock | Re: Linux 2.6.34-rc4
I noticed the vm discussion, but had no idea what was going on.
In any case that's pretty cool to see(read). Love to see the hard
work and collaboration to fix a problem.
cheers,
Justin P. Mattock
--
| Apr 12, 7:42 pm 2010 |
| wzt.wzt | [PATCH] Kconfig: Make config Filter access to /dev/mem d ...
Recently, most company start use >=2.6.31 kernels to replace redhat kernels.
But the config "Filter access to /dev/mem" is "default n", that allows kernel
rootkit using /dev/mem again. it could access all kernel memory default. Most
administrator don't known the "Filter access to /dev/mem" is "defult N", when
he compiles the kernel, it's easily to be attacked by rootkit.
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
---
arch/x86/Kconfig.debug | 3 ++-
...
| Apr 12, 7:52 pm 2010 |
| Daisuke Nishimura | [RFC][BUGFIX][PATCH] memcg: fix underflow of mapped_file stat
Hi.
When I was testing page migration, I found underflow problem of "mapped_file" field
in memory.stat. This is a fix for the problem.
This patch is based on mmotm-2010-04-05-16-09, and IIUC it conflicts with Mel's
compaction patches, so I send it as RFC for now. After next mmotm, which will
include those patches, I'll update and resend this patch.
===
From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
page_add_file_rmap(), which can be called from remove_migration_ptes(), is
assumed ...
| Apr 12, 9:42 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [RFC][BUGFIX][PATCH] memcg: fix underflow of mapped_ ...
On Tue, 13 Apr 2010 13:42:07 +0900
Nice catch. but...I want to make all kind of complicated things under
prepare/end migration. (And I want to avoid changes in migrate.c...)
Considering some racy condistions, I wonder memcg_update_file_mapped() itself
still need fixes..
So, how about this ? We already added FILE_MAPPED flags, then, make use of it.
==
At migrating mapped file, events happens in following sequence.
1. allocate a new page.
2. get memcg of an old page.
3. charge ...
| Apr 12, 11:14 pm 2010 |
| Balbir Singh | Re: [RFC][BUGFIX][PATCH] memcg: fix underflow of mapped_ ...
Why do we need to pass mem, won't try_get_mem_cgroup_from_page() help?
--
Three Cheers,
Balbir
--
| Apr 12, 11:45 pm 2010 |
| Luis R. Rodriguez | Compat-wireless for 2.6.34 - 802.11 and bluetooth backported
We're up to 2.6.34-rc4 upstream but we hadn't released a respective
compat-wireless stable [1] tarball yet. I finally got some time so
just posted one up [2], this gives us the 2.6.34-rc4 wireless
subsystem, bluetooth subsystem and new wireless/bluetooth drivers
compilable and installed on older kernels. Please report any issues
ASAP. For details on changes you can refer to the
ChangeLog-2.6.34-rc4-wireless [3].
I only did a quick build test against 2.6.31 and it seems to compile
fine :), more ...
| Apr 12, 9:51 pm 2010 |
| Luis R. Rodriguez | Re: Compat-wireless for 2.6.34 - 802.11 and bluetooth ba ...
Also just updated the tarballs for 2.6.32.11 and 2.6.33.2, and removed
the 2.6.30 and 2.6.31 tarballs since not even kernel.org supports
those anymore.
Luis
--
| Apr 12, 10:35 pm 2010 |
| Stephen Rothwell | linux-next: build failure after merge of the bkl-procfs tree
Hi "Frédéric,
After merging the bkl-procfs tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
net/sunrpc/cache.c: In function 'cache_ioctl_procfs':
net/sunrpc/cache.c:1355: error: implicit declaration of function 'lock_kernel'
net/sunrpc/cache.c:1359: error: implicit declaration of function 'unlock_kernel'
Caused by commit 64ef834551d7696f54553d7608eba80a5a800e77 ("procfs: Push
down the bkl from ioctl"). Forgot to include linux/smp_lock.h? ...
| Apr 12, 10:27 pm 2010 |
| Frederic Weisbecker | [PATCH] sunrpc: Include missing smp_lock.h
Sorry about this.
I have pushed the following fix in the bkl/procfs branch.
Thanks.
---
Author: Frederic Weisbecker <fweisbec@gmail.com>
Date: Tue Apr 13 22:46:36 2010 +0200
sunrpc: Include missing smp_lock.h
Now that cache_ioctl_procfs() calls the bkl explicitly, we need to
include the relevant header as well.
This fixes the following build error:
net/sunrpc/cache.c: In function 'cache_ioctl_procfs':
net/sunrpc/cache.c:1355: error: ...
| Apr 13, 1:54 pm 2010 |
| Gustavo Silva | [PATCH] Staging: comedi: fix macros do - while loop and ...
This is a patch to the comedidev.h file that fixes up two macros do - while
loop and a space before tabs warnings found by the checkpatch.pl tool.
Signed-off-by: Gustavo Silva <silvagustavo@users.sourceforge.net>
---
drivers/staging/comedi/comedidev.h | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index ebdccfd..1b0d84b 100644
--- a/drivers/staging/comedi/comedidev.h
+++ ...
| Apr 12, 11:13 pm 2010 |
| Stephen Rothwell | linux-next: build warnings after merge of the final tree ...
Hi James,
After merging the final tree, today's linux-next build (powerpc
allyesconfig) produced these warnings:
drivers/scsi/bfa/bfa_ioc.c: In function 'bfa_ioc_msgget':
drivers/scsi/bfa/bfa_ioc.c:1331: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function 'bfa_ioc_ct_notify_hbfail':
drivers/scsi/bfa/bfa_ioc_ct.c:177: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c:180: warning: value computed is not used
drivers/scsi/bfa/bfa_ioc_ct.c: In function ...
| Apr 12, 11:21 pm 2010 |
| Jing Huang | RE: linux-next: build warnings after merge of the final ...
This is indeed introduced by this commit. I have reproduced the issue in a powerpc machine, and I will provide a fix soon.
Jing
-----Original Message-----
From: Stephen Rothwell [mailto:sfr@canb.auug.org.au]
Sent: Monday, April 12, 2010 11:21 PM
To: James Bottomley
Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; Jing Huang
Subject: linux-next: build warnings after merge of the final tree (scsi tree related)
Hi James,
After merging the final tree, today's linux-next build ...
| Apr 13, 12:30 am 2010 |
| Randy Dunlap | [PATCH -next] eeepc-wmi: depends on INPUT_SPARSEKMAP
From: Randy Dunlap <randy.dunlap@oracle.com>
When EEEPC_WMI=y and INPUT_SPARSEKMAP=m, the build fails,
so make EEEPC_WMI depend on INPUT_SPARSEKMAP.
eeepc-wmi.c:(.text+0x28d1a9): undefined reference to `sparse_keymap_setup'
eeepc-wmi.c:(.text+0x28d1f9): undefined reference to `sparse_keymap_free'
eeepc-wmi.c:(.text+0x28d2e0): undefined reference to `sparse_keymap_report_event'
eeepc-wmi.c:(.init.text+0x17069): undefined reference to `sparse_keymap_free'
eeepc-wmi.c:(.exit.text+0x2bae): ...
| Apr 13, 9:45 am 2010 |
| Stephen Rothwell | linux-next: Tree for April 13
Hi all,
Changes since 20100412:
New trees: bkl-core
bkl-procfs
Removed tree: reiserfs-bkl (end of life - at maintainer's request)
Dropped trees: tmio-mmc (long unresolved conflicts and unable to fetch)
hwlat (at the maintainer's request)
bkl-procfs (build problem)
My fixes tree contains:
a patch for a pktcdvd build error from Arnd Bergmann
The v4l-dvb tree still has its build failure, so I used the version from
next-20100409.
The bkl-procfs tree gained a build failure, so I ...
| Apr 12, 11:34 pm 2010 |
| Dmitry Torokhov | Re: [PATCH -next] eeepc-wmi: depends on INPUT_SPARSEKMAP
"select INPUT_SPARSEKMAP" please - users should not be concerned about
such implementation details.
--
Dmitry
--
| Apr 13, 3:39 pm 2010 |
| Gui Jianfeng | [PATCH 2/2 V3] [RESEND] io-controller: Document for blki ...
Here is the document for blkio.weight_device
Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
---
Documentation/cgroups/blkio-controller.txt | 31 +++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/Documentation/cgroups/blkio-controller.txt b/Documentation/cgroups/blkio-controller.txt
index db054ea..a4ce8fe 100644
--- a/Documentation/cgroups/blkio-controller.txt
+++ ...
| Apr 13, 1:07 am 2010 |
| Gui Jianfeng | [PATCH 0/2 V3] [RESEND] io-controller: add per device we ...
Hi
This patchset adds a new interface "weight_device" for blkio controller,
and has already rebased to block tree for-2.6.35 branch.
Thanks,
Gui
--
| Apr 13, 12:59 am 2010 |
| Jens Axboe | Re: [PATCH 0/2 V3] [RESEND] io-controller: add per devic ...
Applied
--
Jens Axboe
--
| Apr 13, 3:02 am 2010 |
| Gui Jianfeng | [PATCH 1/2 V3] [RESEND] io-controller: Add a new interfa ...
Currently, IO Controller makes use of blkio.weight to assign weight for
all devices. Here a new user interface "blkio.weight_device" is introduced to
assign different weights for different devices. blkio.weight becomes the
default value for devices which are not configured by "blkio.weight_device"
You can use the following format to assigned specific weight for a given
device:
#echo "major:minor weight" > blkio.weight_device
major:minor represents device number.
And you can remove weight ...
| Apr 13, 1:05 am 2010 |
| Sylvestre Ledru | Usage of checkpatch.pl for other projects
Hello,
I saw the very interesting presentation of Greg at the last FOSDEM where
he explained how to write a patch of the kernel.
During his presentation, he presented the script checkpatch.pl which
checks the coding style of a patch / file.
For a while, I have been looking for such script which can check the
compliance of a source code against a coding policy.
Obviously, the coding style of my project is not exactly the same as he
Kernel one.
Therefor, I would like to know if there ...
| Apr 13, 1:35 am 2010 |
| Ian Munsie | [PATCH] perf: Fix endianness argument compatibility
From: Ian Munsie <imunsie@au.ibm.com>
Parsing an option from the command line with OPT_BOOLEAN on a bool data
type would not work on a big-endian machine due to the manner in which
the boolean was being cast into an int and incremented. For example,
running 'perf probe --list' on a PowerPC machine would fail to properly
set the list_events bool and would therefore print out the usage
information and terminate.
This patch makes OPT_BOOLEAN work as expected with a bool datatype. For
cases ...
| Apr 13, 1:37 am 2010 |
| David Miller | Re: [PATCH] perf: Fix endianness argument compatibility
From: "Ian Munsie" <imunsie@au1.ibm.com>
Thanks for finding and fixing this bug.
--
| Apr 13, 1:48 am 2010 |
| melwyn lobo | DMA Engine API usage
Hello Dan,
I have some doubts regarding DMA API usage on its clients for example
MMC, ALSA, USB etc.
I am going to take example of the ALSA framework. Audio data transfer
is initiated in soc_pcm_trigger(). This is called in an atomic
context,
with spinlock held and irqs disabled. Here most drivers enable data
transfer from the MSP peripheral to the audio codec via tx_submit
implementation
of the DMA engine driver. This enqueues the transaction in an active
list which calls for using ...
| Apr 13, 1:55 am 2010 |
| Florian Fainelli | Best way to do kernel only ldisc without user-space ldis ...
Hello,
I have a line discpline driver for a custom protocol over an UART. This driver
implements the following callbacks: open/close, receive_buf/write_wakeup.
So far, I have an ugly hack, which opens the /dev/tty<N> in the kernel, and
directly uses the f_op and unlocked_ioctl functions to do the ldisc number to
TTY device binding:
[snip]
struct file *f;
filp_open("/dev/ttyS1", 0, 0);
f->f_op->unlocked_ioctl(f, TCFLSH, 0x2);
memset(&tio, 0, sizeof(tio));
tio.c_cflag = ...
| Apr 13, 1:56 am 2010 |
| Michal Svoboda | SO_REUSEADDR with UDP (again)
Hello,
I found SO_REUSEADDR on UDP sockets to behave somewhat nasty. If you
create a UDP socket with that flag and bind it to a port, then anyone
doing the same later will "steal" your packets, ie.
1. process A binds to port 12345 with SO_REUSEADDR, packets to that port
go to process A
2. process B binds to port 12345 with SO_REUSEADDR, packets to that port
now go to process B
3. A dies, fires up again, packets go back to A
4. A dies, does not fire up, packets go to B, as if they were ...
| Apr 13, 1:30 am 2010 |
| David Miller | Re: SO_REUSEADDR with UDP (again)
The networking developers generally do not listen to linux-kernel
To reach them submit your posting with netdev@vger.kernel.org
on the CC: list.
Thanks.
--
| Apr 13, 2:15 am 2010 |
| Mahesh Kuruganti | [PATCH] ZTEAC8710 Support with Device ID 0xffff
Here is a patch in the correct format compiled against
Linux-2.6.34-rc3.Also I tested it and it compiled with no problem and
I am using it now as i type.
PATCH TO EXTEND SUPPORT TO AC8710 WITH 0xFFFF Product ID.
--- drivers/usb/serial/option.c.orig 2010-04-12 21:44:55.902548876 +0530
+++ drivers/usb/serial/option.c 2010-04-12 21:51:47.302549297 +0530
@@ -304,6 +304,8 @@ static int option_resume(struct usb_ser
#define ZTE_PRODUCT_CDMA_TECH 0xfffe
#define ...
| Apr 13, 3:33 am 2010 |
| Anders Larsen | [at91] Save power by disabling the processor clock when ...
Disable the processor clock when the CPU is idle.
This saves much more power than merely entering 'Wait for Interrupt' mode.
Since JTAG-debugging doesn't work when the processor clock is switched off,
make it conditional on CONFIG_DEBUG_KERNEL.
Signed-off-by: Anders Larsen <al@alarsen.net>
Cc: Andrew Victor <avictor.za@gmail.com>
---
KernelVersion: 2.6.33
arch/arm/mach-at91/include/mach/system.h | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Index: ...
| Apr 13, 4:05 am 2010 |
| Mark Jackson | Can I limit the number of tcp connections ?
Is there any way to limit the # tcp connections under Linux ?
I've tried ...
echo 8 > /proc/sys/net/core/somaxconn
... but I can still open 10 ssh sessions, as well as a web server.
I know I could run iptables, but I was looking for a much lower level
solution (with a smaller resource footprint).
Any clues ?
Thanks
Mark
--
| Apr 13, 4:16 am 2010 |
| Damjan Jovanovic | [PATCH] input: handle bad parity PS/2 packets in mouse d ...
This fixes a regression introduced in Linux 2.6.2 where mice that
sporadically produce bad parity go crazy and start jumping around and
clicking randomly, which never happens in any version of Windows
running on the same hardware. The bugzilla bug is
https://bugzilla.kernel.org/show_bug.cgi?id=6105
The patch works by always accumulating a full PS/2 packet, then
ignoring the packet if any byte had a bad checksum. A month of testing
it against an affected mouse has revealed it works perfectly ...
| Apr 13, 4:29 am 2010 |
| Anders Larsen | [PATCH] Fix Oops with Atmel SPI
Tweak MTD's cache allocation to make it work with the atmel DMA'ed SPI.
Substitute kmalloc for vmalloc so the cache buffer is mappable as per
the Atmel SPI driver's requirements, otherwise an Oops would occur.
The original patch by Ian McDonnell <ian@brightstareng.com> was found here:
http://lists.infradead.org/pipermail/linux-mtd/2007-December/020184.html
Signed-off-by: Anders Larsen <al@alarsen.net>
Cc: Ian McDonnell <ian@brightstareng.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: ...
| Apr 13, 4:31 am 2010 |
| David Miller | [GIT] Networking
Of note is the fix for the wireless regression reported last week, a
fix for virtio net crashes with DEBUG_SG enabled, and some minor bug
cures in other drivers.
I tried to cure a loopback TCP checksumming anomaly with dataless
packets, but couldn't get it right the first time so reverted.
It's a harmless issue (we check checksums of ACKs over loopback) and
we've had it forever, but such things should be toyed with in our
-next trees not here...
I merged in your tree to resolve some ...
| Apr 13, 4:43 am 2010 |
| David Miller | [GIT] Sparc
I've spent the last week or so getting ftrace et al. working
again on sparc64. The NMI scheme I use there was causing all
sorts of issues, but luckily the final fix was very simple.
While I was here debugging this stuff I added function graph
tracer support, as well as support for kmemleak. Kmemleak
even found a bug :-)
All combinations of features seems to work (perf top with tracers,
lockdep, and kmemleak all enabled for example) and wow is this stuff
super-useful :-)
I merged in ...
| Apr 13, 4:43 am 2010 |
| Michael Schnell | Re: Microblaze - The fist year
Does Microblaze MMU Linux support Futex ?
Does Microblaze MMU Linux support SMP ?
Thanks
-Michael
--
| Apr 13, 6:12 am 2010 |
| Michal Simek | Re: Microblaze - The fist year
yes, futex is there. You can check it in
It is possible to connect several MicroBlazes but the problem is missing
cache coherency modul. I hope that Xilinx will release any version which
will support it.
We haven't done any significant work to support it but it is expected
solution which will happen.
Thanks for input,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze ...
| Apr 13, 6:27 am 2010 |
| Mohamed Ikbel Boulabiar | Low-Level and Long-Term Battery Control
Hi,
Is there any function in the Linux kernel that control the
charging/discharging of the battery to provide better lifespan ?
(add some years to its life ?)
For Laptops, it is better to extract the battery from the Laptop when
the computer will be on power for a long period.
I ask if the kernel can do such control without the user intention and
in an automatic way.
Some BIOS provide to the user to select whether to block the battery
charging to 50% to make it stand for more time.
And ...
| Apr 13, 5:35 am 2010 |
| Tony Vroon | Re: Low-Level and Long-Term Battery Control
Battery charge control is generally a function of the system firmware,
not of the operating system. You might be able to disassemble your DSDT
to see if there is any control of the overall charging schema.
It sounds like those MacBook machines have well-written firmware in that
I would suggest contacting the manufacturer, overcharging of certain
battery chemistries can be a safety hazard. If the machine is in
Regards,
--
Tony Vroon
UNIX systems administrator
London Internet Exchange ...
| Apr 13, 6:24 am 2010 |
| Maurice Dawson | [PATCH 31/31] Staging: comedi: fix over 80 characters co ...
This is a re-submission of a previous patch to the adv_pci_dio.c file that fixes up over 80 character warnings found by the checkpatch.pl tool
Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com>
---
drivers/staging/comedi/drivers/adv_pci_dio.c | 124 ++++++++++++-------------
1 files changed, 60 insertions(+), 64 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adv_pci_dio.c b/drivers/staging/comedi/drivers/adv_pci_dio.c
index b768ea5..3238e1a 100644
--- ...
| Apr 13, 5:55 am 2010 |
| Vladislav Bolkhovitin | [PATCH][RFC 0/0/0/5] New SCSI target framework (SCST) wi ...
Please review this second iteration of the patch set of the new
(although, perhaps, the oldest) SCSI target framework for Linux SCST
with a set of dev handlers and 2 target drivers: for iSCSI (iscsi-scst)
and for Infiniband SRP (srpt).
The first iteration you can found here: http://lkml.org/lkml/2008/12/10/245.
Please review this patchset as a proposed replacement of the current
mainline SCSI target subsystem STGT.
I've already described advantages of SCST over STGT in ...
| Apr 13, 6:03 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 0/12/1/5] SCST core
This patchset contains SCST core together with documentation. Where
possible, it was divided based on functionality grouping, in other cases
it was divided by per file basis.
Vlad
--
| Apr 13, 6:04 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 1/12/1/5] SCST core's Makefile and Kconfig
This patch contains SCST core's Makefile and Kconfig.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Kconfig | 246 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Makefile | 11 ++
2 files changed, 257 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/Kconfig linux-2.6.33/drivers/scst/Kconfig
--- orig/linux-2.6.33/drivers/scst/Kconfig
+++ linux-2.6.33/drivers/scst/Kconfig
@@ -0,0 +1,246 @@
+menu "SCSI target (SCST) support"
+
+config SCST
+ tristate ...
| Apr 13, 6:04 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 2/12/1/5] SCST core's external headers
This patch contains declarations of all externally visible SCST constants,
types and functions prototypes.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst.h | 3169 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
scst_const.h | 330 ++++++
2 files changed, 3499 insertions(+)
diff -uprN orig/linux-2.6.33/include/scst/scst_const.h linux-2.6.33/include/scst/scst_const.h
--- orig/linux-2.6.33/include/scst/scst_const.h
+++ ...
| Apr 13, 6:04 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 3/12/1/5] SCST core's scst_main.c
This patch contains file scst_main.c.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_main.c | 2047 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 2047 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_main.c linux-2.6.33/drivers/scst/scst_main.c
--- orig/linux-2.6.33/drivers/scst/scst_main.c
+++ linux-2.6.33/drivers/scst/scst_main.c
@@ -0,0 +1,2047 @@
+/*
+ * scst_main.c
+ *
+ * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin ...
| Apr 13, 6:04 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 4/12/1/5] SCST core's scst_targ.c
This patch contains file scst_targ.c.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_targ.c | 5712 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 5712 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_targ.c linux-2.6.33/drivers/scst/scst_targ.c
--- orig/linux-2.6.33/drivers/scst/scst_targ.c
+++ linux-2.6.33/drivers/scst/scst_targ.c
@@ -0,0 +1,5712 @@
+/*
+ * scst_targ.c
+ *
+ * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin ...
| Apr 13, 6:05 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 5/12/1/5] SCST core's scst_lib.c
This patch contains file scst_lib.c.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_lib.c | 6337 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 6337 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_lib.c linux-2.6.33/drivers/scst/scst_lib.c
--- orig/linux-2.6.33/drivers/scst/scst_lib.c
+++ linux-2.6.33/drivers/scst/scst_lib.c
@@ -0,0 +1,6337 @@
+/*
+ * scst_lib.c
+ *
+ * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin ...
| Apr 13, 6:05 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 7/12/1/5] SCST SGV cache
This patch contains SCST SGV cache. SGV cache is a memory management
subsystem in SCST. More info about it you can find in the documentation
in this patch.
P.S. Solaris COMSTAR also has similar facility.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Documentation/scst/sgv_cache.txt | 224 ++++
drivers/scst/scst_mem.c | 1788 +++++++++++++++++++++++++++++++++++++++
drivers/scst/scst_mem.h | 150 +++
include/scst/scst_sgv.h | 97 ++
4 files changed, ...
| Apr 13, 6:06 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 6/12/1/5] SCST core's private header
This patch contains file scst_priv.h, which contains internal SCST types, constants
and declarations.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_priv.h | 609 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 609 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_priv.h linux-2.6.33/drivers/scst/scst_priv.h
--- orig/linux-2.6.33/drivers/scst/scst_priv.h
+++ linux-2.6.33/drivers/scst/scst_priv.h
@@ -0,0 +1,609 @@
+/*
+ * ...
| Apr 13, 6:06 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 9/12/1/5] SCST debugging support
This patch contains SCST debugging support routines.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
drivers/scst/scst_debug.c | 136 ++++++++++++++++++++++
include/scst/scst_debug.h | 276 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 412 insertions(+)
diff -uprN orig/linux-2.6.33/include/scst/scst_debug.h linux-2.6.33/include/scst/scst_debug.h
--- orig/linux-2.6.33/include/scst/scst_debug.h
+++ linux-2.6.33/include/scst/scst_debug.h
@@ -0,0 +1,276 @@
+/*
+ * ...
| Apr 13, 6:06 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 10/12/1/5] SCST external modules support
This patch contains SCST external modules support routines.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_module.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_module.c linux-2.6.33/drivers/scst/scst_module.c
--- orig/linux-2.6.33/drivers/scst/scst_module.c
+++ linux-2.6.33/drivers/scst/scst_module.c
@@ -0,0 +1,63 @@
+/*
+ * scst_module.c
+ *
+ * Copyright (C) 2004 - ...
| Apr 13, 6:06 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 12/12/1/5] SCST sysfs rules
This patch contains SCST sysfs rules.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
SysfsRules | 795 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 795 insertions(+)
diff -uprN orig/linux-2.6.33/Documentation/scst/SysfsRules linux-2.6.33/Documentation/scst/SysfsRules
--- orig/linux-2.6.33/Documentation/scst/SysfsRules
+++ linux-2.6.33/Documentation/scst/SysfsRules
@@ -0,0 +1,795 @@
+ SCST SYSFS interface ...
| Apr 13, 6:07 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 11/12/1/5] SCST core's README
This patch contains SCST core's README.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
README.scst | 1379 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 1379 insertions(+)
diff -uprN orig/linux-2.6.33/Documentation/scst/README.scst linux-2.6.33/Documentation/scst/README.scst
--- orig/linux-2.6.33/Documentation/scst/README.scst
+++ linux-2.6.33/Documentation/scst/README.scst
@@ -0,0 +1,1379 @@
+Generic SCSI target mid-level for Linux ...
| Apr 13, 6:07 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 8/12/1/5] SCST sysfs interface
This patch contains file scst_sysfs.c.
Signed-off-by: Daniel Henrique Debonzi <debonzi@linux.vnet.ibm.com>
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_sysfs.c | 3884 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 3884 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/scst_sysfs.c linux-2.6.33/drivers/scst/scst_sysfs.c
--- orig/linux-2.6.33/drivers/scst/scst_sysfs.c
+++ linux-2.6.33/drivers/scst/scst_sysfs.c
@@ -0,0 +1,3884 @@
+/*
+ * ...
| Apr 13, 6:06 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 0/3/2/5] SCST dev handlers
This patchset contains SCST dev handlers. Dev handlers are drivers which
provide backend functionality for SCST.
Vlad
--
| Apr 13, 6:07 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 1/3/2/5] SCST dev handlers' Makefile
This patch contains SCST dev handlers' Makefile.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Makefile | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/dev_handlers/Makefile linux-2.6.33/drivers/scst/dev_handlers/Makefile
--- orig/linux-2.6.33/drivers/scst/dev_handlers/Makefile
+++ linux-2.6.33/drivers/scst/dev_handlers/Makefile
@@ -0,0 +1,13 @@
+ccflags-y += -Iinclude/scst -Wno-unused-parameter
+
+obj-m := scst_cdrom.o ...
| Apr 13, 6:07 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 2/3/2/5] SCST pass-through dev handlers
This patch contains SCST pass-through dev handlers.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_cdrom.c | 284 ++++++++++++++++++++++++++++++++++++
scst_changer.c | 207 ++++++++++++++++++++++++++
scst_dev_handler.h | 27 +++
scst_disk.c | 361 ++++++++++++++++++++++++++++++++++++++++++++++
scst_modisk.c | 380 ++++++++++++++++++++++++++++++++++++++++++++++++
scst_processor.c | 207 ++++++++++++++++++++++++++
scst_raid.c | 208 ...
| Apr 13, 6:08 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 0/2/3/5] External SCST patches
This patchset contains external patches SCST necessary to integrate SCST
into the Linux kernel tree as well as provide for it necessary
additional functionality.
Vlad
--
| Apr 13, 6:08 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 3/3/2/5] SCST vdisk dev handler
This patch contains SCST vdisk dev handlers. This dev handler allows
to create virtual disks and CDROMs from files on file system.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
scst_vdisk.c | 3813 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 3813 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/dev_handlers/scst_vdisk.c linux-2.6.33/drivers/scst/dev_handlers/scst_vdisk.c
--- orig/linux-2.6.33/drivers/scst/dev_handlers/scst_vdisk.c
+++ ...
| Apr 13, 6:08 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 1/2/3/5] Changes in drivers/Kconfig and ...
This patch contains changes in drivers/Kconfig and drivers/Makefile to integrate
SCST into the Linux kernel tree.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Kconfig | 2 ++
Makefile | 1 +
2 files changed, 3 insertions(+)
diff -upkr -X linux-2.6.33/Documentation/dontdiff linux-2.6.33/drivers/Kconfig linux-2.6.33/drivers/Kconfig
--- orig/linux-2.6.33/drivers/Kconfig 01:51:29.000000000 +0400
+++ linux-2.6.33/drivers/Kconfig 14:14:46.000000000 +0400
@@ -24,6 +24,8 @@ ...
| Apr 13, 6:08 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 0/4/4/5] iSCSI-SCST
This patchset contains iSCSI-SCST iSCSI target together with documentation.
Vlad
--
| Apr 13, 6:09 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 1/4/4/5] iSCSI-SCST's Makefile and Kconfig
This patch contains iSCSI-SCST's Makefile and Kconfig.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Kconfig | 25 +++++++++++++++++++++++++
Makefile | 6 ++++++
2 files changed, 31 insertions(+)
diff -uprN orig/linux-2.6.33/drivers/scst/iscsi-scst/Makefile linux-2.6.33/drivers/scst/iscsi-scst/Makefile
--- orig/linux-2.6.33/drivers/scst/iscsi-scst/Makefile
+++ linux-2.6.33/drivers/scst/iscsi-scst/Makefile
@@ -0,0 +1,6 @@
+EXTRA_CFLAGS += -Iinclude/scst
+
+iscsi-scst-y ...
| Apr 13, 6:10 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 2/2/3/5] Implementation of blk_rq_map_ke ...
This patch implements function blk_rq_map_kern_sg(), which allows to
map a kernel-originated SG vector to a block request. It is necessary
to execute SCSI commands with from the kernel going SG buffer. SCST needs
this functionality, because its target drivers, which are, basically,
SCSI drivers, can deal only with SGs, not with BIOs.
Highlight of this implementations:
- It uses BIOs chaining instead of kmalloc()'ing the whole bio.
- It uses SGs chaining instead of kmalloc()'ing one big SG ...
| Apr 13, 6:09 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 4/4/4/5] iSCSI-SCST's README file
This patch contains iSCSI-SCST's README file.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
README.iscsi | 585 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 585 insertions(+)
diff -uprN orig/linux-2.6.33/Documentation/scst/README.iscsi linux-2.6.33/Documentation/scst/README.iscsi
--- orig/linux-2.6.33/Documentation/scst/README.iscsi
+++ linux-2.6.33/Documentation/scst/README.iscsi
@@ -0,0 +1,585 @@
+iSCSI SCST target ...
| Apr 13, 6:10 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 2/4/4/5] iSCSI-SCST's header files
This patch contains iSCSI-SCST's header files.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
drivers/scst/iscsi-scst/digest.h | 31 +
drivers/scst/iscsi-scst/iscsi.h | 709 ++++++++++++++++++++++++++++++++++++
drivers/scst/iscsi-scst/iscsi_dbg.h | 60 +++
drivers/scst/iscsi-scst/iscsi_hdr.h | 519 ++++++++++++++++++++++++++
include/scst/iscsi_scst.h | 207 ++++++++++
include/scst/iscsi_scst_itf_ver.h | 2
include/scst/iscsi_scst_ver.h | 18
...
| Apr 13, 6:10 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 1/1/5/5] SCST InfiniBand SRP target driver
This patch contains SCST InfiniBand SRP target driver.
This driver work directly on top of InfiniBand stack and SCST.
It was originally developed by Vu Pham/Mellanox, currently
Bart Van Assche is maintaining and improving it.
Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
Kconfig | 12
Makefile | 4
ib_dm_mad.h | 139 ++
ib_srpt.c | 3202 ...
| Apr 13, 6:11 am 2010 |
| Vladislav Bolkhovitin | Re: [PATCH][RFC 3/4/4/5] iSCSI-SCST's implementation files
This patch contains iSCSI-SCST's implementation files.
Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
config.c | 933 ++++++++++++++++
conn.c | 785 +++++++++++++
digest.c | 226 +++
event.c | 163 ++
iscsi.c | 3583 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
nthread.c | 1524 ++++++++++++++++++++++++++
param.c | 306 +++++
session.c | 482 ++++++++
target.c | 500 ++++++++
9 files changed, 8502 insertions(+)
diff -uprN ...
| Apr 13, 6:10 am 2010 |
| Frederic Weisbecker | Re: [RFC PATCH 2/4] ARM: hw-breakpoint: add ARM backend ...
You mean that sometimes DFAR doesn't have the true ip origin of the
exception?
May be you can check the trapped regs to find the instruction pointer
Ah, indeed if you need to abstract out various ARM versions, that's quite sensitive.
Ah indeed you really need to protect against recursion.
But I'm unclear about the difference between Supervisor and System.
May be System means the common kernel ring? And you enter into
Supervisor when an exception triggers?
Do these ...
| Apr 13, 1:40 pm 2010 |
| Frederic Weisbecker | Re: [RFC PATCH 2/4] ARM: hw-breakpoint: add ARM backend ...
(WARNING: I've browsed the ARMv7 breakpoints implementation
but I may have an erratic/incomplete understanding, then parts
of this review might make little sense)
What do you mean here by unpredictable? It would be a pity to limit the
Doh! That must explain the problem with DFAR...
Ok, alternatively, why not having the control register in the arch
breakpoint structure:
u32 __reserved : 19,
len : 7,
type : 2,
privilege ...
| Apr 13, 6:32 am 2010 |
| Will Deacon | Re: [RFC PATCH 2/4] ARM: hw-breakpoint: add ARM backend ...
Hi Frederic,
Many thanks for taking a look at the these patches, I appreciate the
feedback.
It looks like you've understood it correctly. Actually, I have
a disclaimer of my own; I'm using a new mail client in the hope
By unpredictable I mean that the value in the DFAR is not defined to
correspond to the causative address in any way. This isn't the case
for a standard data abort, but it is in the case of a watchpoint
I know, it makes life a lot harder for us. The most annoying thing is ...
| Apr 13, 8:52 am 2010 |
| Michael S. Tsirkin | Re: [PATCH] tun: orphan an skb on tx
Looks like that's what my patch does: ip_rcv seems to call
--
| Apr 13, 1:25 pm 2010 |
| Herbert Xu | Re: [PATCH] tun: orphan an skb on tx
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Apr 13, 8:12 am 2010 |
| Jan Kiszka | Re: [PATCH] tun: orphan an skb on tx
And before that, tap1 may not be able to send further packets to anyone
else on the bridge as its TX resources were blocked by tap2 - that's
Nice solution, thanks!
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
| Apr 13, 8:36 am 2010 |
| Michael S. Tsirkin | [PATCH] tun: orphan an skb on tx
The following situation was observed in the field:
tap1 sends packets, tap2 does not consume them, as a result
tap1 can not be closed. This happens because
tun/tap devices can hang on to skbs undefinitely.
As noted by Herbert, possible solutions include a timeout followed by a
copy/change of ownership of the skb, or always copying/changing
ownership if we're going into a hostile device.
This patch implements the second approach.
Note: one issue still remaining is that since skbs
keep ...
| Apr 13, 7:59 am 2010 |
| Eric Dumazet | Re: [PATCH] tun: orphan an skb on tx
After the patch, tap1 is able to flood tap2, and tap3/tap4 not able to
send one single frame. Is it OK ?
Back to the problem : tap1 cannot be closed.
Why ? because of refcounts ?
When a socket with inflight tx packets is closed, we dont block the
close, we only delay the socket freeing once all packets were delivered
and freed.
--
| Apr 13, 9:40 am 2010 |
| Jan Kiszka | Re: [PATCH] tun: orphan an skb on tx
I think if that's a real issue, you have to apply traffic shaping to the
untrusted nodes. The existing flow-control scheme was fragile anyway as
you had to translate packet lengths on TX side to packet counts on RX.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
| Apr 13, 9:52 am 2010 |
| Michael S. Tsirkin | Re: [PATCH] tun: orphan an skb on tx
Yes :) This was always possible. Number of senders needed to flood
a receiver might vary depending on send/recv queue size
that you set. External sources can also fill your RX queue
if you let them. In the end, we need to rely on the scheduler for fairness,
Which is wrong, since this is under userspace control, so you get
unkillable processes.
--
MST
--
| Apr 13, 10:39 am 2010 |
| Eric Dumazet | Re: [PATCH] tun: orphan an skb on tx
We do not get unkillable processes, at least with sockets I was thinking
about (TCP/UDP ones).
Maybe tun sockets can behave the same ?
Herbert Acked your patch, so I guess its OK, but I think it can be
dangerous.
Anyway my feeling is that we try to add various mechanisms to keep a
hostile user flooding another one.
For example, UDP got memory accounting quite recently, and we added
socket backlog limits very recently. It was considered not needed few
years ago.
--
| Apr 13, 11:31 am 2010 |
| Eric Dumazet | Re: [PATCH] tun: orphan an skb on tx
Well, I was speaking of tx side, you speak of receiving side.
An external flood (coming from another domain) is another problem.
A sender might flood the 'network' inside our domain. How can we
reasonably limit the sender ?
Maybe the answer is 'We can not', but it should be stated somewhere, so
that someone can address this point later.
--
| Apr 13, 1:38 pm 2010 |
| Michael S. Tsirkin | Re: [PATCH] tun: orphan an skb on tx
And whatever's done should ideally work for tap to IP
and IP to IP sockets as well, not just tap to tap.
--
MST
--
| Apr 13, 1:43 pm 2010 |
| Michael S. Tsirkin | Re: [PATCH] vhost-net: fix vq_memory_access_ok error checking
This was already queued by me, you do not need to
--
| Apr 13, 8:01 am 2010 |
| Michael S. Tsirkin | Re: [PATCH] vhost-net: fix vq_memory_access_ok error checking
This was sent in error, please ignore.
--
| Apr 13, 8:02 am 2010 |
| Alan Cox | Re: [PATCH] drivers:staging: sources for ST core
> Any comments on these patches ?
Still on my TODO list, busy trying to beat my own employers code into
sanity for submission right now ;)
Alan
--
| Apr 13, 8:12 am 2010 |
| Pavan Savoy | Re: [PATCH] drivers:staging: sources for ST core
Alan,
Any comments on these patches ?
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
--
| Apr 13, 8:06 am 2010 |
| Mel Gorman | Re: [PATCH 4/6] change alloc function in vmemmap_alloc_block
Also, if node_state is called with -1, a negative index is being checked in
a bitmap and that would be pretty broken in itself. I can't see a problem
with this patch.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 8:59 am 2010 |
| Minchan Kim | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Sorry for writing confusing changelog.
I means if node == -1 alloc_slab_page always calls alloc_pages.
So we don't need redundant check.
--
Kind regards,
Minchan Kim
--
| Apr 13, 9:01 am 2010 |
| Minchan Kim | Re: [PATCH 6/6] Add comment in alloc_pages_exact_node
I agree.
I will repost modified comment after Tejun comment [2/6].
Thanks for quick review, Mel. :)
--
Kind regards,
Minchan Kim
--
| Apr 13, 9:20 am 2010 |
| Mel Gorman | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Well, numa_node_id() is implemented as
#ifndef numa_node_id
#define numa_node_id() (cpu_to_node(raw_smp_processor_id()))
#endif
and the mapping table on x86 at least is based on possible CPUs in
init_cpu_to_node() leaves the mapping as 0 if the APIC is bad or the numa
node is reported in apicid_to_node as -1. It would appear on power that
the node will be 0 for possible CPUs as well.
Hence, I believe this to be safe but a confirmation from Tejun would be
nice. I would continue ...
| Apr 13, 8:48 am 2010 |
| Minchan Kim | [PATCH 1/6] Remove node's validity check in alloc_pages
alloc_pages calls alloc_pages_node with numa_node_id().
alloc_pages_node can't see nid < 0.
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried.
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
---
include/linux/gfp.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/gfp.h ...
| Apr 13, 8:24 am 2010 |
| Minchan Kim | [PATCH 2/6] change alloc function in pcpu_alloc_pages
alloc_pages_node is called with cpu_to_node(cpu).
I think cpu_to_node(cpu) never returns -1.
(But I am not sure we need double check.)
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried.
Cc: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
---
mm/percpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git ...
| Apr 13, 8:24 am 2010 |
| Minchan Kim | [PATCH 3/6] change alloc function in alloc_slab_page
alloc_slab_page never calls alloc_pages_node with -1.
It means node's validity check is unnecessary.
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried.
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
---
mm/slub.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/slub.c b/mm/slub.c
index b364844..9984165 100644
--- a/mm/slub.c
+++ ...
| Apr 13, 8:25 am 2010 |
| Minchan Kim | [PATCH 4/6] change alloc function in vmemmap_alloc_block
if node_state is N_HIGH_MEMORY, node doesn't have -1.
It means node's validity check is unnecessary.
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried.
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
---
mm/sparse-vmemmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c
index 392b9bb..7710ebc ...
| Apr 13, 8:25 am 2010 |
| Minchan Kim | [PATCH 5/6] change alloc function in __vmalloc_area_node
__vmalloc_area_node never pass -1 to alloc_pages_node.
It means node's validity check is unnecessary.
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried.
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
---
mm/vmalloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index ae00746..7abf423 100644
--- a/mm/vmalloc.c
+++ ...
| Apr 13, 8:25 am 2010 |
| Minchan Kim | [PATCH 6/6] Add comment in alloc_pages_exact_node
alloc_pages_exact_node naming makes some people misleading.
They considered it following as.
"This function will allocate pages from node which I wanted
exactly".
But it can allocate pages from fallback list if page allocator
can't find free page from node user wanted.
So let's comment this NOTE.
Actually I wanted to change naming with better.
ex) alloc_pages_explict_node.
But I changed my mind since the comment would be enough.
If anybody suggests better name, I will do with ...
| Apr 13, 8:25 am 2010 |
| Mel Gorman | Re: [PATCH 1/6] Remove node's validity check in alloc_pages
Makes sense.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 8:32 am 2010 |
| Mel Gorman | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Are you certain? What about
__kmalloc
-> slab_alloc (passed -1 as a node from __kmalloc)
-> __slab_alloc
-> new_slab
-> allocate_slab
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 8:52 am 2010 |
| Mel Gorman | Re: [PATCH 5/6] change alloc function in __vmalloc_area_node
Seems fine, the check for node id being negative has already been made.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 9:02 am 2010 |
| Mel Gorman | Re: [PATCH 6/6] Add comment in alloc_pages_exact_node
It's a little tough to read. How about
/*
* Use this instead of alloc_pages_node when the caller knows
* exactly which node they need (as opposed to passing in -1
* for current). Fallback to other nodes will still occur
* unless __GFP_THISNODE is specified.
*/
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 9:13 am 2010 |
| Mel Gorman | Re: [PATCH 3/6] change alloc function in alloc_slab_page
When the changelog is fixed up, feel free to add;
Reviewed-by: Mel Gorman <mel@csn.ul.ie>
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 13, 9:14 am 2010 |
| David Rientjes | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Slub changes need to go through its maintainer, Pekka Enberg
<penberg@cs.helsinki.fi>.
--
| Apr 13, 2:37 pm 2010 |
| Minchan Kim | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Thanks, David. It was by mistake.
Pekka.
This changlog is bad.
I will change it with following as when I send v2.
"alloc_slab_page always checks nid == -1, so alloc_page_node can't be
called with -1.
It means node's validity check in alloc_pages_node is unnecessary.
So we can use alloc_pages_exact_node instead of alloc_pages_node.
It could avoid comparison and branch as 6484eb3e2a81807722 tried."
Thanks.
--
Kind regards,
Minchan Kim
--
| Apr 13, 4:40 pm 2010 |
| David Rientjes | Re: [PATCH 3/6] change alloc function in alloc_slab_page
Each patch in this series seems to be independent and can be applied
seperately, so it's probably not necessary to make them incremental.
--
| Apr 13, 4:55 pm 2010 |
| Prarit Bhargava | [PATCH]: x86: remove extra bootmem.h from arch/x86/mm/in ...
[Resubmitting to wider audience...]
bootmem.h is already included in init_64.c. Remove the second include.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index ee41bba..a9474fc 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -50,7 +50,6 @@
#include <asm/numa.h>
#include <asm/cacheflush.h>
#include <asm/init.h>
-#include <linux/bootmem.h>
static unsigned long dma_reserve __initdata;
--
| Apr 13, 8:47 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 4/8] mx5: Add USB OTG port registration
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch adds the device platform registration for enabling USB
host functionality on the OTG port on Freescale MX51 Babbage HW. This
file makes platform specific calls to initialize the USB HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/Makefile | 2 +-
arch/arm/mach-mx5/board-mx51_babbage.c | 4 ++
arch/arm/mach-mx5/usb_dr.c | 57 ...
| Apr 13, 9:10 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 7/8] mx5: Add USB to Freescale MX51 Babbage
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Updade mx51_defconfig to include USB host support.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/configs/mx51_defconfig | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/arch/arm/configs/mx51_defconfig b/arch/arm/configs/mx51_defconfig
index c88e952..a708fd6 100644
--- a/arch/arm/configs/mx51_defconfig
+++ b/arch/arm/configs/mx51_defconfig
@@ ...
| Apr 13, 9:10 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 5/8] mx5: Add USB Host1 port registration
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch adds the device platform registration for enabling USB
host functionality on the Host1 port on Freescale MX51 Babbage HW.
This file makes platform specific calls to initialize the USB HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/Makefile | 2 +-
arch/arm/mach-mx5/board-mx51_babbage.c | 2 +
arch/arm/mach-mx5/usb_h1.c | 90 ...
| Apr 13, 9:10 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 6/8] mx5: Add USB support for Freescal ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch updates the clocks, gpios, iomuxing and device structures for
enabling USB Host functionality on Freescale MX51 Babbage HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/board-mx51_babbage.c | 40 +++++++++++++++++++++++++-
arch/arm/mach-mx5/clock-mx51.c | 8 +++++
arch/arm/mach-mx5/devices.c | 49 ++++++++++++++++++++++++++++++++
...
| Apr 13, 9:10 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 4/8] mx5: Add USB OTG port registration
This is also board specific, and nothing you should assume for all
boards. Other implementations may do this differntly, which is why
What's the reason for having the _ext variants that are just wrapers?
--
| Apr 13, 10:30 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 5/8] mx5: Add USB Host1 port regis ...
This is actually the way to go. All driver code in lower layers should
use these flags eventually, and no assumptions should be hard-coded
--
| Apr 13, 10:39 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 6/8] mx5: Add USB support for Free ...
That should be split in two patches - one for common code and one for
--
| Apr 13, 10:40 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 3/8] mxc: Add platform specific US ...
There are several general problems with this.
The functions you implement here are not at all common but purely
specific to mx51, so the name of the file and functions as well as the
location in the tree is plainly wrong.
Also, this code also completely ignores all the work that has been done
You shouldn't mix declarations and code like this. The compiler should
This isn't good. If the above condition will never become true, the
kernel hangs in an endless loop. There should be a timeout ...
| Apr 13, 10:27 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 2/8] mxc: Update GPIO for USB support ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch is part of enabling USB for Freescale MX51 Babbage HW. This
patch updates the iomux pins for USB, and gpio line for reset the
USB hub on the MX51 Babbage HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/plat-mxc/ehci.c | 4 +++
arch/arm/plat-mxc/include/mach/iomux-mx51.h | 33 ++++++++++++++++----------
2 files changed, 24 insertions(+), 13 ...
| Apr 13, 9:10 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 3/8] mxc: Add platform specific USB fu ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch is part of enabling USB for Freescale MX51 Babbage HW. This
patch performs some platform specific USB HW initialization, and adds
the necessary defines.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/plat-mxc/Makefile | 2 +-
arch/arm/plat-mxc/include/mach/mxc_ehci.h | 48 +++++++
arch/arm/plat-mxc/usb_common.c | 190 ...
| Apr 13, 9:10 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 2/8] mxc: Update GPIO for USB supp ...
This needs a cpu_is_mx5() condition. For now that's just nit-picking,
but once another platform is added, the statement will return where it
shouldn't.
Daniel
--
| Apr 13, 9:48 am 2010 |
| Daniel Mack | Re: [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIO ...
First, I'm glad to see Freescale sending patches for mainline code -
thanks for doing this :)
Other people might give more detailed feedback, but I'll still comment
on some things that caught my eye.
On Tue, Apr 13, 2010 at 11:10:24AM -0500, Dinh.Nguyen@freescale.com wrote:
--
| Apr 13, 9:45 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIOs fo ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Update /plat-mxc/gpio.c to support Freescale's MX51 Babbage HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/board-mx51_babbage.c | 5 +++-
arch/arm/mach-mx5/devices.c | 33 ++++++++++++++++++++++++++++++-
arch/arm/plat-mxc/gpio.c | 32 +++++++++++++++++++++++++-----
3 files changed, 61 insertions(+), 9 deletions(-)
diff --git ...
| Apr 13, 9:10 am 2010 |
| Sascha Hauer | Re: [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIO ...
On other i.MXs this is called in plat-mxc/irq.c. It should be called in
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
| Apr 13, 10:20 am 2010 |
| Nguyen Dinh-R00091 | RE: [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIO ...
-----Original Message-----
From: Daniel Mack [mailto:daniel@caiaq.de]
Sent: Tuesday, April 13, 2010 11:46 AM
To: Nguyen Dinh-R00091
Cc: linux-kernel@vger.kernel.org; amit.kucheria@canonical.com;
linux@arm.linux.org.uk; s.hauer@pengutronix.de;
grant.likely@secretlab.ca; Herring Robert-RA7055;
linux-arm-kernel@lists.infradead.org; bryan.wu@canonical.com;
valentin.longchamp@epfl.ch
Subject: Re: [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIOs for
MX51 Babbage board.
First, I'm glad ...
| Apr 13, 12:36 pm 2010 |
| Russell King - ARM Linux | Re: [PATCH 2.6.34-rc4 1/8] mx5: Add registration of GPIO ...
linux/gpio.h
--
| Apr 13, 12:44 pm 2010 |
| Markus Rechberger | Memory Allocation/Accounting bug?
Hi,
I was doing some leaktests with our applications and couldn't really
figure out any memory leak (neither with valgrind).
Although top shows up that the application has an increased memory usage.
The sample applications:
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
void *threadfunc(void *opaque) {
return NULL;
};
int main() {
pthread_t thread;
while(1) {
pthread_create(&thread, NULL, threadfunc, ...
| Apr 13, 11:07 am 2010 |
| Mahesh Kuruganti | (No subject)
unsubscribe linux-kernel
--
| Apr 13, 11:17 am 2010 |
| Rob Landley | [PATCH] Add somaxconn to Documentation/sysctl/net.txt
From: Rob Landley <rob@landley.net>
Add somaxconn to Documentation/sysctl/net.txt
Signed-off-by: Rob Landley <rob@landley.net>
---
Documentation/sysctl/net.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index df38ef0..2740085 100644
--- a/Documentation/sysctl/net.txt
+++ b/Documentation/sysctl/net.txt
@@ -90,6 +90,12 @@ optmem_max
Maximum ancillary buffer size allowed per socket. Ancillary data is a ...
| Apr 13, 11:25 am 2010 |
| Eric Dumazet | Re: [PATCH] Add somaxconn to Documentation/sysctl/net.txt
Please cc netdev for such patches
Extract of Documentation/networking/ip-sysctl.txt
somaxconn - INTEGER
Limit of socket listen() backlog, known in userspace as SOMAXCONN.
Defaults to 128. See also tcp_max_syn_backlog for additional tuning
for TCP sockets.
I guess you need to change both files ?
--
| Apr 13, 11:40 am 2010 |
| Rob Landley | Re: [PATCH] Add somaxconn to Documentation/sysctl/net.txt
Dunno. I just got a question on the busybox mailing list:
http://lists.busybox.net/pipermail/busybox/2010-April/072090.html
Looked in Documentation to see what /proc/sys/net/core/somaxconn actually
_did_, found it was undocumented, grepped the kernel source for somaxconn,
found just one chunk of code actually using it, replied to the guy's question:
http://lists.busybox.net/pipermail/busybox/2010-April/072096.html
And then tweaked the documentation with what I'd found, and sent in ...
| Apr 13, 4:54 pm 2010 |
| Steven Rostedt | [ANNOUNCE] trace-cmd version 1.0 (binary reader of Ftrace)
This is the official announcement of trace-cmd version 1.0.
You can download it from git at;
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
trace-cmd-stable-v1
To build;
make
To install:
make install
default it will install into /usr/local/... to pick another location:
make prefix=/another/top/level install
to install documentation and man pages:
make install_doc
install_doc can also take the "prefix=" parameter.
Thanks to all that helped out ...
| Apr 13, 11:42 am 2010 |
| =?utf-8?q?Pawe=C5=82 ... | Possible issue with pcmcia data card since 2.6.27 kernel
[1.] ZTE MF 330 as modem, not as usb 2.0 hub
--------------------------------------------
[2.] Since 2.6.27-r7 there is support for this pcmcia data card by usbserial
module. In option.c file there isn't correct ID for ZTE MF 330 modem. I
assume that for somebody is correct but not for me and possibly other.
--------------------------------------------
[3.] usbserial.ko, option.ko, zte mf 330
--------------------------------------------
[4.] Linux version 2.6.33-gentoo (root@pd-mainframe) ...
| Apr 13, 11:44 am 2010 |
| Laura Parkes | [PATCH] Staging: asus_oled: fix spaces coding style in a ...
From ada5a2f3c991cbbf8f6fbd97d72718c9bb806580 Mon Sep 17 00:00:00 2001
From: Laura Parkes <laura_parkes@btinternet.com>
Date: Sat, 20 Mar 2010 17:16:19 +0000
Subject: [PATCH] Staging: asus_oled: fix spaces coding style in asus_oled.c
This is a patch to the asus_oled.c file that fixes a spaces
warning found by checkpatch.pl tool.
Signed-off-by: Laura Parkes <laura_parkes@btinternet.com>
---
drivers/staging/asus_oled/asus_oled.c | 2 +-
1 files changed, 1 insertions(+), 1 ...
| Apr 13, 11:44 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc4 1/1] mx5: Fix build error for mx51_defconfig
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Need to include <asm/div64.h> for do_div calls.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/clock-mx51.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx5/clock-mx51.c b/arch/arm/mach-mx5/clock-mx51.c
index 8f85f73..1ee6ce4 100644
--- a/arch/arm/mach-mx5/clock-mx51.c
+++ b/arch/arm/mach-mx5/clock-mx51.c
@@ -16,6 +16,7 @@
#include <linux/io.h>
#include ...
| Apr 13, 12:05 pm 2010 |
| huangj@blc-10-6:$ | [PATCH] bfa: fix compilation warning in powerpc
From: Jing Huang <huangj@brocade.com>
Fix the compilation warning in powerpc. The same change also fixes endian
issue we found in powerpc test. This patch has been tested in x86 and
powerpc platform. it is created using scsi-misc-2.6.
Signed-off-by: Jing Huang <huangj@brocade.com>
---
drivers/scsi/bfa/bfa_os_inc.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/bfa/bfa_os_inc.h b/drivers/scsi/bfa/bfa_os_inc.h
index 4eb1330..bd1cd3e 100644
--- ...
| Apr 13, 12:11 pm 2010 |
| Jing Huang | [PATCH] bfa: fix compilation warning in powerpc (resend)
Fix the compilation warning in powerpc. The same change also fixes endian
issue we found in powerpc test. This patch has been tested in x86 and
powerpc platform. it is created using scsi-misc-2.6.
Signed-off-by: Jing Huang <huangj@brocade.com>
---
drivers/scsi/bfa/bfa_os_inc.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/bfa/bfa_os_inc.h b/drivers/scsi/bfa/bfa_os_inc.h
index 4eb1330..bd1cd3e 100644
--- a/drivers/scsi/bfa/bfa_os_inc.h
+++ ...
| Apr 13, 12:22 pm 2010 |
| Alan Stern | Re: [PATCH] USB: rename usb_buffer_alloc() and usb_buffe ...
I have no objection. All it does is rename a couple of functions.
There's no reason for this to go into 2.6.34; it can wait for the next
merge window.
Alan Stern
--
| Apr 13, 12:27 pm 2010 |
| Greg KH | Re: [PATCH] USB: rename usb_buffer_alloc() and usb_buffe ...
I think I will split this up into the following set of patches:
- rename the functions and add a macro for the old names
- rename all in-kernel usages
- rename the staging tree usages
- remove the macros
the first patch can go in to Linus's tree now, to make it easier for the
2nd and 3rd patches to live in linux-next easier as we might need to
look at the usages in other development trees before we can add the last
one.
Sound good?
thanks,
greg k-h
--
| Apr 13, 1:26 pm 2010 |
| Daniel Mack | Re: [PATCH] USB: rename usb_buffer_alloc() and usb_buffe ...
Yes, thanks a lot.
Daniel
--
| Apr 13, 2:47 pm 2010 |
| Jeff Mahoney | [PATCH] reiserfs: Fix corruption during shrinking of xattrs
Commit 48b32a3553a54740d236b79a90f20147a25875e3 introduced a problem
that causes corruption when extended attributes are replaced with a
smaller value.
The issue is that the reiserfs_setattr to shrink the xattr file was
moved from before the write to after the write.
The root issue has always been in the reiserfs xattr code, but was
papered over by the fact that in the shrink case, the file would just
be expanded again while the xattr was written.
The end result is that the last 8 ...
| Apr 13, 12:39 pm 2010 |
| Kyle McMartin | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
Thanks for prepping this for submission, Aris.
Whatevered-by: Kyle McMartin <kyle@redhat.com>
--
| Apr 13, 2:26 pm 2010 |
| Arjan van de Ven | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
this gets funny with employers chaning etc ;)
Signed-off-by: Arjan van de Ven <arjan@redhat.com> [defunct email]
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
--
| Apr 13, 1:43 pm 2010 |
| Randy Dunlap | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
Roland McGrath added the loose parts according to his email of 2008.Mar.05:
"I added this one (loose_nonint_oldconfig target, -B option to conf)."
after Dave Jones posted this patch.
(adding linux-kbuild mailing list & kbuild maintainer)
Having 'make oldconfig' exit with Exit status: 139 (for example)
can be confusing. I know that from experience. It took me a bit
to find out what that meant. That part could be improved...
---
~Randy
--
| Apr 13, 1:00 pm 2010 |
| Aristeu Rozanski | [PATCH] kconfig: introduce nonint_oldconfig and loose_no ...
This patch has been around for a long time in Fedora and Red Hat Enterprise
Linux kernels and it may be useful for others. The nonint_oldconfig target
will fail and print the unset config options while loose_nonint_oldconfig will
simply let the config option unset. They're useful in distro kernel packages
where the config files are built using a combination of smaller config files.
The patch's author AFAIK is Arjan van de Ven. Arjan, please add a Signed-off-by
if you're the original ...
| Apr 13, 12:47 pm 2010 |
| Aristeu Rozanski | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
hm, I can't see the -B there, maybe the functionality he's referring to is
ok, no real reason to keep incrementing that. no different error codes exist
other than "1". Do you think we need to introduce different return codes?
--
Aristeu
--
| Apr 13, 1:18 pm 2010 |
| Randy Dunlap | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
+loose_nonint_oldconfig: $(obj)/conf
+ $< -B $(Kconfig)
...
+ case 'B':
+ input_mode = dont_ask_dont_tell;
I would prefer a fixed value, like 86. or 11. or a useful printf text message.
--
~Randy
--
| Apr 13, 1:24 pm 2010 |
| Aristeu Rozanski | Re: [PATCH] kconfig: introduce nonint_oldconfig and loos ...
ah, duh, you mean he's the author of loose_nonint_oldconfig. I somewhat thought
ok, will refresh and resend
--
Aristeu
--
| Apr 13, 1:44 pm 2010 |
| Aristeu Rozanski | [PATCH] kconfig: introduce nonint_oldconfig and loose_no ...
This patch has been around for a long time in Fedora and Red Hat Enterprise
Linux kernels and it may be useful for others. The nonint_oldconfig target
will fail and print the unset config options while loose_nonint_oldconfig will
simply let the config option unset. They're useful in distro kernel packages
where the config files are built using a combination of smaller config files.
Arjan van de Ven wrote the initial nonint_config and Roland McGrath added ...
| Apr 13, 2:03 pm 2010 |
| Martin Mokrejs | 2.6.33.1: USB camera hung_task_timeout_secs >120 seconds
Hi,
I am not certain whether the stacktrace I received is just intentional
to attract developer eyes or whether this is actually a false alarm:
mounting USB mass storage device media always takes a long while.
This is a P4-M laptop with Kouwell 7004 FW/USB2.0 PCMCIA card.
Comments?
Thanks,
martin
pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1
pci 0000:07:00.0: reg 14: [mem 0x00000000-0x000000ff]
pci 0000:07:00.0: reg 20: [io 0xfce0-0xfcff]
pci 0000:07:00.0: ...
| Apr 13, 12:43 pm 2010 |
| Martin Mokrejs | 2.6.33.1: USB camera hung_task_timeout_secs >120 seconds
Hi,
I am not certain whether the stacktrace I received is just intentional
to attract developer eyes or whether this is actually a false alarm:
mounting USB mass storage device media always takes a long while.
This is a P4-M laptop with Kouwell 7004 FW/USB2.0 PCMCIA card.
Comments?
Thanks,
martin
pcmcia_socket pcmcia_socket1: pccard: CardBus card inserted into slot 1
pci 0000:07:00.0: reg 14: [mem 0x00000000-0x000000ff]
pci 0000:07:00.0: reg 20: [io 0xfce0-0xfcff]
pci 0000:07:00.0: ...
| Apr 13, 1:07 pm 2010 |
| Frederic Weisbecker | Weird rcu lockdep warning
Hi,
I just ran the following on -rc4 with the latest pending sparc pull
request manually merged (no -tip bits):
perf record -a -f -g sleep 5
And I got this warning:
[ 2235.846071] ===================================================
[ 2235.857419] [ INFO: suspicious rcu_dereference_check() usage. ]
[ 2235.863127] ---------------------------------------------------
[ 2235.868734] kernel/perf_event.c:2232 invoked rcu_dereference_check() without protection!
[ 2235.879843]
[ ...
| Apr 13, 1:04 pm 2010 |
| Paul E. McKenney | Re: Weird rcu lockdep warning
As far as lockdep is concerned, we are not in an RCU read-side critical
Very strange indeed.
One question -- is it possible that your kernel does not match your
source code? I freely admit that it is extremely unlikely that such
a mismatch would happen to land on an rcu_dereference(), but...
Another unlikely possibility is that an interrupt occurred between
the rcu_read_lock() and the rcu_dereference(), and that this interrupt
Color me confused!!!
--
| Apr 13, 4:40 pm 2010 |
| Robert Richter | [PATCH 09/12] perf, x86: implement IBS feature detection
The new code checks if IBS is available on the cpu. It implements only
a basic detection that should be later extended to read ibs cpuid
feature flags.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 5 +++++
arch/x86/kernel/cpu/perf_event_amd.c | 2 ++
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index 67b99a9..a42d033 100644
--- ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 12/12] perf, x86: implement the ibs interrupt handler
This patch implements code to handle ibs interrupts. If ibs data is
available a raw perf_event data sample is created and sent back to the
userland. Currently only the data is stored only in the raw data, but
this could be extended in a later patch by generating generic event
data such as the rip from the ibs sampling data.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/include/asm/msr-index.h | 3 ++
arch/x86/kernel/cpu/perf_event_amd.c | 65 ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 08/12] perf, x86: modify some code to allow the i ...
The changes are needed to introduce ibs events that are implemented as
special x86 events.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index 2a7c2fc..67b99a9 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -281,7 +281,7 @@ ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 07/12] perf, x86: introduce bit range for special ...
There are some pmu events such as Intel BTS or AMD IBS that do not fit
in the generic or fixed performance counter scheme. The upper bits
starting at bit 48 of the 64 bit counter mask are reserved for such
events and can be used to handle them. The events can be identified by
its index in the bit mask.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/include/asm/perf_event.h | 3 ++-
arch/x86/kernel/cpu/perf_event.c | 6 +++---
...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 06/12] perf, x86: use weight instead of cmask in ...
There may exist constraints with a cmask set to zero. In this case
for_each_event_constraint() will not work properly. Now weight is used
instead of the cmask for loop exit detection. Weight is always a value
other than zero since the default contains the HWEIGHT from the
counter mask and in other cases a value of zero does not fit too.
This is in preparation of ibs event constraints that wont have a
cmask.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 10/12] perf, x86: setup NMI handler for IBS
This implements the perf nmi handler for ibs interrupts. The code was
copied from oprofile and should be merged somewhen.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 10 ++++
arch/x86/kernel/cpu/perf_event_amd.c | 87 ++++++++++++++++++++++++++++++++++
2 files changed, 97 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index a42d033..8f9674f 100644
--- ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 02/12] perf, x86: moving x86_setup_perfctr()
Moving x86_setup_perfctr(), no other changes made.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 120 +++++++++++++++++++-------------------
1 files changed, 59 insertions(+), 61 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index d275277..84b6107 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -426,7 +426,65 @@ set_ext_hw_attr(struct hw_perf_event *hwc, ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 03/12] perf, x86: call x86_setup_perfctr() from . ...
The perfctr setup calls are in the corresponding .hw_config()
functions now. This makes it possible to introduce config functions
for other pmu events that are not perfctr specific.
Also, all of a sudden the code looks much nicer.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 9 ++-------
arch/x86/kernel/cpu/perf_event_p4.c | 2 +-
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 01/12] perf, x86: move perfctr init code to x86_s ...
Split __hw_perf_event_init() to configure pmu events other than
perfctrs. Perfctr code is moved to a separate function
x86_setup_perfctr(). This and the following patches refactor the code.
Split in multiple patches for better review.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 11/12] perf, x86: implement AMD IBS event configuration
This patch implements IBS for perf_event. It extends the AMD pmu to
handle model specific IBS events.
With the attr.model_spec bit set we can setup hardware events others
than generic performance counters. A special PMU 64 bit config value
can be passed through the perf_event interface. The concept of PMU
model-specific arguments was practiced already in Perfmon2. The type
of event (8 bits) is determinded from the config value too, bit 32-39
are reserved for this.
There are two types of IBS ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 00/12] perf: introduce model specific events and ...
This patch series introduces model specific events and impments AMD
IBS (Instruction Based Sampling) for perf_events.
IBS is documented here:
BIOS and Kernel Developer’s Guide (BKDG) For AMD Family 10h Processors
http://support.amd.com/us/Processor_TechDocs/31116.pdf
AMD64 Architecture Programmer’s Manual Volume 2: System Programming
http://support.amd.com/us/Processor_TechDocs/24593.pdf
The general approach is to introduce a flag to mark an event as model
specific. With that flag ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | [PATCH 05/12] perf, x86: pass enable bit mask to __x86_p ...
To reuse this function for events with different enable bit masks,
this mask is part of the function's argument list now.
The function will be used later to control ibs events too.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c | 9 +++++----
arch/x86/kernel/cpu/perf_event_intel.c | 5 +++--
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index ...
| Apr 13, 1:23 pm 2010 |
| Robert Richter | Re: [osrc-patches] [PATCH 00/12] perf: introduce model s ...
The patch set triggers this warning in perf_prepare_sample():
WARN_ON_ONCE(size & (sizeof(u64)-1))
Should a raw data sample padded to 64 bit?
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com
--
| Apr 13, 1:45 pm 2010 |
| Robert Richter | [PATCH 04/12] perf: introduce flag for model specific events
This patch introduces a flag to mark events as model specific. The
flag can be used to setup hardware events other than generic
performance counters by passing special config data to the pmu. The
data can be interpreted different from generic events and can be used
for other purposes.
The concept of PMU model-specific arguments was practiced already in
Perfmon2. Perfmon2 provides an interface to pass model specific config
values to the pmu and receive event specific samples back. ...
| Apr 13, 1:23 pm 2010 |
| Karen Xie | RE: [PATCH 2/3] cxgb4i: main driver files
Hi, Mike,
Yes, will do that for the next submission.
Thanks,
Karen
-----Original Message-----
From: Mike Christie [mailto:michaelc@cs.wisc.edu]
Sent: Tuesday, April 13, 2010 1:42 PM
To: open-iscsi@googlegroups.com
Cc: Rakesh Ranjan; netdev@vger.kernel.org; linux-scsi@vger.kernel.org;
linux-kernel@vger.kernel.org; Karen Xie; davem@davemloft.net;
James.Bottomley@hansenpartnership.com
Subject: Re: [PATCH 2/3] cxgb4i: main driver files
Hey Rakesh,
I guess we are trying to move away ...
| Apr 13, 2:41 pm 2010 |
| Mike Christie | Re: [PATCH 2/3] cxgb4i: main driver files
Hey Rakesh,
I guess we are trying to move away from the pci mapping functions move
to the dma ones. On your next submission, could you fix those up too?
--
| Apr 13, 1:41 pm 2010 |
| Kevin Cernekee | [PATCH 2/2] UBI: Remove reboot notifier
The UBI reboot notifier causes problems with hibernation. Move this
functionality into the low-level MTD driver instead.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
drivers/mtd/ubi/build.c | 35 -----------------------------------
drivers/mtd/ubi/ubi.h | 2 --
2 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index fad40aa..a6a5d1a 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -42,7 ...
| Apr 13, 1:30 pm 2010 |
| Kevin Cernekee | [PATCH 0/2] MTD: Move reboot notifier from UBI to cfi_cm ...
During the last filesystem sync prior to rebooting, UBI/UBIFS typically
schedules a flash erase operation. It is important to ensure that this
operation completes before restarting the system, for the following
reasons:
1) Some systems do not toggle the flash reset pin upon rebooting, so if
the flash is stuck in erase/program mode the bootloader will not come
back up. This is especially likely on NOR flash devices since the erase
time can be 1-2 seconds.
2) While UBI is able to recover ...
| Apr 13, 1:30 pm 2010 |
| Kevin Cernekee | [PATCH 1/2] MTD: cfi_cmdset_0002: Add reboot notifier fo ...
Ensure that the flash device is in a quiescent state before rebooting.
The implementation is closely modeled after the cfe_cmdset_0001 reboot
notifier, commit 963a6fb0a0d336d0513083b7e4b5c3ff9d6d2061 .
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
drivers/mtd/chips/cfi_cmdset_0002.c | 50 +++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index ...
| Apr 13, 1:30 pm 2010 |
| Andrew Morton | Re: high iowait problem(Bug 12309 on bugzilla.kernel.org)
On Wed, 31 Mar 2010 08:48:24 -0400
What you describe here is an utter catastrophe.
Strangely, your email appears to not have come out on the linux-kernel
So something between 2.6.32.3 and 2.6.32.8 inclusive rebroke the
kernel. That's useful info.
Looking at the changelogs, the only thing I can immediately see in the
which seems unlikely.
I'm seeing just one device-mapper change whcih went in over that
Which filesystem are you using there?
--
| Apr 13, 1:54 pm 2010 |
| Eric Miao | Re: MMC: fix hang if card was removed during suspend and ...
It looks to me bdi is waiting for writeback task to finish, yet the
processes
are frozen, so this never happens, and hang.
And I can confirm this always happens. Without MMC_UNSAFE_RESUME,
this happens when suspending where the mmc core tries to remove the
card.
With MMC_UNSAFE_RESUME, this happens when resume if the card removed
during suspend.
Though the root cause looks to me lies in the del_gendisk() not safe
to be
called within suspend context, and a clean fix might be somewhere ...
| Apr 13, 2:09 pm 2010 |
| Eric Miao | Re: MMC: fix hang if card was removed during suspend and ...
It looks to me bdi is waiting for writeback task to finish, yet the
processes
are frozen, so this never happens, and hang.
And I can confirm this always happens. Without MMC_UNSAFE_RESUME,
this happens when suspending where the mmc core tries to remove the
card.
With MMC_UNSAFE_RESUME, this happens when resume if the card removed
during suspend.
Though the root cause looks to me lies in the del_gendisk() not safe
to be
called within suspend context, and a clean fix might be somewhere ...
| Apr 13, 2:08 pm 2010 |
| Divyesh Shah | [PATCH] blkio: Fix compile errors
Fixes compile errors in blk-cgroup code for empty_time stat and a merge fix in
CFQ. The first error was when CONFIG_DEBUG_CFQ_IOSCHED is not set.
Signed-off-by: Divyesh Shah <dpshah@google.com>
---
block/blk-cgroup.c | 54 ++++++++++++++++++++++++++-------------------------
block/cfq-iosched.c | 2 +-
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index aa97cd4..80c1261 100644
--- a/block/blk-cgroup.c
+++ ...
| Apr 13, 2:45 pm 2010 |
| Éric Piel | [REGRESSION bisected] Sound goes too fast due to commit ...
Hello,
Since 2.6.34-rc*, I have a regression on alsa which prevents the sound
to be played correctly. When playing, the music goes too fast, skipping
some parts. Typically, it's very easy to reproduce by doing:
time mplayer -endpos 30 sound-file-which-lasts-more-than-thirty-sec.mp3
If the wall clock is less than 30s, you have the bug. With my intel-hda
(AD1981), it's reliably reproducible: it gives ~27s, instead of the
normal ~31s.
After bisection, it turns out that it is ...
| Apr 13, 2:54 pm 2010 |
| Trond Myklebust | [GIT PULL] Please pull NFS client fixes
Hi Linus,
Please pull from the "bugfixes" branch of the repository at
git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git bugfixes
This will update the following files through the appended changesets.
Cheers,
Trond
----
fs/nfs/client.c | 3 ++-
fs/nfs/dir.c | 2 +-
fs/nfs/inode.c | 8 ++++----
fs/nfs/nfs4proc.c | 4 +++-
fs/nfs/write.c | 44 ++++++++++++++++++++++++++++----------------
...
| Apr 13, 2:54 pm 2010 |
| Michal Suchanek | Parallel port LCD driver undocumented
Hello
I was thinking about adding a LCD to my PC so I thought that the
panel.c driver which just went to 2.6.34 would be helpful.
The problem is there is no documentation. I can get quite detailed
documentation for at least some LCDs that are sold around here but
there is not enough documentation for the driver to determine if the
LCD in question would be compatible with the driver and with which
protocol.
Detailed explanation of the parameters would be appreciated. For
example, there are ...
| Apr 13, 4:13 pm 2010 |
| Peter =?iso-8859-1?q ... | Re: Parallel port LCD driver undocumented
Hi,
I CC'ed willy - the original author of the driver - maybe he can help out.
Meanwhile - did you have a look at LCDproc?
http://lcdproc.org/
Userspace "drivers" for a lot of lcds and keypads.
Peter
--
| Apr 13, 4:19 pm 2010 |
| Chase Douglas | [REGRESSION 2.6.30][PATCH v3] sched: update load count o ...
There's a period of 10 ticks where calc_load_tasks is updated by all the
cpus for the load avg. Usually all the cpus do this during the first
tick. If any cpus go idle, calc_load_tasks is decremented accordingly.
However, if they wake up calc_load_tasks is not incremented. Thus, if
cpus go idle during the 10 tick period, calc_load_tasks may be
decremented to a non-representative value. This issue can lead to
systems having a load avg of exactly 0, even though the real load avg
could theoretically ...
| Apr 13, 4:19 pm 2010 |
| Rafael J. Wysocki | [GIT PULL] PM / hibernate fix for 2.6.34
Hi Linus,
Please pull hibernation fix for 2.6.34 from:
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git pm-fixes
It makes the hibernate user space interface work when
CONFIG_DEBUG_BLOCK_EXT_DEVT is set.
kernel/power/user.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---------------
Jiri Slaby (1):
PM / Hibernate: user.c, fix SNAPSHOT_SET_SWAP_AREA handling
--
| Apr 13, 4:23 pm 2010 |
| Yehuda Sadeh | [PATCH 6/6] ceph: rados block device
This adds the rbd under fs/ceph. The rados block device is
based on the drivers/block/osdblk.c. It allows mapping of
rados (ther ceph block layer) objects over a block device.
Each device has a metadata object, and data is being striped
across different objects.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/Makefile | 3 +-
fs/ceph/rbd.c | 1224 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
fs/ceph/rbd.h | 8 +
fs/ceph/super.c | 8 +
4 files ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 4/6] ceph: enable creation of clients that don't ...
Preparing grounds for rbd that doesn't need mds client.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/debugfs.c | 11 ++++++++---
fs/ceph/mon_client.c | 3 ++-
fs/ceph/super.c | 15 ++++++++++-----
fs/ceph/super.h | 2 ++
4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index e159f14..0a60fa8 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -434,9 +434,14 @@ int ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 5/6] ceph: refactor mount related functions, add ...
Removed some functions' static declarations, separated mount
operation to __open_session and open_root_dentry for clients
that don't need the latter (rbd). Added other helper functions
that will be used later in the rbd.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/file.c | 46 ++++++++++++++++
fs/ceph/osd_client.h | 1 +
fs/ceph/super.c | 142 ++++++++++++++++++++++++++++++++++++++-----------
fs/ceph/super.h | 29 +++++++++--
4 files changed, 182 ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 2/6] ceph: refactor osdc requests creation functions
The osd requests creation are being decoupled from the
vino parameter, allowing clients using the osd to use
other arbitrary object names that are not necessarily
vino based.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/osd_client.c | 179 +++++++++++++++++++++++++++++++++++---------------
fs/ceph/osd_client.h | 24 +++++++
2 files changed, 149 insertions(+), 54 deletions(-)
diff --git a/fs/ceph/osd_client.c b/fs/ceph/osd_client.c
index 356e61a..5927bc3 100644
--- ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 1/6] ceph: all allocation functions should get gfp_mask
This is essential, as for the rados block device we'll need
to run in different contexts that would need flags that
are other than GFP_NOFS.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/caps.c | 2 +-
fs/ceph/file.c | 10 +++++-----
fs/ceph/mds_client.c | 11 ++++++-----
fs/ceph/messenger.c | 10 +++++-----
fs/ceph/messenger.h | 2 +-
fs/ceph/mon_client.c | 15 ++++++++-------
fs/ceph/msgpool.c | 4 ++--
fs/ceph/osd_client.c | 8 ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 0/6] Ceph RADOS block device
The following series implements a linux rados block device. It allows striping of data across rados, the ceph distributed block layer, and is binary compatible with Christian Brunner's kvm-rbd implementation. Similarly to the Sheepdog project, it stripes the block device across 4MB (or other configurable size) objects stored by the distributed object store, and enjoys all the rados features (high availability, scalability, etc.). Future versions will be able to use the rados snapshots mechanism.
A ...
| Apr 13, 4:29 pm 2010 |
| Yehuda Sadeh | [PATCH 3/6] ceph: message layer can send/receive data in bio
This capability is being added so that we wouldn't
need to copy the data from the rados block device.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
---
fs/ceph/messenger.c | 175 +++++++++++++++++++++++++++++++++++++++++--------
fs/ceph/messenger.h | 3 +
fs/ceph/osd_client.c | 14 ++++-
fs/ceph/osd_client.h | 4 +-
4 files changed, 164 insertions(+), 32 deletions(-)
diff --git a/fs/ceph/messenger.c b/fs/ceph/messenger.c
index b6cff8e..3f77210 100644
--- ...
| Apr 13, 4:29 pm 2010 |
| previous day | today | next day |
|---|---|---|
| April 12, 2010 | April 13, 2010 | April 14, 2010 |
