| From | Subject | Date |
|---|---|---|
| Greg KH | Re: [PATCH] drivers: staging: dream: fix smd in makefile
With the recent progression of your arch tree, and the
wakelock/suspend-blocker stuff, what's the need for these files to still
be in the staging directory at all? Can't it be deleted and it go
through your tree?
thanks,
greg k-h
--
| May 6, 4:54 pm 2010 |
| Daniel Walker | [PATCH] drivers: staging: dream: fix smd in makefile
Not sure about this one.. Cause if you apply this then some SMD files
don't compile anymore. There's some missing config options related to
AMSS.
NOT-Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
CC: Greg KH <greg@kroah.com>
Cc: Pavel Machek <pavel@ucw.cz>
---
drivers/staging/dream/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/dream/Makefile b/drivers/staging/dream/Makefile
index 43d1eec..414a967 100644
--- ...
| May 6, 4:48 pm 2010 |
| Stephen Rothwell | linux-next: build warning after merge of the logfs tree
Hi Jörn,
After merging the logfs tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:
fs/logfs/file.c: In function 'logfs_fsync':
fs/logfs/file.c:225: warning: unused variable 'super'
Introduced by commit c0c79c31c9d5fcc19812c6c35f842baf50ee788a ("logfs:
fix sync").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| May 6, 4:46 pm 2010 |
| Steve French | Sparse warning: "initializer entry defined twice"
Sparse, but not gcc, throws a warning ("make modules C=1") as follows
on the first two lines of the following array of booleans
CHECK fs/smb2/misc.c
fs/smb2/misc.c:456:23: warning: Initializer entry defined twice
fs/smb2/misc.c:457:27: also defined here
static const bool has_smb2_data_area[NUMBER_OF_SMB2_COMMANDS] = {
/* SMB2_NEGOTIATE */ true,
/* SMB2_SESSION_SETUP */ true,
/* SMB2_LOGOFF */ false,
/* SMB2_TREE_CONNECT */ false,
/* SMB2_TREE_DISCONNECT */ ...
| May 6, 4:43 pm 2010 |
| Mel Gorman | [PATCH 0/2] Fix migration races in rmap_walk() V7
No major change since V6, just looks nicer.
Changelog since V6
o Make the nested anon_vma lock taking prettier
Changelog since V5
o Have rmap_walk take anon_vma locks in order starting from the "root"
o Ensure that mm_take_all_locks locks VMAs in the same order
Changelog since V4
o Switch back anon_vma locking to put bulk of locking in rmap_walk
o Fix anon_vma lock ordering in exec vs migration race
Changelog since V3
o Rediff against the latest upstream tree
o Improve ...
| May 6, 4:20 pm 2010 |
| Mel Gorman | [PATCH 2/2] mm,migration: Fix race between shift_arg_pag ...
From: Andrea Arcangeli <aarcange@redhat.com>
Page migration requires rmap to be able to find all migration ptes
created by migration. If the second rmap_walk clearing migration PTEs
misses an entry, it is left dangling causing a BUG_ON to trigger during
fault. For example;
[ 511.201534] kernel BUG at include/linux/swapops.h:105!
[ 511.201534] invalid opcode: 0000 [#1] PREEMPT SMP
[ 511.201534] last sysfs file: /sys/block/sde/size
[ 511.201534] CPU 0
[ 511.201534] Modules linked in: ...
| May 6, 4:20 pm 2010 |
| Mel Gorman | [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] s ...
vma_adjust() is updating anon VMA information without locks being taken.
In contrast, file-backed mappings use the i_mmap_lock and this lack of
locking can result in races with users of rmap_walk such as page migration.
vma_address() can return -EFAULT for an address that will soon be valid.
For migration, this potentially leaves a dangling migration PTE behind
which can later cause a BUG_ON to trigger when the page is faulted in.
With the recent anon_vma changes, there can be more than one ...
| May 6, 4:20 pm 2010 |
| Steven Rostedt | [PATCH 1/3] tracing: Make the documentation clear on tra ...
From: Li Zefan <lizf@cn.fujitsu.com>
Make it clear that event-list is a comma separated list of events.
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4B2F154C.2060503@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
Documentation/trace/events.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/trace/events.txt ...
| May 6, 4:05 pm 2010 |
| Steven Rostedt | [PATCH 0/3] [GIT PULL] tracing: various fixes
Ingo,
Please pull the latest tip/tracing/core tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/core
Li Zefan (1):
tracing: Make the documentation clear on trace_event boot option
Steven Rostedt (1):
tracing: Fix tracepoint.h DECLARE_TRACE() to allow more than one header
Thiago Farina (1):
tracing: Fix "integer as NULL pointer" warning.
----
Documentation/trace/events.txt | 3 +-
...
| May 6, 4:04 pm 2010 |
| Steven Rostedt | [PATCH 2/3] tracing: Fix tracepoint.h DECLARE_TRACE() to ...
From: Steven Rostedt <srostedt@redhat.com>
When more than one header is included under CREATE_TRACE_POINTS
the DECLARE_TRACE() macro is not defined back to its original meaning
and the second include will fail to initialize the TRACE_EVENT()
and DECLARE_TRACE() correctly.
To fix this the tracepoint.h file moves the define of DECLARE_TRACE()
out of the #ifdef _LINUX_TRACEPOINT_H protection (just like the
define of the TRACE_EVENT()). This way the define_trace.h will undef
the DECLARE_TRACE() ...
| May 6, 4:05 pm 2010 |
| Steven Rostedt | [PATCH 3/3] tracing: Fix "integer as NULL pointer" warning.
From: Thiago Farina <tfransosi@gmail.com>
kernel/trace/trace_output.c:256:24: warning: Using plain integer as NULL pointer
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
LKML-Reference: <1264349038-1766-3-git-send-email-tfransosi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
kernel/trace/trace_output.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c
index 8e46b33..2404c12 ...
| May 6, 4:05 pm 2010 |
| Ha, Tristram | [PATCH 2.6.34-rc6] net: Improve ks8851 snl transmit perf ...
From: Tristram Ha <Tristram.Ha@micrel.com>
Under heavy transmission the driver will put 4 1514-byte packets in queue and stop the device transmit queue. Only the last packet triggers the transmit done interrupt and wakes up the device transmit queue. That means a bit of time is wasted when the CPU cannot send any more packet.
The new implementation triggers the transmit interrupt when the transmit buffer left is less than 3 packets. The maximum transmit buffer size is 6144 bytes. This allows ...
| May 6, 3:50 pm 2010 |
| Steven J. Magnani | [PATCH] microblaze: fix get_user/put_user side-effects
The Microblaze implementations of get_user() and (MMU) put_user() evaluate
the address argument more than once. This causes unexpected side-effects for
invocations that include increment operators, i.e. get_user(foo, bar++).
This patch also removes the distinction between MMU and noMMU put_user().
Without the patch:
$ echo 1234567890 > /proc/sys/kernel/core_pattern
$ cat /proc/sys/kernel/core_pattern
12345
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
---
diff -uprN ...
| May 6, 2:38 pm 2010 |
| Pavan Savoy | RE: [PATCH] drivers: staging: GPS protocol driver for wl128x
Just to add, I would have 1 more problem to address, How can I link up my tty->disc_data with my platform-data ?
--
| May 6, 2:34 pm 2010 |
| Ingo Molnar | [GIT PULL] RCU fixes
Linus,
Please pull the latest core-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus
This addresses all known CONFIG_PROVE_RCU warnings (modulo 3 fixes pending in
maintainer trees).
Thanks,
Ingo
------------------>
David Howells (2):
KEYS: Fix an RCU warning
KEYS: Fix an RCU warning in the reading of user keys
Li Zefan (4):
cgroup: Fix an RCU warning in cgroup_path()
cgroup: Fix ...
| May 6, 2:08 pm 2010 |
| H Hartley Sweeten | [PATCH] spi_bitbang: move txrx utility functions to priv ...
A number of files in drivers/spi fail checkincludes.pl due to the double
include of <linux/spi/spi_bitbang.h>.
The first include is needed to get the struct spi_bitbang definition and
the spi_bitbang_* function prototypes.
The second include happens after defining EXPAND_BITBANG_TXRX to get the
inlined bitbang_txrx_* utility functions.
The <linux/spi/spi_bitbang.h> header is also included by a number of other
spi drivers, as well as some arch/ code, in order to use struct spi_bitbang
and ...
| May 6, 1:51 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] One more additional RCU fix for 2.6.34
Pulled, thanks Paul!
Ingo
--
| May 6, 1:44 pm 2010 |
| Paul E. McKenney | [GIT PULL] One more additional RCU fix for 2.6.34
Hello again, Ingo,
Here is one more commit with the RCU infrastructure for an RCU-lockdep
fix in vfs.
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/urgent
The actual fix in vfs will be sent to the vfs folks once the above commit
hits mainline. In the meantime, I am carrying the vfs commit in my -rcu
tree as branch vfs.2010.05.06a.
Thanx, Paul
------------------>
Paul E. McKenney <paulmck@linux.vnet.ibm.com> (1)
rcu: create ...
| May 6, 1:26 pm 2010 |
| Alan Stern | Re: [PATCH] USB: isp1760: Soften DW3 X/transaction error ...
Yes, it is described implicitly in the EHCI spec, section 4.10.3.
Transaction errors cause the status field to be updated to reflect the
type of error, but the transaction continues to be retried until the
Active bit is set to 0. When the error counter reaches 0, the Halt bit
is set and the Active bit is cleared.
Alan Stern
--
| May 6, 12:53 pm 2010 |
| Anton Vorontsov | [PATCH v2] USB: isp1760: Soften DW3 X/transaction error ...
There were some reports[1] of isp1760 USB driver malfunctioning
with high speed devices, noticed on Blackfin and PowerPC targets.
These reports indicated that the original Philips 'pehcd'[2]
driver worked fine.
We've noticed the same issue with an ARM RealView platform. This
happens under load (with only some mass storage devices, not all,
just as in another report[3]):
error bit is set in DW3
error bit is set in DW3
error bit is set in DW3
usb 1-1.2: device descriptor read/64, ...
| May 6, 2:09 pm 2010 |
| Alan Stern | Re: [PATCH 1/8] PM: Add suspend block api.
But how do you know that processes won't get unfrozen until all the
pending IRQs have been handled? Imagine something like this:
CPU 0 CPU 1
----- -----
Wake up non-boot CPUs
Resume devices Invoke the IRQ handler
[ CPU 0 should wait here for the handler to finish,
but it doesn't ]
Defrost threads Handler running...
Workqueue routine runs
Start another suspend
Handler enables a suspend blocker,
but it's too late
Alan Stern
--
| May 6, 12:40 pm 2010 |
| Arve Hjønnevåg | Re: [PATCH 1/8] PM: Add suspend block api.
It is not optimal, but it is not too late. We check if any suspend
blockers block suspend after disabling non-boot cpus so as long as
this is done in a way that does not lose interrupts the resuspend
attempt will not succeed.
--
Arve Hjønnevåg
--
| May 6, 4:48 pm 2010 |
| viscoelastic Presley | Hospitals mailing lists
I have many different good quality lists from various sources. The prices are relatively low as well. Drop me a line here: Adan.Barlow@realresults.co.cc
I'll get you all the details and samples.
By emailing disappear@realresults.co.cc you will have your email taken off
--
| May 6, 12:14 pm 2010 |
| Mike Frysinger | Re: [PATCH] USB: isp1760: Soften DW3 X/transaction error ...
i doubt you feel like resending, but this is a better link:
http://blackfin.uclinux.org/gf/tracker/5148
-mike
--
| May 6, 12:23 pm 2010 |
| Anton Vorontsov | [PATCH] USB: isp1760: Soften DW3 X/transaction error bit ...
There were some reports[1] of isp1760 USB driver malfunctioning
with high speed devices, noticed on Blackfin and PowerPC targets.
These reports indicated that the original Philips 'pehcd'[2]
driver worked fine.
We've noticed the same issue with an ARM RealView platform. This
happens under load (with only some mass storage devices, not all,
just as in another report[3]):
error bit is set in DW3
error bit is set in DW3
error bit is set in DW3
usb 1-1.2: device descriptor read/64, ...
| May 6, 12:15 pm 2010 |
| Greg KH | [PATCH] x86: detect running on a HyperV system
From: Ky Srinivasan <ksrinivasan@novell.com>
This patch integrates HyperV detection within the framework currently
used by VmWare. With this patch, we can avoid having to replicate the
HyperV detection code in each of the Microsoft HyperV drivers.
Reworked and tweaked by Greg K-H to build properly.
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Vadim Rozenfeld ...
| May 6, 12:08 pm 2010 |
| H. Peter Anvin | Re: [PATCH] x86: detect running on a HyperV system
I'd prefer to take it in -tip, partly because I would like to rework a
few things -- including preexisting braindamage like c->x86_hyper_vendor
(since when was hypervisor vendor a per-cpu property!?)
I'll try to get to it today, if not feel free to bug me.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| May 6, 12:13 pm 2010 |
| Greg KH | Re: [PATCH] x86: detect running on a HyperV system
Heh, good point, but where should it live?
Will do :)
thanks again,
greg k-h
--
| May 6, 12:18 pm 2010 |
| H. Peter Anvin | Re: [PATCH] x86: detect running on a HyperV system
Probably just make it a global variable, or somesuch.
-hpa
--
| May 6, 2:23 pm 2010 |
| Christoph Hellwig | Re: [PATCH 3/3] Btrfs: add basic DIO read support
KM_USER0 seems wrong given that the bio completion callback can and
Don't you need to do some alignment checks of your own given that you
don't pass in a block device?
Btw, passing in the bdev here is a really horrible API, I'd much rather
move this to the callers..
--
| May 6, 2:14 pm 2010 |
| Josef Bacik | [PATCH 3/3] Btrfs: add basic DIO read support
This provides basic DIO support for reads only. It does not do any of the work
to recover from mismatching checksums, that will come later. A few design
changes have been made from Jim's code (sorry Jim!)
1) Use the generic direct-io code. Jim originally re-wrote all the generic DIO
code in order to account for all of BTRFS's oddities, but thanks to that work it
seems like the best bet is to just ignore compression and such and just opt to
fallback on buffered IO.
2) Fallback on buffered ...
| May 6, 12:01 pm 2010 |
| Josef Bacik | [PATCH 2/3] direct-io: add a hook for the fs to provide ...
Because BTRFS can do RAID and such, we need our own submit hook so we can setup
the bio's in the correct fashion, and handle checksum errors properly. So there
are a few changes here
1) The submit_io hook. This is straightforward, just call this instead of
submit_bio.
2) Honor the boundary flag a little more specifically. BTRFS needs to supply
the _logical_ offset to the map_bh in it's get_block function so when we go to
submit the IO we can look up the right checksum information. In ...
| May 6, 12:00 pm 2010 |
| Christoph Hellwig | Re: [PATCH 2/3] direct-io: add a hook for the fs to prov ...
What about making sure that dio->submit_io is always set in
These hunk seem like they're unrealted to the actual hook, I'd rather
Please don't add another wrapper. At this point I'd suggest just using
__blockdev_direct_IO for everything but the trivial blockdev_direct_IO
and also kill blockdev_direct_IO_no_locking.
--
| May 6, 2:09 pm 2010 |
| Josef Bacik | [PATCH 1/3] fs: allow short direct-io reads to be comple ...
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or inline extent during DIO, we need to fallback on buffered. If the
extent is compressed we need to read the ...
| May 6, 12:00 pm 2010 |
| Alan Stern | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
This comes down mostly to efficiency. Although the suspend blocker
patch does the actual suspending in a workqueue thread, AFAIK there's
no reason it couldn't use a user thread instead.
The important difference lies in what happens when a suspend fails
because a driver is busy. Without suspend blockers, the kernel has to
go through the whole procedure of freezing userspace and kernel threads
and then suspending a bunch of drivers before hitting the one that's
busy. Then all that work has ...
| May 6, 11:47 am 2010 |
| astuzokay@netzero.net | HELLO
astuzokaya@yahoo.co.uk ,
my name is Miss astu.
It gives me great pleasure by seeing your mail.i felt very happy for having a net friend.i will be greatfulif we continue our relationship as long as it goes.after seeing your mail,so that i can send my pictures to you;i felt more interested in knowing more about you in person & personal life.As far as i am concerned, being a normal person leading a normal life presently residing .
Hope so you will reply soon with my private email
( ...
| May 6, 11:14 am 2010 |
| Russell King - ARM Linux | Re: [PATCH] removing redundant ifdefs
I've not received any patches relating to the above, but I seem to
have received everything else, including stuff for PPC and x86.
Maybe you've negated the list of people to send patches to?
--
| May 6, 11:01 am 2010 |
| Srikar Dronamraju | [PATCH v3 0/10] Uprobes v3
intro.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Uprobes Patches
Changelog from v2:
- Addressed comments from Oleg, including removal of interrupt context
handlers, reverting background page replacement in favour of
access_process_vm().
- Provides perf interface for uprobes.
Changelog from v1:
- Added trace_event interface for uprobes.
- Addressed comments from Andrew Morton and Randy Dunlap.
For previous posting: please refer: ...
| May 6, 11:01 am 2010 |
| Srikar Dronamraju | [PATCH v3 1/10] X86 instruction analysis: Move Macro W t ...
move_W_to_insn.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Move Macro W to asm/insn.h
Macro W used to know if the instructions are valid for
user-space/kernel space. This macro is used by kprobes and
user_bkpt. (i.e user space breakpoint assistance layer.) So moving it
to a common header file asm/insn.h.
TODO: replace macro W with bits in inat table. (suggested by Masami Hiramatsu)
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
---
...
| May 6, 11:01 am 2010 |
| Srikar Dronamraju | [PATCH v3 2/10] User Space Breakpoint Assistance Layer
user_bkpt_core.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
User Space Breakpoint Assistance Layer (USER_BKPT)
Changelog from v2: (addressing comments from Oleg)
* Use access_process_vm instead of replace_page based
background page replacement.
Changelog from v1:
* Use k(un)map_atomic instead of k(un)map.
* Remove BUG_ON.
* Few parameter changes to be more consistent with sparse.
* Added kernel-doc comments whereever necessary.
* Introduce a check to detect if ...
| May 6, 11:02 am 2010 |
| Srikar Dronamraju | [PATCH v3 3/10] x86 support for User space breakpoint as ...
x86_support_for_user_bkpt.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
x86 support for user breakpoint Infrastructure
Changelog:
set USER_BKPT_FIX_SLEEPY if post_xol might sleep.
This patch provides x86 specific userspace breakpoint assistance
implementation details. It uses the "x86: instruction decoder API" patch
to do validate and analyze the instructions. This analysis is used at
the time of post-processing of breakpoint hit to do the necessary
fix-ups.
Almost all ...
| May 6, 11:02 am 2010 |
| Srikar Dronamraju | [PATCH v3 4/10] Slot allocation for execution out of lin ...
user_bkpt_xol.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Changelog from v2: (addressing Oleg's comments)
* Removed code in !CONFIG_USER_BKPT_XOL
* Functions now pass pointer to user_bkpt_xol_area instead of pointer
to void.
Slot allocation for Execution out of line strategy(XOL)
This patch provides slot allocation mechanism for execution out of
line strategy for use with user space breakpoint infrastructure.
Traditional method of replacing the original instructions ...
| May 6, 11:02 am 2010 |
| Srikar Dronamraju | [PATCH v3 5/10] Uprobes Implementation
uprobes_core.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Uprobes Implementation
Changelog from v2:
- Introduce TIF_UPROBED flag.
- uprobes hooks now in fork/exec/exit paths instead of tracehooks.
- uprobe_process is now part of the mm struct and is shared between
processes that share the mm.
- per thread information is now allocated on the fly.
* Hence allocation and freeing of this information is lockless.
- For now run the handler only ...
| May 6, 11:02 am 2010 |
| Srikar Dronamraju | [PATCH v3 6/10] x86 support for Uprobes
uprobes_x86.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
X86 support for Uprobes
This patch provides x86 specific details for uprobes.
This includes interrupt notifier for uprobes, enabling/disabling
singlestep.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
arch/x86/Kconfig | 1 +
arch/x86/kernel/Makefile | 1 +
arch/x86/kernel/signal.c | 12 +++++++
...
| May 6, 11:02 am 2010 |
| Srikar Dronamraju | [PATCH v3 7/10] samples: Uprobes samples
samples.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Uprobes Samples
This provides an example uprobes module in the samples directory.
To run this module run (as root)
insmod uprobe_example.ko vaddr=<vaddr> pid=<pid>
Where <vaddr> is the address where we want to place the probe.
<pid> is the pid of the process we are interested to probe.
example: -
# cd samples/uprobes
[get the virtual address to place the probe.]
# vaddr=0x$(objdump -T /bin/bash |awk ...
| May 6, 11:03 am 2010 |
| Srikar Dronamraju | [PATCH v3 8/10] Uprobes documentation.
uprobes-documentation.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Uprobes documentation.
Signed-off-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
---
Documentation/uprobes.txt | 236 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 236 insertions(+), 0 deletions(-)
create mode 100644 Documentation/uprobes.txt
diff --git a/Documentation/uprobes.txt b/Documentation/uprobes.txt
new file mode ...
| May 6, 11:03 am 2010 |
| Srikar Dronamraju | [PATCH v3 9/10] trace: uprobes trace_event interface
uprobes_trace_events.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
The following patch implements trace_event support for uprobes. In its
current form it can be used to put probes at a specified text address
in a process and dump the required registers when the code flow reaches
the probed address.
This is based on trace_events for kprobes to the extent that it may
resemble that file on 2.6.34-rc3.
The following example shows how to dump the instruction pointer and %ax ...
| May 6, 11:03 am 2010 |
| Srikar Dronamraju | [PATCH v3 10/10] perf: perf interface for uprobes.
perf-events.patch
From: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
This patch enhances perf probe to accept pid and user vaddr.
This patch provides very basic support for uprobes.
TODO:
Update perf-probes.txt.
Global tracing.
Here is a terminal snapshot of placing, using and removing a probe on a
process with pid 3329 (corresponding to zsh)
[ Probing a function in the executable using function name ]
-------------------------------------------------------------
[root@ABCD]# perf ...
| May 6, 11:03 am 2010 |
| Masami Hiramatsu | Re: [PATCH v3 10/10] perf: perf interface for uprobes.
Could you also rebase your patch on the latest tip tree? :)
Hmm, I'm not sure why we have to specify both of PID and exec name.
Is that possible to give a symbol as below? (omit exec name)
Hmm, the event name should be simpler, as like as zfree_3329.
or, we might better make a new event group for each process, as like as
Looks great! :D
Some comments on the patch.
Hmm, if user gave --list with -p, what happened?
Again, it must be checked that the combination of -p option ...
| May 6, 4:13 pm 2010 |
| astuzokaya@netzero.net | astuzokaya@yahoo.co.uk
HELLO,
my name is Miss astu.
It gives me great pleasure by seeing your mail.i felt very happy for having a net
friend.i will be greatfulif we continue our relationship as long as it goes.after seeing
your mail,so that i can send my pictures to you;i felt more interested in knowing more
about you in person & personal life.As far as i am concerned, being a normal person
leading a normal life presently residing .
Hope so you will reply soon with my private email asddress so that i will get back ...
| May 6, 8:28 am 2010 |
| Corey Minyard | [PATCH] ipmi: Update driver to use dev_printk and its co ...
From: Myron Stowe <myron.stowe@hp.com>
Update core IPMI driver printk()'s with dev_printk(), and its constructs,
to provide additional device topology information.
An example of the additional device topology for a PNP device -
ipmi_si 00:02: probing via ACPI
ipmi_si 00:02: [io 0x0ca2-0x0ca3] regsize 1 spacing 1 irq 0
ipmi_si 00:02: Found new BMC (man_id: 0x00000b, prod_id: 0x0000, ...
ipmi_si 00:02: IPMI kcs interface initialized
and for a PCI device -
ipmi_si 0000:01:04.6: ...
| May 6, 10:55 am 2010 |
| H Hartley Sweeten | [PATCH] i2c: use <linux/io.h> instead of <asm/io.h>
As warned by checkpatch.pl, <linux/io.h> should be used instead of
<asm.io.h>.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
---
diff --git a/drivers/i2c/busses/i2c-ali1535.c b/drivers/i2c/busses/i2c-ali1535.c
index bd8f1e4..906a3ca 100644
--- a/drivers/i2c/busses/i2c-ali1535.c
+++ b/drivers/i2c/busses/i2c-ali1535.c
@@ -60,7 +60,7 @@
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/acpi.h>
-#include <asm/io.h>
+#include <linux/io.h>
/* ...
| May 6, 10:53 am 2010 |
| Jiri Olsa | [PATCH 11/13] drivers/video: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
drivers/video/atafb.c | 2 --
drivers/video/matrox/matroxfb_DAC1064.c | 5 +----
2 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c
index f3aada2..5b2b5ef 100644
--- a/drivers/video/atafb.c
+++ b/drivers/video/atafb.c
@@ -1718,11 +1718,9 @@ static int falcon_setcolreg(unsigned int regno, unsigned int red,
(((red & 0xe000) >> 13) | ((red & ...
| May 6, 10:36 am 2010 |
| Randy Dunlap | Re: [PATCH] removing redundant ifdefs
what script, please?
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 10:43 am 2010 |
| Jiri Olsa | [PATCH 05/13] s390: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/s390/include/asm/processor.h | 5 -----
arch/s390/kernel/vdso.c | 4 ----
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
index 73e2598..ced1714 100644
--- a/arch/s390/include/asm/processor.h
+++ b/arch/s390/include/asm/processor.h
@@ -52,8 +52,6 @@ extern int get_cpu_capability(unsigned int *);
#endif /* __s390x__ */
...
| May 6, 10:36 am 2010 |
| Kyle McMartin | Re: [PATCH 09/13] parisc: removing redundant ifdef
Thanks, looks good. Applied.
--Kyle
--
| May 6, 10:40 am 2010 |
| Jiri Olsa | [PATCH 13/13] drivers/ata: removing redundant ifdef
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
drivers/ata/ahci.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 8b502f4..5326af2 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -3179,7 +3179,6 @@ static bool ahci_broken_online(struct pci_dev *pdev)
#ifdef CONFIG_ATA_ACPI
static void ahci_gtf_filter_workaround(struct ata_host *host)
{
-#ifdef CONFIG_ATA_ACPI
static const struct ...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 06/13] mn10300: removing redundant ifdef
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/mn10300/include/asm/pgtable.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/mn10300/include/asm/pgtable.h b/arch/mn10300/include/asm/pgtable.h
index 16d8857..ace79eb 100644
--- a/arch/mn10300/include/asm/pgtable.h
+++ b/arch/mn10300/include/asm/pgtable.h
@@ -213,8 +213,6 @@ do { \
#define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT))
-#ifndef __ASSEMBLY__
-
/*
* The ...
| May 6, 10:36 am 2010 |
| Russell King - ARM Linux | Re: [PATCH 03/13] arm: removing redundant ifdefs
Ah, it's finally come through.
This is wrong. There is a preceding #ifdef CONFIG_ARCH_OMAP2PLUS, but
there's also a preceding #endif terminating that conditional section.
--
| May 6, 12:36 pm 2010 |
| Jiri Olsa | [PATCH 03/13] arm: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/arm/include/asm/processor.h | 2 --
arch/arm/mach-ixp23xx/include/mach/platform.h | 3 ---
arch/arm/plat-omap/include/plat/clock.h | 5 -----
3 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
index 6a89567..7dcae33 100644
--- a/arch/arm/include/asm/processor.h
+++ b/arch/arm/include/asm/processor.h
@@ -22,11 +22,9 ...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 01/13] kernel/fs/security: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
fs/ext4/super.c | 2 --
include/linux/socket.h | 4 ----
kernel/sched.c | 6 ------
kernel/srcu.c | 2 --
security/capability.c | 2 --
sound/pci/au88x0/au88x0_core.c | 4 ----
6 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index e14d22c..afba6f0 100644
--- a/fs/ext4/super.c
+++ ...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 10/13] drivers/scsi: removing redundant ifdef
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
drivers/scsi/aic7xxx_old.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
index 93984c9..c0953be 100644
--- a/drivers/scsi/aic7xxx_old.c
+++ b/drivers/scsi/aic7xxx_old.c
@@ -9655,9 +9655,7 @@ aic7xxx_detect(struct scsi_host_template *template)
found++;
continue;
skip_pci_controller:
-#ifdef CONFIG_PCI
...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 08/13] powerpc: removing redundant ifdefs
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/powerpc/include/asm/vdso_datapage.h | 2 --
arch/powerpc/kernel/traps.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/include/asm/vdso_datapage.h b/arch/powerpc/include/asm/vdso_datapage.h
index 13c2c28..7c9cfe9 100644
--- a/arch/powerpc/include/asm/vdso_datapage.h
+++ b/arch/powerpc/include/asm/vdso_datapage.h
@@ -114,9 +114,7 @@ struct vdso_data {
#endif /* ...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 02/13] ia64: removing redundant ifdef
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/ia64/include/asm/mmzone.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/ia64/include/asm/mmzone.h b/arch/ia64/include/asm/mmzone.h
index f2ca320..e0de617 100644
--- a/arch/ia64/include/asm/mmzone.h
+++ b/arch/ia64/include/asm/mmzone.h
@@ -19,16 +19,12 @@
static inline int pfn_to_nid(unsigned long pfn)
{
-#ifdef CONFIG_NUMA
extern int paddr_to_nid(unsigned long);
int nid = ...
| May 6, 10:36 am 2010 |
| Jiri Olsa | [PATCH 07/13] h8300: removing redundant ifdef
wbr,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
arch/h8300/include/asm/tlb.h | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/arch/h8300/include/asm/tlb.h b/arch/h8300/include/asm/tlb.h
index 3dea80a..6339a02 100644
--- a/arch/h8300/include/asm/tlb.h
+++ b/arch/h8300/include/asm/tlb.h
@@ -7,17 +7,4 @@
#define tlb_flush(tlb) do { } while(0)
-/*
- include/asm-h8300/tlb.h
-*/
-
-#ifndef __H8300_TLB_H__
-#define ...
| May 6, 10:36 am 2010 |
| Valdis.Kletnieks | 2.6.34-rc5-mmotm0428 - 2 RCU whinges in mac80211
Spotted these in my dmesg, hopefully somebody is interested...
[ 54.076863] wlan0: deauthenticating from 00:11:20:a4:4c:11 by local choice (reason=3)
[ 54.080580]
[ 54.080581] ===================================================
[ 54.080584] [ INFO: suspicious rcu_dereference_check() usage. ]
[ 54.080586] ---------------------------------------------------
[ 54.080589] net/mac80211/sta_info.c:858 invoked rcu_dereference_check() without protection!
[ 54.080591]
[ 54.080591] ...
| May 6, 10:35 am 2010 |
| Johannes Berg | Re: 2.6.34-rc5-mmotm0428 - 2 RCU whinges in mac80211
I'm pretty sure I fixed those so there should be a patch on its way to
or in mainline somewhere.
johannes
--
| May 6, 10:58 am 2010 |
| Valdis.Kletnieks | Re: 2.6.34-rc5-mmotm0428 - 2 RCU whinges in mac80211
Oh, OK. I didn't remember seeing them mentioned before, but I must have
missed somebody else's post about it due to the lkml firehose effect. I've
moved these to my "whinge if it isn't fixed in the next -mmotm" queue.
| May 6, 11:29 am 2010 |
| Len Brown | Re: [PATCH] ACPI: sleep: init_set_sci_en_on_resume for D ...
applied, along with achiang's lenovo list.
looking forward to deleting this list in 2.6.35...
thanks,
Len Brown, Intel Open Source Technology Center
--
| May 6, 10:23 am 2010 |
| Tejun Heo | [GIT PULL sched/core] cpu_stop: implement and use cpu_st ...
Hello, Ingo.
Please pull from the following branch to receive cpu_stop patches.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cpu_stop
Adding mb()'s in synchronize_sched_expedited() is the only change
since the last take[2]. Both Peter and Paul have acked the patchset.
I'll post the patchset as replies to this message.
This patchset is on top of the current sched/core (99bd5e2f) and
contains the following changes.
Paul E. McKenney (1):
scheduler: correctly place ...
| May 6, 9:52 am 2010 |
| Tejun Heo | [PATCH 5/5] sched: correctly place paranioa memory barri ...
From: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
The memory barriers must be in the SMP case, not in the !SMP case.
Also add a barrier after the atomic_inc() in order to ensure that
other CPUs see post-synchronize_sched_expedited() actions as following
the expedited grace period.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
---
kernel/sched.c | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff ...
| May 6, 9:52 am 2010 |
| Tejun Heo | [PATCH 4/5] sched: kill paranoia check in synchronize_sc ...
The paranoid check which verifies that the cpu_stop callback is
actually called on all online cpus is completely superflous. It's
guaranteed by cpu_stop facility and if it didn't work as advertised
other things would go horribly wrong and trying to recover using
synchronize_sched() wouldn't be very meaningful.
Kill the paranoid check. Removal of this feature is done as a
separate step so that it can serve as a bisection point if something
actually goes wrong.
Signed-off-by: Tejun Heo ...
| May 6, 9:52 am 2010 |
| Tejun Heo | [PATCH 3/5] sched: replace migration_thread with cpu_stop
Currently migration_thread is serving three purposes - migration
pusher, context to execute active_load_balance() and forced context
switcher for expedited RCU synchronize_sched. All three roles are
hardcoded into migration_thread() and determining which job is
scheduled is slightly messy.
This patch kills migration_thread and replaces all three uses with
cpu_stop. The three different roles of migration_thread() are
splitted into three separate cpu_stop callbacks -
migration_cpu_stop(), ...
| May 6, 9:52 am 2010 |
| Tejun Heo | [PATCH 2/5] stop_machine: reimplement using cpu_stop
Reimplement stop_machine using cpu_stop. As cpu stoppers are
guaranteed to be available for all online cpus,
stop_machine_create/destroy() are no longer necessary and removed.
With resource management and synchronization handled by cpu_stop, the
new implementation is much simpler. Asking the cpu_stop to execute
the stop_cpu() state machine on all online cpus with cpu hotplug
disabled is enough.
stop_machine itself doesn't need to manage any global resources
anymore, so all per-instance ...
| May 6, 9:52 am 2010 |
| Tejun Heo | [PATCH 1/5] cpu_stop: implement stop_cpu[s]()
Implement a simplistic per-cpu maximum priority cpu monopolization
mechanism. A non-sleeping callback can be scheduled to run on one or
multiple cpus with maximum priority monopolozing those cpus. This is
primarily to replace and unify RT workqueue usage in stop_machine and
scheduler migration_thread which currently is serving multiple
purposes.
Four functions are provided - stop_one_cpu(), stop_one_cpu_nowait(),
stop_cpus() and try_stop_cpus().
This is to allow clean sharing of resources ...
| May 6, 9:52 am 2010 |
| Paul E. McKenney | Re: [PATCH 3/5] sched: replace migration_thread with cpu_stop
With the two patches submitted:
--
| May 6, 12:29 pm 2010 |
| Mikulas Patocka | Testers needed - Maxtor performance degradation
Hi
When I was examining a reported performance degradation, I found out that
the reason was buggy firmware in Maxtor Atlas 15K2 SCSI disks. If the
requests are larger than 256kB, read rate drops excessively, even to one
half of the normal read rate.
Performance on these disks improves if the request size is limited with
echo 256 >/sys/block/sdc/queue/max_sectors_kb
I remember seeing similar problem (increased transfer size => decreased
performance) with IDE and SATA Maxtor disks some ...
| May 6, 9:15 am 2010 |
| Tvrtko Ursulin | Re: Testers needed - Maxtor performance degradation
On Thursday 06 May 2010 17:15:58 Mikulas Patocka wrote:
Here is one:
MAXTOR ATLAS10K5_073SAS BP00
64 kB: 86.7 MB/s
128 kB: 86.6 MB/s
192 kB: 86.6 MB/s
256 kB: 86.1 MB/s
320 kB: 39.9 MB/s
384 kB: 41.1 MB/s
448 kB: 41.3 MB/s
512 kB: 44.2 MB/s
576 kB: 49.7 MB/s
640 kB: 42.8 MB/s
704 kB: 47.0 MB/s
768 kB: 46.4 MB/s
832 kB: 59.1 MB/s
896 kB: 55.6 MB/s
960 kB: 57.2 MB/s
1024 kB: 59.3 MB/s
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg ...
| May 6, 9:23 am 2010 |
| Paolo Ornati | Re: Testers needed - Maxtor performance degradation
On Thu, 6 May 2010 12:15:58 -0400 (EDT)
ATA MAXTOR STM316021 3.AA
64 kB: 78.9 MB/s
128 kB: 79.1 MB/s
192 kB: 79.1 MB/s
256 kB: 78.6 MB/s
320 kB: 79.1 MB/s
384 kB: 78.9 MB/s
448 kB: 79.0 MB/s
512 kB: 79.1 MB/s
576 kB: 79.0 MB/s
640 kB: 79.1 MB/s
704 kB: 79.0 MB/s
768 kB: 79.1 MB/s
832 kB: 79.0 MB/s
896 kB: 79.0 MB/s
960 kB: 79.1 MB/s
1024 kB: 78.8 MB/s
--
Paolo Ornati
Linux 2.6.34-rc6-00063-gbe1066b on x86_64
--
| May 6, 11:32 am 2010 |
| Alan Stern | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
The wakeup bits get set later, in ehci_set_wakeup_flags().
The point is that the wakeup bits take effect only when the controller
leaves D0. But ehci_bus_suspend() is called when the root hub is
suspended, which happens first. So at that time the wakeup bits aren't
needed.
Alan Stern
--
| May 6, 9:06 am 2010 |
| RafaÅ MiÅecki | Re: linux-next - drm/ttm versus nouveau - WARNING and de ...
Can this be duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=27822 ?
--
Rafał
--
| May 6, 9:16 am 2010 |
| Valdis.Kletnieks | linux-next - drm/ttm versus nouveau - WARNING and dead driver.
Bisected down to:
82c5da6bf8b55a931b042fb531083863d26c8020 is the first bad commit
commit 82c5da6bf8b55a931b042fb531083863d26c8020
Author: Jerome Glisse <jglisse@redhat.com>
Date: Fri Apr 9 14:39:23 2010 +0200
drm/ttm: ttm_fault callback to allow driver to handle bo placement V6
On fault the driver is given the opportunity to perform any operation
it sees fit in order to place the buffer into a CPU visible area of
memory. This patch doesn't break TTM users, nouveau, ...
| May 6, 9:06 am 2010 |
| Jerome Glisse | Re: linux-next - drm/ttm versus nouveau - WARNING and de ...
Yes this is a duplicate of :
https://bugs.freedesktop.org/show_bug.cgi?id=27822
The patch attached in the bug should fix your issue. Sorry for the
trouble.
Cheers,
Jerome
--
| May 6, 9:56 am 2010 |
| Valdis.Kletnieks | Re: linux-next - drm/ttm versus nouveau - WARNING and de ...
Confirming that the patch does fix the problem, thanks.
| May 6, 10:09 am 2010 |
| Stefan Achatz | [PATCH] HID: add chardev to propagate special events of ...
>From 0692c53dfb745df62fd805fe089786951a8d96ec Mon Sep 17 00:00:00 2001
From: Stefan Achatz <erazor_de@users.sourceforge.net>
Date: Thu, 15 Apr 2010 17:24:45 +0200
Subject: [PATCH] HID: add chardev to propagate special events of Roccat hardware to userland
This mail was first sent on april 15th but was not noticed.
This Patch adds a chardev that is used to report special events
like request for on-screen-display of actual mouse-setting informations,
request for execution of macro sequences not ...
| May 6, 8:53 am 2010 |
| Mel Gorman | [PATCH 0/2] Fix migration races in rmap_walk() V6
Patch 1 of this series is the biggest change. Instead of the trylock+retry
logic, it finds the "root" anon_vma and locks all anon_vmas encountered. As
long as walkers taking multiple locks use the same order, there is no
deadlock. Stress-tests based on compaction have been running a while with
these patches applied without problems.
Changelog since V5
o Have rmap_walk take anon_vma locks in order starting from the "root"
o Ensure that mm_take_all_locks locks VMAs in the same ...
| May 6, 8:33 am 2010 |
| Mel Gorman | [PATCH 2/2] mm,migration: Fix race between shift_arg_pag ...
From: Andrea Arcangeli <aarcange@redhat.com>
Page migration requires rmap to be able to find all migration ptes
created by migration. If the second rmap_walk clearing migration PTEs
misses an entry, it is left dangling causing a BUG_ON to trigger during
fault. For example;
[ 511.201534] kernel BUG at include/linux/swapops.h:105!
[ 511.201534] invalid opcode: 0000 [#1] PREEMPT SMP
[ 511.201534] last sysfs file: /sys/block/sde/size
[ 511.201534] CPU 0
[ 511.201534] Modules linked in: ...
| May 6, 8:33 am 2010 |
| Mel Gorman | [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ksm] s ...
vma_adjust() is updating anon VMA information without locks being taken
unlike what happened in 2.6.33. In contrast, file-backed mappings use
the i_mmap_lock and this lack of locking can result in races with users of
rmap_walk such as page migration. vma_address() can return -EFAULT for an
address that will soon be valid. For migration, this potentially leaves
a dangling migration PTE behind which can later cause a BUG_ON to trigger
when the page is faulted in.
With the recent anon_vma ...
| May 6, 8:33 am 2010 |
| Rik van Riel | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
One conceptual problem here. By taking the oldest anon_vma,
instead of the anon_vma of the page, we may end up searching
way too many processes.
Eg. if the page is the page of a child process in a forking
server workload, the above code will end up searching the
parent and all of the siblings - even for a private page, in
the child process's private anon_vma.
For an Apache or Oracle system with 1000 clients (and child
processes), that could be quite a drag - searching 1000 times
as many ...
| May 6, 8:44 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
That does indeed suck. If we were always locking the root anon_vma, we'd get
away with it but that would involve introducing RCU into the munmap/mmap/etc
path. Is there any way around this problem or will migration just have to
take it on the chin until anon_vma is reference counted and we can
cheaply lock the root anon_vma?
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| May 6, 8:51 am 2010 |
| Linus Torvalds | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
[ Removed '-' lines to show the actual end result ]
That loop is f*cked up.
In the "goto next_vma" case, it will then test the 'ret' from the
_previous_ iteration after having unlocked the anon_vma. Which may not
even exist, if this is the first one.
Yes, yes, 'ret' is initialized to SWAP_AGAIN, so it will work, but it's
still screwed up. It's just _waiting_ for bugs to be introduced.
Just make the "goto out" case unlock thngs properly. Have a real exclusive
error return case ...
| May 6, 8:59 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
It obscures the unlocking slightly but it does look neater in the main
functions that call lock_nested_anon_vma. I considered for a while if
there was some macro magic that could be applied but it would be a
Can't argue with the logic and it does look a lot neater. This is what the
revised version looks like with that scheme. I changed the name of the locking
function slightly to be similar to the other anon_vma functions but that's
about it. rmap_walk_ksm still looks somewhat tortured ...
| May 6, 10:07 am 2010 |
| Robert Richter | [PATCH 2/7] oprofile/x86: remove CONFIG_SMP macros
CPU notifier register functions also exist if CONFIG_SMP is
disabled. This change is part of hotplug code rework and also
necessary for later patches.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 2458204..c5df8ee 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ ...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 0/7] oprofile/x86: fix cpu hotplug
This patch series fixes oprofile cpu hotplug. The code was broken and
causing crashes due to uninitialized counter usage. This can be only
fixed with a code rework. The first patch is to avoid kernel crashes
during cpu hotplug. This is a small fix for linux-stable.
Ingo, I will send a separate pull request.
-Robert
--
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 1/7] oprofile/x86: fix uninitialized counter usag ...
This fixes a NULL pointer dereference that is triggered when taking a
cpu offline after oprofile was initialized, e.g.:
$ opcontrol --init
$ opcontrol --start-daemon
$ opcontrol --shutdown
$ opcontrol --deinit
$ echo 0 > /sys/devices/system/cpu/cpu1/online
See the crash dump below. Though the counter has been disabled the cpu
notifier is still active and trying to use already freed counter data.
This fix is for linux-stable. To proper fix this, the hotplug code
must be rewritten. ...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 4/7] oprofile/x86: stop disabled counters in nmi ...
This patch adds checks to the nmi handler. Now samples are only
generated and counters reenabled, if the counters are running.
Otherwise the counters are stopped, if oprofile is using the nmi. In
other cases it will ignore the nmi notification.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c ...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 3/7] oprofile/x86: protect cpu hotplug sections
This patch reworks oprofile cpu hotplug code as follows:
Introduce ctr_running variable to check, if counters are running or
not. The state must be known for taking a cpu on or offline and when
switching counters during counter multiplexing.
Protect on_each_cpu() sections with get_online_cpus()/put_online_cpu()
functions. This is necessary if notifiers or states are
modified. Within these sections the cpu mask may not change.
Switch only between counters in nmi_cpu_switch(), if counters ...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 5/7] oprofile/x86: reordering some functions
Reordering some functions. Necessary for the next patch. No functional
changes.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 134 +++++++++++++++++++++---------------------
1 files changed, 67 insertions(+), 67 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 94b5481..7de0572 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -364,56 +364,6 ...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 7/7] oprofile/x86: make AMD IBS hotplug capable
Current IBS code is not hotplug capable. An offline cpu might not be
initialized or deinitialized properly. This patch fixes this by
removing on_each_cpu() functions. The IBS init/deinit code is executed
in the per-cpu functions model->setup_ctrs() and model->cpu_down()
which are also called by hotplug notifiers. model->cpu_down() replaces
model->exit() that became obsolete.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
...
| May 6, 6:26 am 2010 |
| Robert Richter | [PATCH 6/7] oprofile/x86: notify cpus only when daemon i ...
This patch moves the cpu notifier registration from nmi_init() to
nmi_setup(). The corresponding unregistration function is now in
nmi_shutdown(). Thus, the hotplug code is only active, if the oprofile
daemon is running.
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c ...
| May 6, 6:26 am 2010 |
| Alan Stern | Re: [PATCH 1/8] PM: Add suspend block api.
Here's a completely new issue. When using opportunistic suspends on an
SMP system, it could happen that the system gets a wakeup event and
this routine starts running again before the event's IRQ handler has
finished (or has enabled a suspend blocker). The system would
re-suspend too soon.
Is there anything in the PM core that waits until all outstanding IRQs
have been handled before unfreezing processes? If there is, I can't
find it. Should such a thing be added?
Alan Stern
--
| May 6, 8:18 am 2010 |
| Rafael J. Wysocki | Re: [PATCH 1/8] PM: Add suspend block api.
This routine will be run from a freezable workqueue.
Rafael
--
| May 6, 12:28 pm 2010 |
| Rik van Riel | Re: [PATCH] mm,compaction: Do not schedule work on other ...
Reviewed-by: Rik van Riel <riel@redhat.com>
--
| May 6, 8:33 am 2010 |
| Mel Gorman | [PATCH] mm,compaction: Do not schedule work on other CPU ...
Migration normally requires a call to migrate_prep() as a preparation
step. This schedules work on all CPUs for pagevecs to be drained. This
makes sense for move_pages and memory hot-remove but is unnecessary
for memory compaction.
To avoid queueing work on multiple CPUs, this patch introduces
migrate_prep_local() which drains just local pagevecs.
This patch can be either merged with mmcompaction-memory-compaction-core.patch
or placed immediately after it to clarify why migrate_prep_local() ...
| May 6, 8:08 am 2010 |
| Yang, Bo | [PATCH 1/7] scsi: megaraid_sas - Online controller Reset ...
Add the Controller reset functions to the Driver. This is first part of the Online Controller Reset.
The driver supports XScle and Gen2 OCR. The reset functions for those two chips added to the driver.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 235 +++++++++++++++++++++++++++++++++++++++++++++++++++------
megaraid_sas.h | 40 ++++++++-
2 files changed, 248 insertions(+), 27 deletions(-)
diff -rupN old/drivers/scsi/megaraid/megaraid_sas.c ...
| May 6, 7:42 am 2010 |
| Yang, Bo | [PATCH 2/7] scsi: megaraid_sas - Online controller Reset ...
This is second part of the Online Controller Reset (OCR). When driver doesn't finish to issue the pending
Cmds, driver will return BUSY to OS. Also in driver's timeout routine, if online controller reset is going
On, driver will return RESET to OS.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
megaraid_sas.h | 2 +
2 files changed, 107 insertions(+), 5 deletions(-)
diff -rupN ...
| May 6, 8:41 am 2010 |
| Yang, Bo | [PATCH 3/7] scsi: megaraid_sas - Online COntroller Reset ...
This is third part of the Online Controller Reset. In ISR routine, if driver receive the FW state change interrupt
And the online controller reset support enabled in FW, driver will read the controller register. Driver will issue
Controller reset if the FW register state failure. Also driver will back up the pending cmds for the re-fire after
the reset finished.
Also Driver added the CTIO support to this patch.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 412 ...
| May 6, 8:52 am 2010 |
| Yang, Bo | [PATCH 4/7] scsi: megaraid_sas - support devices update flag
Driver added the Device update flag to tell LSI application driver will do the device
Update. LSI MegaRAID SAS application will check this flag to decide if it is need to
update the Device or not.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff -rupN old/drivers/scsi/megaraid/megaraid_sas.c new/drivers/scsi/megaraid/megaraid_sas.c
--- old/drivers/scsi/megaraid/megaraid_sas.c 2010-05-03 03:50:44.000000000 ...
| May 6, 9:04 am 2010 |
| Yang, Bo | [PATCH 7/7] scsi: megaraid_sas - Version and documentati ...
Update the version and documentation.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
Documentation/scsi/ChangeLog.megaraid_sas | 42 ++++++++++++++++++++++++++++++
drivers/scsi/megaraid/megaraid_sas.h | 6 ++--
2 files changed, 45 insertions(+), 3 deletions(-)
diff -rupN old/Documentation/scsi/ChangeLog.megaraid_sas new/Documentation/scsi/ChangeLog.megaraid_sas
--- old/Documentation/scsi/ChangeLog.megaraid_sas 2010-05-05 02:08:10.000000000 -0400
+++ ...
| May 6, 9:37 am 2010 |
| Yang, Bo | [PATCH 6/7] scsi: megaraid_sas - Add three times Online ...
If fw didn't raise the interrupt with the fw state change to driver and fw goes to failure state, driver
Will check the FW state in driver's timeout routine and issue the reset if need. Driver will do the OCR upto three
Times until kill adapter. Also driver will issue OCR before driver kill adapter even if fw in operational state.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 63 insertions(+), 1 ...
| May 6, 9:34 am 2010 |
| Yang, Bo | [PATCH 5/7] scsi: megaraid_sas - Add input parameter for ...
Driver add the input parameters support for max_sectors for our gen2 chip. Customer can
Set the max_sectors support to 1MB for gen2 chip during the driver load.
Signed-off-by Bo Yang<bo.yang@lsi.com>
---
megaraid_sas.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
megaraid_sas.h | 1
2 files changed, 75 insertions(+)
diff -rupN old/drivers/scsi/megaraid/megaraid_sas.c new/drivers/scsi/megaraid/megaraid_sas.c
--- old/drivers/scsi/megaraid/megaraid_sas.c 2010-05-03 ...
| May 6, 9:17 am 2010 |
| Bernhard Froemel | btusb patch, add_apple_MacBookPro62
Hello Marcel,
the Apple MBP model 6.2 (and maybe other recent MBPs) use an Apple
branded BCM2046 USB bluetooth device that works well [1] with your
generic driver.
The attached patch just adds the vendor and device id - please apply.
Cheers,
-bf
[1] http://ubuntuforums.org/showthread.php?t=1469437
| May 6, 7:21 am 2010 |
| Alan Stern | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
With this patch, _none_ of the wakeup bits are enabled. That should
work, right?
But it leads to another question: Later on, when the controller is put
into D3hot, the new code will try to turn on wakeup bits for ports that
have already been suspended. It should be safe because
ehci_set_wakeup_flags() will enable PORT_WKDISC_E | PORT_WKOC_E for
connected ports, and PORT_WKCONN_E | PORT_WKOC_E for unconnected ports.
Still, since this happens _after_ the ports are suspended and the ...
| May 6, 7:46 am 2010 |
| Du, Alek | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
I will test this patch ...
Thanks,
--
| May 6, 8:20 am 2010 |
| Alan Stern | Re: [PATCH 0/8] Suspend block api (version 6)
The Linux Power-Management Summit is scheduled for August 9, at the
start of the LinuxCon meeting in Boston. This would make an excellent
topic for discussion.
Alan Stern
--
| May 6, 7:08 am 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
Agreed.
Rafael
--
| May 6, 12:26 pm 2010 |
| Peter Zijlstra | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
Sure, but it will make scheduling much more expensive. The current
scheme will only ever check the first N events because it stops at the
first that fails, and since you can max fix N events on the PMU its
constant time.
To fix this issue you'd have to basically always iterate all events and
only stop once the PMU is fully booked, which reduces to an O(n) worst
case algorithm.
But yeah, I did think of making the thing an RB-tree and basically
schedule on service received, that should fix ...
| May 6, 7:20 am 2010 |
| Stephane Eranian | [RFC] perf_events: ctx_flexible_sched_in() not maximizin ...
Hi,
Looking at ctx_flexible_sched_in(), the logic is that if group_sched_in()
fails for a HW group, then no other HW group in the list is even tried.
I don't understand this restriction. Groups are independent of each other.
The failure of one group should not block others from being scheduled,
otherwise you under-utilize the PMU.
What is the reason for this restriction? Can we lift it somehow?
static void
ctx_flexible_sched_in(struct perf_event_context *ctx,
struct ...
| May 6, 7:03 am 2010 |
| Stephane Eranian | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
Not sure if this would be any better.
--
| May 6, 9:26 am 2010 |
| Stephane Eranian | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
You may fail not because the PMU is full but because an event is incompatible
with the others, i.e., there may still be room for more evens. By relying on the
RR to get coverage for all events, you also increase blind spots for
events which
Yes, but if you have X events and you don't know if you have at least N
--
| May 6, 7:41 am 2010 |
| Peter Zijlstra | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
I'm not sure why you're arguing, you asked why it did as it did, I gave
an answer ;-)
I agree its not optimal, but fixing it isn't trivial, I would very much
like to avoid a full O(n) loop over all events, esp since creating them
is a non-privilidged operation.
So what we can look at is trying to do better, and making it a service
based scheduler instead of a strict RR should at least get a more equal
distribution.
Another thing we can do is quit at the second or third fail.
--
| May 6, 8:08 am 2010 |
| Frederic Weisbecker | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
I don't understand what you mean by schedule on service received, and why
an rbtree would solve that.
Unless you think about giving a weight to a group that has hardware events.
This weight is the number of "slots" a group would use in the hardware pmu
and you can compare this weight against the available remaining slots
in the pmu?
So yeah, if the hw group of events are sorted by weight, once one fails,
we know the following will fail too. But that doesn't seem a right solution
as it is ...
| May 6, 10:11 am 2010 |
| Peter Zijlstra | Re: [RFC] perf_events: ctx_flexible_sched_in() not maxim ...
Schedule those events that got scheduled least, if because of
constraints we didn't fully utilize the PMU it is very likely that
strict RR (like we do now) will not end up giving equal service to each
counter/group.
Therefore, if you sort them in a tree, based on the amount of time they
got on the PMU, and always schedule the leftmost, you do get fairness.
Sure you can go add weights to them, but that's not the immediate goal.
--
| May 6, 10:30 am 2010 |
| maimonas01@netzero.net | Hello!!!
Hello!!!
My name is Maimonas and i hope you are doing fine today, i am delighted to contact you and i hope you will be the honest and caring friend that i long to meet, i will appreciate if you will respond to this mail through my private email address
maimonas03@yahoo.co.uk
To enable me tell you more more about me and also send you my photo as soon as i receive your reply through my email address
Regards,
Maimonas.
--
| May 6, 4:27 am 2010 |
| Ang Way Chuang | [PATCH] dvb-core: Fix ULE decapsulation bug when less th ...
ULE (Unidirectional Lightweight Encapsulation RFC 4326) decapsulation
code has a bug that incorrectly treats ULE SNDU packed into the
remaining 2 or 3 bytes of a MPEG2-TS frame as having invalid pointer
field on the subsequent MPEG2-TS frame.
This patch was generated and tested against v2.6.34-rc6. I suspect
that this bug was introduced in kernel version 2.6.15, but had not
verified it.
Care has been taken not to introduce more bug by fixing this bug, but
please scrutinize the code ...
| May 6, 5:19 am 2010 |
| Soeren Sandmann | Announce: Sysprof 1.1.6 CPU profiler for Linux
Sysprof 1.1.6 is now available. This is a development release leading
up to a stable 1.2.0 release.
Sysprof is a sampling system-wide CPU profiler for Linux. This
version is based on the perf counter interface in 2.6.31 kernels and
will not work with earlier kernels.
News since 1.1.4:
- Fix for the "mmap failed" error
- More reliable output on multi-core CPUs
- Misc. bug fixes
Version 1.1.6 is a development release. Please report bugs to
sandmann@daimi.au.dk
Download: ...
| May 6, 4:04 am 2010 |
| Mike Frysinger | Re: [PATCH] ad7877: fix spi word size to 16 bit
i think it'd be a better idea to do something like:
if (spi->bits_per_word != 16) {
if (spi->bits_per_word) {
dev_err(&spi->dev, "Invalid SPI settings; bits_per_word must be 16\n");
return -EINVAL;
}
spi->bits_per_word = 16;
spi_setup(spi);
}
-mike
--
| May 6, 11:26 am 2010 |
| Mike Frysinger | Re: [PATCH] ad7877: keep dma rx buffers in seperate cach ...
are you sure this is necessary ? ser_req is only ever used with
spi_sync() and it's allocated/released on the fly, so how could
anything be reading that memory between the start of the transmission
i can see the spi_message inside of this struct being a problem
because the spi transfer is doing asynchronously with spi_async().
however, i would add a comment right above these two fields with a
short explanation as to why they're at the start and why the pad
exists so someone down the line doesnt move ...
| May 6, 11:46 am 2010 |
| Oskar Schirmer | [PATCH] ad7877: fix spi word size to 16 bit
With no word size given in the users platform data,
a generic spi host controller driver will assume a default
word size of eight bit. This causes transmission to be
performed bytewise, which will fail on little endian
machines for sure. Failure on big endian depends on usage
of slave select to mark word boundaries.
Anyway, ad7877 is specified to work with 16 bit per word,
so unconditionally set the word size accordingly.
Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Daniel ...
| May 6, 3:37 am 2010 |
| Oskar Schirmer | [PATCH] ad7877: keep dma rx buffers in seperate cache lines
With dma based spi transmission, data corruption
is observed occasionally. With dma buffers located
right next to msg and xfer fields, cache lines
correctly flushed in preparation for dma usage
may be polluted again when writing to fields
in the same cache line.
Make sure cache fields used with dma do not
share cache lines with fields changed during
dma handling. As both fields are part of a
struct that is allocated via kzalloc, thus
cache aligned, moving the fields to the 1st
position and ...
| May 6, 3:37 am 2010 |
| Hennerich, Michael | RE: [PATCH] ad7877: fix spi word size to 16 bit
Greetings,
Michael
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 4036 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
| May 6, 4:18 am 2010 |
| Mark | [PATCH] Staging: comedi: Fixed long line lengths in comedi.h
This patches fixes some of the long line lengths that checkpatch.pl was
complaining about in comedi.h
Signed-off-by: Mark Rankilor <reodge@gmail.com>
---
drivers/staging/comedi/comedi.h | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 8e4caaa..20a6fee 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -46,8 +46,10 @@
#define ...
| May 6, 3:07 am 2010 |
| Tobias Klauser | [PATCH] dmaengine: mpc512x: Use resource_size
Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one
errors.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/dma/mpc512x_dma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mpc512x_dma.c b/drivers/dma/mpc512x_dma.c
index 84326c9..201e6e1 100644
--- a/drivers/dma/mpc512x_dma.c
+++ b/drivers/dma/mpc512x_dma.c
@@ -658,7 +658,7 @@ static int __devinit ...
| May 6, 2:58 am 2010 |
| Tobias Klauser | [PATCH] powerpc/BSR: Use resource_size
Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one
errors.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
drivers/char/bsr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c
index 89d871e..aadc78b 100644
--- a/drivers/char/bsr.c
+++ b/drivers/char/bsr.c
@@ -210,7 +210,7 @@ static int bsr_add_node(struct device_node *bn)
...
| May 6, 2:51 am 2010 |
| Mark | [PATCH] Staging: comedi: Fixed long line length in comedidev.h
This patch fixes a long line length in comedidev.h to make checkpatch.pl happy
Signed-off-by: Mark Rankilor <reodge@gmail.com>
---
drivers/staging/comedi/comedidev.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index c38ebb4..4eb2b77 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -374,7 +374,9 @@ enum subdevice_runflags {
SRF_RUNNING = ...
| May 6, 2:49 am 2010 |
| Michal Simek | [GIT PULL] arch/microblaze fixes for 2.6.34-rc7
Hi Linus,
please pull the following changes.
Thanks,
Michal
The following changes since commit 722154e4cacf015161efe60009ae9be23d492296:
Linus Torvalds (1):
Merge branch 'zerolen' of git://git.kernel.org/.../jgarzik/misc-2.6
are available in the git repository at:
git://git.monstr.eu/linux-2.6-microblaze.git for-linus
Michal Simek (16):
microblaze: PCI: add pci_bus_for_each_resource(), remove direct
bus->resource[] refs
microblaze: resource/PCI: ...
| May 6, 2:40 am 2010 |
| Mark | [PATCH] Staging: comedi: Fixed printk call lengths and l ...
This is a patch to include log levels and fix some over length lines in
printk calls in drivers.c
Signed-off-by: Mark Rankilor <reodge@gmail.com>
---
drivers/staging/comedi/drivers.c | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
index 1f48b6d..ffb0ad4 100644
--- a/drivers/staging/comedi/drivers.c
+++ b/drivers/staging/comedi/drivers.c
@@ -95,7 +95,8 @@ static void ...
| May 6, 2:36 am 2010 |
| Xiao Guangrong | [PATCH v4 8/9] KVM MMU: no need atomic operation for 'in ...
'invlpg_counter' is protected by 'kvm->mmu_lock', no need atomic
operation anymore
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/paging_tmpl.h | 7 ++++---
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 86a8550..f4e8973 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -387,7 +387,7 @@ ...
| May 6, 2:31 am 2010 |
| Xiao Guangrong | [PATCH v4 5/9] KVM MMU: rename 'root_count' to 'active_count'
Rename 'root_count' to 'active_count' in kvm_mmu_page, since the unsync pages
also will use it in later patch
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
arch/x86/include/asm/kvm_host.h | 7 ++++++-
arch/x86/kvm/mmu.c | 14 +++++++-------
arch/x86/kvm/mmutrace.h | 6 +++---
3 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index ed48904..86a8550 100644
--- ...
| May 6, 2:31 am 2010 |
| Xiao Guangrong | [PATCH v4 4/9] KVM MMU: allow more page become unsync at ...
Allow more page become asynchronous at getting sp time, if need create new
shadow page for gfn but it not allow unsync(level > 1), we should unsync all
gfn's unsync page
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
arch/x86/kvm/mmu.c | 47 +++++++++++++++++++++++++++++++++++++----------
1 files changed, 37 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index ae8c43b..26edc11 100644
--- a/arch/x86/kvm/mmu.c
+++ ...
| May 6, 2:30 am 2010 |
| Xiao Guangrong | [PATCH v4 3/9] KVM MMU: allow more page become unsync at ...
In current code, shadow page can become asynchronous only if one
shadow page for a gfn, this rule is too strict, in fact, we can
let all last mapping page(i.e, it's the pte page) become unsync,
and sync them at invlpg or flush tlb time.
This patch allow more page become asynchronous at gfn mapping time
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
arch/x86/kvm/mmu.c | 81 +++++++++++++++++++++++----------------------------
1 files changed, 37 insertions(+), 44 ...
| May 6, 2:30 am 2010 |
| Xiao Guangrong | [PATCH v4 2/9] KVM MMU: don't write-protect if have new ...
Two cases maybe happen in kvm_mmu_get_page() function:
- one case is, the goal sp is already in cache, if the sp is unsync,
we only need update it to assure this mapping is valid, but not
mark it sync and not write-protect sp->gfn since it not broke unsync
rule(one shadow page for a gfn)
- another case is, the goal sp not existed, we need create a new sp
for gfn, i.e, gfn (may)has another shadow page, to keep unsync rule,
we should sync(mark sync and write-protect) gfn's unsync ...
| May 6, 2:30 am 2010 |
| Xiao Guangrong | [PATCH v4 1/9] KVM MMU: split kvm_sync_page() function
Split kvm_sync_page() into kvm_sync_page() and kvm_sync_page_transient()
to clarify the code address Avi's suggestion
kvm_sync_page_transient() function only update shadow page but not mark
it sync and not write protect sp->gfn. it will be used by later patch
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
arch/x86/kvm/mmu.c | 28 ++++++++++++++++++++++++----
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index ...
| May 6, 2:30 am 2010 |
| Xiao Guangrong | [PATCH v4 0/9] KVM MMU: allow more shadow pages become a ...
Changlog v4:
- fix the bug that reported by Marcelo
- fix the race in invlpg code
Changlog v3:
Those changes all form Avi's suggestion, thanks.
- use smart way to fix the bug in patch 1
- remove duplicates code in patch 5
- check error code and fix forgot release page in patch 9
- sync shadow pages in a batch instead of one by one
And, there is one TODO thing:
Marker shadow page as unsync at create time avoid write-protect,
this idea is from Avi:
|Another interesting case is to ...
| May 6, 2:30 am 2010 |
| British Promotion | 1,000,000.00 Pounds has been Awarded to your E-mail ID i ...
1.Name in full2.Address 3.Phone
--
| May 6, 1:45 am 2010 |
| Avi Kivity | [PATCH v3 0/2] x86 FPU API
Currently all fpu accessors are wedded to task_struct. However kvm also uses
the fpu in a different context. Introduce an FPU API, and replace the
current uses with the new API.
While this patchset is oriented towards deeper changes, as a first step it
simlifies xsave for kvm.
v3:
use u8 instead of bool in asm to avoid bad code generation on older
gccs.
v2:
eliminate useless padding in use_xsave() by using a larger instruction
Avi Kivity (2):
x86: eliminate TS_XSAVE
...
| May 6, 1:45 am 2010 |
| Avi Kivity | [PATCH v3 2/2] x86: Introduce 'struct fpu' and related API
Currently all fpu state access is through tsk->thread.xstate. Since we wish
to generalize fpu access to non-task contexts, wrap the state in a new
'struct fpu' and convert existing access to use an fpu API.
Signal frame handlers are not converted to the API since they will remain
task context only things.
Signed-off-by: Avi Kivity <avi@redhat.com>
---
arch/x86/include/asm/i387.h | 115 ++++++++++++++++++++++++++++----------
arch/x86/include/asm/processor.h | 6 ++-
...
| May 6, 1:45 am 2010 |
| Avi Kivity | [PATCH v3 1/2] x86: eliminate TS_XSAVE
The fpu code currently uses current->thread_info->status & TS_XSAVE as
a way to distinguish between XSAVE capable processors and older processors.
The decision is not really task specific; instead we use the task status to
avoid a global memory reference - the value should be the same across all
threads.
Eliminate this tie-in into the task structure by using an alternative
instruction keyed off the XSAVE cpu feature; this results in shorter and
faster code, without introducing a global memory ...
| May 6, 1:45 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCHv4 0/8] The FunctionFS composite function
This last sentence is of course incorrect. EP0 has been tested as well
as the first sentence implies. Again forgot to edit the whole cover
letter. Sorry about the confusion.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
| May 6, 1:44 am 2010 |
| Subrata Modak | Suspicious rcu_dereference_check() usage detected during ...
Hi,
The following messages were logged into /var/log/messages when i booted
2.6.34-rc6 kernel (built with attached CONFIG file contents ) on my p5 box:
...
May 5 21:59:21 p550lp1 kernel: Initializing cgroup subsys debug
May 5 21:59:21 p550lp1 kernel: Initializing cgroup subsys ns
May 5 21:59:21 p550lp1 kernel: Initializing cgroup subsys cpuacct
May 5 21:59:21 p550lp1 kernel: Initializing cgroup subsys memory
May 5 21:59:21 p550lp1 kernel: Initializing cgroup subsys devices
May 5 ...
| May 6, 12:17 am 2010 |
| Paul Mundt | [GIT PULL] [RESEND] sh updates for 2.6.34-rc7
This is a resend of the pull request for 2.6.34-rc6 with the addition of
an lcdcfb patch. It hasn't been rebased, so if you've already pulled the
previous changes then you should just get that patch.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git sh/for-2.6.34
Which contains:
Guennadi Liakhovetski (3):
SH: fix TS field shift calculation for DMA drivers
SH: fix error paths in DMA driver
sh: fix a number of Oopses and leaks in SH ...
| May 5, 11:59 pm 2010 |
| Darren Hart | [PATCH V6 0/4][RFC] futex: FUTEX_LOCK with optional adap ...
RFC - NOT FOR INCLUSION
The following patch series implements a new experimental kernel side futex mutex
via new FUTEX_LOCK and FUTEX_LOCK_ADAPTIVE futex op codes. The adaptive spin
allows for multiple spinners until the lock is released or the owner is
descheduled. The patch currently allows the user to specify if they want
spinning or not, but the final version will only provide the adaptive variant as
blocking locks are already very efficiently implemented with the ...
| May 5, 11:24 pm 2010 |
| Darren Hart | [PATCH 1/4] futex: replace fshared and clockrt with comb ...
In the early days we passed the mmap sem around. That became the
"int fshared" with the fast gup improvements. Then we added
"int clockrt" in places. This patch unifies these options as "flags" and
cleans up various calls which had fshared in their signature but no
longer used it.
V6: Whitespace fixes
V4: Fix an operator precedence bug
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
---
kernel/futex.c | 215 +++++++++++++++++++++++++++-----------------------------
1 files changed, 104 ...
| May 5, 11:24 pm 2010 |
| Darren Hart | [PATCH 2/4] futex: add futex_q static initializer
The futex_q struct has grown considerably over the last year or so. I
believe it now merits a static initializer to avoid uninitialized data
errors (having just spent more time than I care to admit debugging
an uninitialized q.bitset in an experimental new op code).
I originally planned on following the __THING_INITIALIZER/DECLARE_THING
method, but since we already had FUTEX_KEY_INIT, and I personally prefer
that method, I went that route.
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
---
...
| May 5, 11:24 pm 2010 |
| Darren Hart | [PATCH 3/4] futex: refactor futex_lock_pi_atomic
Prepare for FUTEX_LOCK by refactoring futex_lock_pi_atomic() into
lock_futex_atomic() and lock_pi_futex_atomic(). The name change is meant to
reflect the naming convention in futex.c that futex_*() functions map directly
to futex op codes and the others are internal helper functions.
V6: Whitespace cleanup
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
===================================================================
---
kernel/futex.c | 79 ...
| May 5, 11:24 pm 2010 |
| Darren Hart | [PATCH 4/4] futex: Add FUTEX_LOCK with optional adaptive ...
Add a non-pi TID value based futex locking mechanism. This enables the
use of adaptive spinning which was problematic with the basic FUTEX_WAIT
operation.
V6: Remove refill_pi_state() cruft from futex_lock()
Replace futex_owner() with value checking in owner spin
Fix spin_on_owner usage
Test value before cmpxchg
Break possible retry loop with hb lock held in lock_futex_atomic()
Whitespace cleanup
V5: Handle timeout inside adaptive lock spin (needs optimization)
Fix ...
| May 5, 11:24 pm 2010 |
| roma1390 | nfs kernel server causes: kernel BUG at include/linux/mo ...
Hello,
after some nfs server start/stop i hit kernel bug on 2.6.26. There is hope[1]
that this bug is fixed[2], and fix is merged[3] into 2.6.29. But there is
missing bugfix for older stable kernels.
Reports for this bug can also be found on distro bug systems[4][5][6][7].
Sadly these bugs are still open.
Please backport fix for stable kernels too.
roma1390
1. http://linux-nfs.org/pipermail/nfsv4/2009-March/010018.html
2. ...
| May 5, 10:47 pm 2010 |
| Greg KH | Re: [stable] nfs kernel server causes: kernel BUG at inc ...
2.6.26 is not supported by the community anymore.
Is this a problem on the latest 2.6.27-stable kernel release? If so,
which specific patches in Linus's tree do you think resolves this? Is
it just the 22945e4a1c7454c97f5d8aee1ef526 commit that is needed to be
added there?
thanks,
greg k-h
--
| May 5, 11:03 pm 2010 |
| Peter Feuerer | Re: [PATCH] CHROMIUM: acerhdf: fix bug when running on Qemu
What does it mean? Should I take care about getting it upstream?
--peter;
--
| May 6, 1:08 pm 2010 |
| Mandeep Singh Baines | Re: [PATCH] CHROMIUM: acerhdf: fix bug when running on Qemu
You can drop it. We use it for internal bookkeeping in the chromium
git tree.
http://chromiumos-git/?p=kernel.git
Its useful to us when we rebase our kernel to a new 2.6.x.
We use it to record which tree the patch came from: did it come from
--
| May 6, 1:49 pm 2010 |
| Rahul Chaturvedi | Re: [PATCH] CHROMIUM: acerhdf: fix bug when running on Qemu
BTW, the CHROMIUM in the subject is just used for internal bookeeping
for patches not yet accepted upstream.
--
| May 5, 10:44 pm 2010 |
| peter | Re: [PATCH] CHROMIUM: acerhdf: fix bug when running on Qemu
Acked-by: Peter Feuerer <peter@piie.net>
--
| May 5, 10:41 pm 2010 |
| InKi Dae | [PATCH] s3c-fb: added s5pv210 support and some features.
Hello all,
this patch is for s5pv210(or s5pc110) support and adds resizing and
default window features and also
fixes distortendness situation on pixel format more then 24bpp.
patch contents are as following.
1. resizing feature.
- when application tries to change framebuffer attributes(pixel
format, resolution and so no),
fb_set_var() is called by linux framebuffer(fbmem.c) at that
time, s3c-fb sets attributes
for setting porch and pixelclock to registers so setting would ...
| May 5, 10:38 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 6 (nouveau)
When CONFIG_ACPI_BUTTON=m:
drivers/built-in.o: In function `nouveau_connector_detect':
nouveau_connector.c:(.text+0x1d81cf): undefined reference to `acpi_lid_open'
#ifdef CONFIG_ACPI
if (!nouveau_ignorelid && !acpi_lid_open())
status = connector_status_unknown;
#endif
Do you want that to be
#ifdef CONFIG_ACPI_BUTTON
?
That will still only be built when CONFIG_ACPI_BUTTON=y (not =m).
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ...
| May 6, 11:18 am 2010 |
| Len Brown | Re: linux-next: Tree for May 6 (acpi: PCI=n)
CONFIG_ACPI depends on CONFIG_PCI, so this file should not be build with
CONFIG_PCI=n.
Please let me know how you were able to generate this illegal
configuration.
thanks,
Len Brown, Intel Open Source Technology Center
--
| May 6, 1:29 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 6 (acpi: PCI=n)
Same TPM kconfig that selects ACPI without any other qualifications.
In 50 randconfig builds, 12 build failures were due to that one bad kconfig.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 1:42 pm 2010 |
| Randy Dunlap | [PATCH -next] IR: add header file to fix build
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build error:
drivers/media/IR/rc-map.c:51: error: implicit declaration of function 'msleep'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
---
drivers/media/IR/rc-map.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20100506.orig/drivers/media/IR/rc-map.c
+++ linux-next-20100506/drivers/media/IR/rc-map.c
@@ -13,6 +13,7 @@
*/
#include <media/ir-core.h>
+#include ...
| May 6, 4:41 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 6 (acpi: PCI=n)
When CONFIG_PCI is not enabled:
arch/x86/kernel/acpi/boot.c:1034: error: 'pci_bus_type' undeclared
drivers/acpi/reboot.c:30: error:implicit declaration of function 'pci_find_bus'
drivers/acpi/reboot.c:30: warning: assignment makes pointer from integer without a cast
drivers/acpi/reboot.c:38: error:implicit declaration of function 'pci_bus_write_config_byte'
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 8:07 am 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 6 (acpi: PM=n)
When CONFIG_PM is not set:
drivers/built-in.o: In function `acpi_init':
bus.c:(.init.text+0x2d84): undefined reference to `pm_flags'
bus.c:(.init.text+0x2d91): undefined reference to `pm_flags'
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 8:05 am 2010 |
| Len Brown | Re: linux-next: Tree for May 6 (nouveau)
intel_lvds.c seems to handle this issue without #ifdefs
by including acpi/button.h
cheers,
Len Brown, Intel Open Source Technology Center
--
| May 6, 1:37 pm 2010 |
| James Morris | Re: [linux-pm] linux-next: Tree for May 6 (acpi: PM=n)
You weren't ignored. Mimi responded and mentioned a subsequent patch,
after which, there was no further discussion.
I've reverted:
b89e66e1e396f7b5436af154e58209320cc08aed
"TPM: ACPI/PNP dependency removal"
a674fa46c79ffa37995bd1c8e4daa2b3be5a95ae
"ima: remove ACPI dependency"
Note: any further ACPI-related changes here should have acks from
linux-acpi folk.
- James
--
James Morris
<jmorris@namei.org>
--
| May 6, 4:27 pm 2010 |
| Randy Dunlap | [PATCH -next] usb: fix u132-hcd code/data warning
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix gcc warning on mixed declarations/code:
drivers/usb/host/u132-hcd.c:1450: warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/usb/host/u132-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20100506.orig/drivers/usb/host/u132-hcd.c
+++ linux-next-20100506/drivers/usb/host/u132-hcd.c
@@ -1446,9 +1446,9 @@ static void u132_hcd_endp_work_scheduler
...
| May 6, 4:46 pm 2010 |
| Stephen Rothwell | linux-next: Tree for May 6
Hi all,
Changes since 20100505:
Dropped trees: tmio-mmc (long unresolved conflicts and unable to fetch)
hwlat (at the maintainer's request)
The wireless tree lost its conflicts.
The rr tree gained a conflict against the net tree.
The security-testing tree gained a conflict against Linus' tree.
The staging-next tree gained a conflict against the net tree.
----------------------------------------------------------------------------
I have created today's linux-next tree ...
| May 5, 10:15 pm 2010 |
| Len Brown | Re: [linux-pm] linux-next: Tree for May 6 (acpi: PM=n)
CONFIG_ACPI depends on CONFIG_PM,
so acpi/bus.c should not be compiled for CONFIG_PM=n
Hmm, is is somebody doing something strange, like "select ACPI"
without guaranteeing that all of ACPI's dependencies are satisfied?
thanks,
Len Brown, Intel Open Source Technology Center
--
| May 6, 1:26 pm 2010 |
| Randy Dunlap | Re: [linux-pm] linux-next: Tree for May 6 (acpi: PM=n)
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 4:38 pm 2010 |
| Randy Dunlap | [PATCH -next] staging: fix ti-st, depends on RFKILL
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build errors. st_kim.c uses rfkill*() interfaces, so it
should depend on RFKILL.
st_kim.c:(.text+0x291b21): undefined reference to `rfkill_unregister'
st_kim.c:(.text+0x291b31): undefined reference to `rfkill_destroy'
st_kim.c:(.text+0x291d8a): undefined reference to `rfkill_alloc'
st_kim.c:(.text+0x291db9): undefined reference to `rfkill_init_sw_state'
st_kim.c:(.text+0x291dc9): undefined reference to ...
| May 6, 4:45 pm 2010 |
| Randy Dunlap | [PATCH -next] staging: fix cxt1e1 semaphore build breakage
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix build errors by including linux/semaphore.h:
drivers/staging/cxt1e1/pmcc4_private.h:144: error: field 'sr_sem_busy' has incomplete type
drivers/staging/cxt1e1/pmcc4_private.h:146: error: field 'sr_sem_wait' has incomplete type
drivers/staging/cxt1e1/pmcc4_private.h:189: error: field 'sem_wdbusy' has incomplete type
drivers/staging/cxt1e1/musycc.c:617: error: implicit declaration of function 'down'
drivers/staging/cxt1e1/musycc.c:641: error: ...
| May 6, 4:44 pm 2010 |
| Randy Dunlap | Re: [linux-pm] linux-next: Tree for May 6 (acpi: PM=n)
Oh, thanks for the clue.
That would be a patch that I commented on and was ignored,
but James Morris merged it anyway. Now it should be dropped.
http://lkml.org/lkml/2010/5/4/379
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 1:32 pm 2010 |
| Roland Dreier | Re: indiscriminate get_maintainer.pl usage
> $ scripts/get_maintainer.pl --rolestats -f fs/eventpoll.c
> Alexander Viro <viro@zeniv.linux.org.uk> (maintainer:FILESYSTEMS (VFS...)
> Andrew Morton <akpm@linux-foundation.org> (commit_signer:2/6=33%)
> "Eric W. Biederman" <ebiederm@xmission.com> (commit_signer:2/6=33%)
> Davide Libenzi <davidel@xmailserver.org> (commit_signer:2/6=33%)
> Roland Dreier <rolandd@cisco.com> (commit_signer:1/6=17%)
> Stefan Richter <stefanr@s5r6.in-berlin.de> (commit_signer:1/6=17%)
> ...
| May 6, 1:13 pm 2010 |
| Stefan Richter | indiscriminate get_maintainer.pl usage (was [PATCH] epol ...
(Cc list shortened)
$ git log fs/eventpoll.c include/linux/wait.h |grep stefanr
Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Tested-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Please do not Cc me on subsystems that I do not develop nor maintain.
My personal inbox is full enough and my todo-list growing.
When I have time to look at patches to subsystems that I don't work with
normally, I look into my inbox.lkml.
If you rely on scripts/get_maintainer.pl, then please ...
| May 5, 11:00 pm 2010 |
| Stefan Richter | Re: indiscriminate get_maintainer.pl usage
> I should add --nogit option.
The script does get some useful information out of git (but obviously
also some questionable).
--roles and --rolestats give away some more data...
$ scripts/get_maintainer.pl --rolestats -f fs/eventpoll.c
Alexander Viro <viro@zeniv.linux.org.uk> (maintainer:FILESYSTEMS (VFS...)
Andrew Morton <akpm@linux-foundation.org> (commit_signer:2/6=33%)
"Eric W. Biederman" <ebiederm@xmission.com> (commit_signer:2/6=33%)
Davide Libenzi <davidel@xmailserver.org> ...
| May 5, 11:40 pm 2010 |
| Davide Libenzi | Re: [PATCH] epoll: use wrapper functions
Since we already have __add_wait_queue(), __add_wait_queue_tail() and
__remove_wait_queue() (which all means "locked"), and while I agree in
having the exclusive-add wrapped into a function, I much better prefer a:
static inline void __add_wait_queue_excl(wait_queue_head_t *head,
wait_queue_t *new)
{
new->flags |= WQ_FLAG_EXCLUSIVE;
__add_wait_queue(head, new);
}
The patch you posted introduces a different naming, which leaves all the
other __*() untouched, and wraps the ...
| May 6, 11:47 am 2010 |
| Changli Gao | [PATCH] epoll: use wrapper functions
use wrapper functions.
epoll should not touch flags in wait_queue_t. This patch introduces a new
function add_wait_queue_head_exclusive_locked(), for the users, who use
wait queue as a LIFO queue.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
fs/eventpoll.c | 5 ++---
include/linux/wait.h | 15 +++++++++++++--
2 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index bd056a5..8137f6e 100644
--- a/fs/eventpoll.c
+++ ...
| May 5, 6:57 pm 2010 |
| Davide Libenzi | Re: indiscriminate get_maintainer.pl usage
I have always maintained that code w/out the need of explicit entry in the
MAINTAINERS file. For isolated files people usually include the copyright
owners and the ones listed in the comment header in general.
No problem in being explicitly listed if this causes noise during bug
reporting.
- Davide
--
| May 6, 8:42 am 2010 |
| Davide Libenzi | Re: indiscriminate get_maintainer.pl usage
(not knowing the get_maintainers internals ...)
Maybe if you weigh each contributor by the amount (in terms of diffstat
modulo) of changes, you can get more accurate results.
Part of the weight might be related to the time distance (relative to
current time) since the changeset.
- Davide
--
| May 6, 10:59 am 2010 |
| Peter Zijlstra | Re: [PATCH] epoll: use wrapper functions
I concur, I always get confused by the _locked postfix (and its more
typing). Also, it goes against the lock data not code paradigm.
--
| May 6, 11:51 am 2010 |
| Joe Perches | Re: indiscriminate get_maintainer.pl usage
That might tend to overweight cleanup against actual logic patches,
Which is kind of what activity alone does.
I think get_maintainer with --git (the default):
Without a named MAINTAINER:
For relatively active files: works moderately well.
For relatively inactive files: might work less well.
It tends to hide the original developer and show people
that submit cleanup or fix patches.
Maybe the --git portion could be reduce the number of
commit signers added when files have named ...
| May 6, 1:52 pm 2010 |
| Joe Perches | Re: indiscriminate get_maintainer.pl usage
Stefan, I think that's the price you pay for fame.
There is also the --git-blame option for patches, but blame
is also only a semi-useful tool, as it could show cleanup patches
on individual as authors.
Another option to get_maintainers is --file-emails which looks
inside a file for email addresses.
Right now, the default for # of git commits signed to be
added to the CC list is 1. It's possible to change the default.
--git-min-signatures => number of signatures required (default: ...
| May 6, 9:52 am 2010 |
| Stephen Rothwell | linux-next: manual merge of the staging-next tree with t ...
Hi Greg,
Today's linux-next merge of the staging-next tree got a conflict in
drivers/staging/arlan/arlan-main.c between commit
22bedad3ce112d5ca1eaf043d4990fa2ed698c87 ("net: convert multicast list to
list_head") from the net tree and commit
dd730b627cf8ff0b9d20df94fd31b6192b188710 ("Staging: arlan: fixed
unnecessary whitespace style issue in arlan-main.c") from the
staging-next tree.
I fixed it up (see below - this is bigger than is would otherwise be
because there is a conflict with ...
| May 5, 9:05 pm 2010 |
| Greg KH | Re: linux-next: manual merge of the staging-next tree wi ...
Thanks for doing this. Hm, the arlan driver is scheduled to be deleted
in .35, so it would make things easier if I just do it now to keep these
kinds of merge issues from happening. I'll queue that up tomorrow.
thanks,
greg k-h
--
| May 5, 9:20 pm 2010 |
| Stephen Rothwell | Re: linux-next: manual merge of the staging-next tree wi ...
Hi Greg,
Ah, yes, that would be easier. Thanks.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| May 5, 9:21 pm 2010 |
| Greg KH | Re: linux-next: manual merge of the staging-next tree wi ...
It is now deleted, along with 3 other drivers that were scheduled to be
deleted in .35, so you will not have any merge issues with them anymore.
thanks,
greg k-h
--
| May 5, 11:21 pm 2010 |
| Tammy | Git Bad Object
Hi,
I was looking at the commits in
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.20.14. Seems
all the commits are not in the current git.
For example, if I run 'git show
0b7da0500bbf612fc532358c90aad4497309d61a', I got 'fatal: bad object
0b7da0500bbf612fc532358c90aad4497309d61a'. Why is this the case? I
thought all these commits are committed into the git repository. Thank
you!
Thanks,
Tammy
--
| May 5, 8:51 pm 2010 |
| Kyle McMartin | Re: Git Bad Object
They aren't all in Linus' git tree, because the stable kernels are not
maintained by him, but by a team of people in another git tree.
The stable aggregate tree will have all those commits in it here:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=summary
regards, Kyle
--
| May 5, 8:57 pm 2010 |
| Ben Dooks | [PATCH] gpiolib: make gpiochip_add() show a better error ...
The current message, 'not registered' is confusing as it implies it was
not registered with something, whereas printing 'failed to register' implies
it was the gpiochip_add() call that did not work correctly.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
drivers/gpio/gpiolib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index eb0c3fe..384d993 100644
--- a/drivers/gpio/gpiolib.c
+++ ...
| May 5, 8:50 pm 2010 |
| Liam Girdwood | Re: [PATCH RESEND] mc13783-regulator: fix vaild voltage ...
Both patches look the same. Is there any reason for the resend ?
Thanks
Liam
--
| May 6, 1:57 am 2010 |
| Axel Lin | Re: [PATCH RESEND] mc13783-regulator: fix vaild voltage ...
hi Liam,
I just found my mail client make the first patch not able to be
cleanly applied by git-am.
The resend one fix it, and should be cleanly applied by git-am command.
Regards,
--
| May 6, 2:02 am 2010 |
| Mark Brown | Re: [PATCH RESEND] mc13783-regulator: fix vaild voltage ...
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Better to send two patches for two separate fixes, especially where
there's no overlap in the code.
--
| May 6, 2:48 am 2010 |
| Axel Lin | [PATCH RESEND] mc13783-regulator: fix vaild voltage rang ...
In the case of "min_uV == max_uV == mc13783_regulators[id].voltages[0]",
mc13783_fixed_regulator_set_voltage should return 0 instead of -EINVAL.
This patch also adds a missing ">" character for MODULE_AUTHOR, a trivial fix.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
---
drivers/regulator/mc13783-regulator.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git ...
| May 5, 8:33 pm 2010 |
| Liam Girdwood | Re: [PATCH RESEND] mc13783-regulator: fix vaild voltage ...
Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
| May 6, 6:42 am 2010 |
| Sascha Hauer | Re: [PATCH] mc13783-regulator: fix vaild voltage range c ...
--
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 |
--
| May 5, 11:41 pm 2010 |
| Axel Lin | [PATCH] mc13783-regulator: fix vaild voltage range check ...
In the case of "min_uV == max_uV == mc13783_regulators[id].voltages[0]",
mc13783_fixed_regulator_set_voltage should return 0 instead of -EINVAL.
This patch also adds a missing ">" character for MODULE_AUTHOR, a
trivial fix.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
---
drivers/regulator/mc13783-regulator.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git ...
| May 5, 7:54 pm 2010 |
| Zachary Richey | [PATCH] Staging: comedi: fix coding style issues in come ...
---
drivers/staging/comedi/comedi_fops.c | 56 +++++++++++++++++-----------------
1 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
index aca9674..999cbb6 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -598,20 +598,20 @@ copyback:
static int parse_insn(struct comedi_device *dev, struct comedi_insn *insn,
unsigned int *data, void *file);
...
| May 5, 7:39 pm 2010 |
| Greg KH | Re: [PATCH] Staging: comedi: fix coding style issues in ...
What warning is this patch resolving? The original looks correct, a
leading space is fine for something like a comment block like this.
confused,
greg k-h
--
| May 5, 11:22 pm 2010 |
| Peter Zijlstra | Re: sched: arch_scale_freq_power (and other cpu_power / ...
It doesn't.
All the cpu_power stuff is for SMP load-balancing, and basically means
work-capacity. We normalize the per cpu runqueue weights with the
cpu_power to get an even (fair) distribution.
Say one cpu only has half the capacity of another cpu, then its not fair
to given them equal weight, because the tasks on the 'slow' cpu would
only progress at half the speed of those on the other.
The cpufreq hooks are there if someone were to peg one cpu at a lower
frequency than others. ...
| May 6, 12:01 am 2010 |
| Mike Chan | sched: arch_scale_freq_power (and other cpu_power / sche ...
Before I end up duplicating a bunch of work in the scheduler / cpufreq
/ power tracking. I wanted avoid such an figure out what exactly all
this existing code is doing. Right now I am just interested in how the
kernel is accounting for cpu power, and less on the actual load
balancing work. In particular, total power consumed over the lifetime
of the system, instead of what seems to be a diminished weighted scale
used for all the scheduler cpu_power calculations.
kernel/sched.c
First, the ...
| May 5, 7:35 pm 2010 |
| Mike Chan | Re: sched: arch_scale_freq_power (and other cpu_power / ...
I see, I think I've misinterpreted "cpu_power" here. So cpu_power in
this context is the capability (speed / processing power) of the cpu,
With cpufreq, we know how much time is spent at each cpu frequency.
With specific board files in mach-* (at least in the ARM world) we can
provide power measurements for frequency X. We can also currently
provide power numbers for cpu idle states.
This means we should be able to calculate the overall power consumed
by the cpu with proper frequency ...
| May 6, 11:43 am 2010 |
| Kyle McMartin | Re: [PATCH] Parisc: Check kmalloc return value before us ...
Excellent question! I'm not sure. IODC console will still be working up
until it gets bonked, so early_console is probably still functional up
until that point.
--Kyle
--
| May 6, 1:08 pm 2010 |
| Matthew Wilcox | Re: [PATCH] Parisc: Check kmalloc return value before us ...
If we can't initialise the IOMMU, can we even get a panic message out to
the user?
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| May 6, 3:59 am 2010 |
| Kyle McMartin | Re: [PATCH] Parisc: Check kmalloc return value before us ...
This code can't fail, since the failure case won't be handled by the
probe function, and will continue along without properly initializing
the resources and will fail later. While we could add proper error
handling, if these functions are called, the ccio IOMMU exists on the
machine, and without it, we can't do any DMA (amongst other things.)
So in that case, if this kmalloc fails (which it really shouldn't...)
we're pretty much screwed.
We can change it to GFP_ATOMIC|__GFP_NOFAIL so it will ...
| May 5, 9:03 pm 2010 |
| wzt.wzt | [PATCH] Parisc: Check kmalloc return value before use th ...
Check kmalloc return value before use the buffer.
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
---
drivers/parisc/ccio-dma.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index f511e70..f465417 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -1407,6 +1407,11 @@ static void __init ccio_init_resources(struct ioc *ioc)
struct resource *res = ioc->mmio_region;
...
| May 5, 7:42 pm 2010 |
| Justin P. Mattock | Re: linux-next: manual merge of the security-testing tre ...
I never would of thought this. So the != has to be lined
up so things don't break?!
Justin P. Mattock
--
| May 6, 4:24 pm 2010 |
| David Howells | Re: linux-next: manual merge of the security-testing tre ...
Okay.
However, I'd like to NAK some bits of c5b60b5e67af8be4c58d3ffcc36894f69c4fbdc1
now that I see it...
@@ -1282,16 +1282,16 @@ long keyctl_session_to_parent(void)
/* the parent must have the same effective ownership and mustn't be
* SUID/SGID */
- if (pcred-> uid != mycred->euid ||
+ if (pcred->uid != mycred->euid ||
pcred->euid != mycred->euid ||
pcred->suid != mycred->euid ||
- pcred-> gid != mycred->egid ...
| May 6, 3:49 am 2010 |
| Stephen Rothwell | linux-next: manual merge of the security-testing tree wi ...
Hi James,
Today's linux-next merge of the security-testing tree got a conflict in
security/keys/keyring.c between commit
cea7daa3589d6b550546a8c8963599f7c1a3ae5c ("KEYS: find_keyring_by_name()
can gain access to a freed keyring") from Linus' tree and commit
c5b60b5e67af8be4c58d3ffcc36894f69c4fbdc1 ("security: whitespace coding
style fixes") from the security-testing tree.
I just used the version from Linus' tree.
--
Cheers,
Stephen Rothwell ...
| May 5, 7:30 pm 2010 |
| James Morris | Re: linux-next: manual merge of the security-testing tre ...
Will a patch -R of below be correct enough for you? Otherwise, please
send me a new patch.
(This is one of the reasons why I'm not so keen on whitespace fixes, also
--
James Morris
<jmorris@namei.org>
--
| May 6, 4:10 pm 2010 |
| John Stultz | [PATCH] Add clocksource_register_hz/khz interface
Hey Thomas,
I updated the patch docs and made the calls EXPORT_SYMBOL_GPL.
However the need for both khz and hz is due to high freq clocksources
like the TSC who's cycles/sec are close to the upper bound of a u32.
Let me know if you (or anyone else) have any further thoughts on the
interface, as again, it would be nice to have it ready for 2.6.35
so the per-arch conversions can be pushed.
thanks
-john
How to pick good mult/shif pairs has always been difficult to describe
to folks ...
| May 5, 7:27 pm 2010 |
| Scott Feldman | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Are there any issues with injecting the GPL-licensed plug-in into the
Windows vmxnet3 NDIS driver?
-scott
--
| May 5, 7:03 pm 2010 |
| Shreyas Bhatewara | RE: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Scott,
Thanks for pointing out. This issue can be resolved by adding exception to the plugin license which allows it to link to a non-free program .(http://www.gnu.org/licenses/gpl-faq.html#GPLPluginsInNF)
->Shreyas
--
| May 6, 12:25 am 2010 |
| Shreyas Bhatewara | May 6, 12:25 am 2010 | |
| Josef Bacik | Re: [BUG] btrfs: report a direct-IO bug
I'm in the middle of re-working the DIO code. You can pull from my git tree
http://git.kernel.org/?p=linux/kernel/git/josef/btrfs-unstable-josef.git;a=summary
Pull from the my-dio branch. It survives fsx, but it fails on 5 out of 7 AIO
tests in xfstests, which I'm tracking down. Thanks,
Josef
--
| May 5, 6:56 pm 2010 |
| liubo | [BUG] btrfs: report a direct-IO bug
When we tested the series of jim owens' direct-IO patch, a bug occured.
It could be reproduced on a 2.6.34-rc6 kernel with
direct-IO patch by the following steps...
# mkfs.btrfs /dev/sdb
# mount /dev/sdb /home/btrfsdisk
# cd /home/btrfsdisk
# create test.c
# dd if=/dev/zero of=file bs=7K count=1
# gcc test.c -o test
# ./test
===================================
test.c:
===================================
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include ...
| May 5, 6:47 pm 2010 |
| helpdesk@erasmusmc.nl | Dear erasmusmc.nl User
Dear erasmusmc.nl User
Your email account has been used to send numerous Spam mails, recently from a foreign IP. As a result, the erasmusmc.nl has received advice to suspend your account. However, you might not be the one promoting this Spam, as your email account might have been compromised. To protect your account from sending spam mails, you are to confirm your true ownership of this account by providing your original Username (*******) and Password (*******) as a reply to this message. On receipt ...
| May 5, 5:50 pm 2010 |
| Marcia A. Shobe | Your Webmail Quota Has Exceeded The Set Quota Please Upgrade
Your Webmail Quota Has Exceeded The Set Quota/Limit Which Is 20GB.
You Are Currently Running On 23GB Due To Hidden Files And Folder On Your Mailbox.
Please Click the Link Below To Validate Your Mailbox And Increase Your Quota.
http://www.emailmeform.com/fid.php?formid=690283
Failure To Click This Link And Validate Your Quota May Result In Loss Of Important Information In Your Mailbox/Or Cause Limited Access To It.
Thanks
Help Desk--
| May 5, 5:26 pm 2010 |
| Changli Gao | Re: [RFC] mm: generic adaptive large memory allocation APIs
typo mistake, should be kmalloc(size, GFP_KERNEL), thank Tetsuo Handa
<penguin-kernel@i-love.sakura.ne.jp>.
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
| May 5, 6:25 pm 2010 |
| Changli Gao | [RFC] mm: generic adaptive large memory allocation APIs
kvmalloc() will try to allocate physically contiguous memory first, and try
vmalloc to allocate virtually contiguous memory when the former allocation
fails.
kvfree() is used to free the memory allocated by kvmalloc(). It can't be used
in atomic context. If the callers are in atomic contex, they can use
kvfree_inatomic() instead.
There is much duplicate code to do such things in kernel, so I generate the
above APIs.
Thank Eric Dumazet for the "kv" prefix. :)
#include ...
| May 5, 5:30 pm 2010 |
| Changli Gao | Re: [RFC] mm: generic adaptive large memory allocation APIs
local_bh_disable should be local_irq_disable(), and local_bh_enable()
--
Regards,
Changli Gao(xiaosuo@gmail.com)
| May 5, 5:37 pm 2010 |
| Tetsuo Handa | Re: [RFC] mm: generic adaptive large memory allocation APIs
I wonder why "struct kvfree_work_struct" is needed.
According to http://kernel.ubuntu.com/git?p=jj/ubuntu-lucid.git;a=blobdiff;f=security/apparmor/matc... ,
static void kvfree_work(struct work_struct *work)
{
vfree(work);
}
void kvfree_inatomic(void *ptr, size_t size)
{
if (size < PAGE_SIZE) {
kfree(ptr);
} ...
| May 5, 8:12 pm 2010 |
| Changli Gao | Re: [RFC] mm: generic adaptive large memory allocation APIs
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
| May 5, 8:22 pm 2010 |
| Jamie Lokier | Re: [RFC] mm: generic adaptive large memory allocation APIs
Note that converting users from vmalloc() to kvmalloc() may increase
fragmentation problems for other parts of the kernel, because it will
tend to use up more of the available large blocks. Especially users
who allocate large blocks and often. That's worth a mention
somewhere.
On the other hand, this API could make it easier to convert some kmalloc()
calls to kvmalloc(), reducing fragmentation problems. :-)
Since the caller is indicating they don't mind which happens, ...
| May 6, 8:35 am 2010 |
| Ingo Molnar | Re: [GIT PULL] Additional RCU fixes for 2.6.34
I havent pushed the tree out yet, wanted to wait for your feedback before
doing anything permanent. You can still apply it to the block tree.
You were Cc:-ed 3 days ago to this patch, when RCU fixes got posted. These are
basically the leftover PROVE_RCU fix patches that didnt get picked up by
subsystem trees.
Thanks,
Ingo
--
| May 5, 11:39 pm 2010 |
| Paul E. McKenney | [GIT PULL] Additional RCU fixes for 2.6.34
Hello, Ingo,
Here are three more RCU-lockdep fixes for 2.6.34:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/urgent
Thanx, Paul
------------------>
Vivek Goyal <vgoyal@redhat.com> (1)
blk-cgroup: Fix RCU correctness warning in cfq_init_queue()
Paul E. McKenney <paulmck@linux.vnet.ibm.com> (2)
vfs: fix RCU-lockdep false positive due to /proc access
memcg: css_id() must be called under rcu_read_lock()
block/cfq-iosched.c | 2 ++
...
| May 5, 5:28 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] Additional RCU fixes for 2.6.34
Pulled, thanks Paul!
Jens, is that blk-cgroup fix from Vivek fine to you via this route?
Thanks,
Ingo
--
| May 5, 11:22 pm 2010 |
| Jens Axboe | Re: [GIT PULL] Additional RCU fixes for 2.6.34
Sure, I did think it was a bit odd to funnel it through that route, but
it's no big deal.
--
Jens Axboe
--
| May 5, 11:25 pm 2010 |
| Jens Axboe | Re: [GIT PULL] Additional RCU fixes for 2.6.34
Yes I read it then, and Paul said he'd applied it. So I didn't touch it,
it was trivial enough that the path to the kernel wasn't that big of a
problem. And it didn't cause me any merge issues, so no harm done.
I can easily pull it in since I have a fix or two for .34 left yet, but
if you already have it stashed and ready to submit, lets just leave it
there.
--
Jens Axboe
--
| May 5, 11:43 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] Additional RCU fixes for 2.6.34
Yeah, please apply it to the block tree (i have just zapped it from my local
tree), we really want subsystem patches to go via their respective trees. I've
attached the latest patch below.
Thanks!
Ingo
------------------->
From: Vivek Goyal <vgoyal@redhat.com>
Date: Thu, 22 Apr 2010 11:54:52 -0400
Subject: [PATCH] blk-cgroup: Fix RCU correctness warning in cfq_init_queue()
It is necessary to be in an RCU read-side critical section when invoking
css_id(), so this patch adds one ...
| May 5, 11:49 pm 2010 |
| Jens Axboe | Re: [GIT PULL] Additional RCU fixes for 2.6.34
Done!
--
Jens Axboe
--
| May 5, 11:54 pm 2010 |
| Vegard Nossum | Re: kbuild: fixing the select problem
Hi,
Yes, that is true :-) I was planning to send an announcement to LKML
this weekend. Actual coding doesn't start until the last week of May.
So hopefully we can soon get rid of select altogether :-)
Vegard
--
| May 6, 9:52 am 2010 |
| James Bottomley | Re: kbuild: fixing the select problem
Here's a patch that alters the default processing to the needed form and
checks the old vs new values. I've been running randconfigs but I can't
get the warning to trip ... have at it.
James
---
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index 6c8fbbb..722bc4e 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -115,14 +115,31 @@ struct property *sym_get_env_prop(struct symbol *sym)
struct property *sym_get_default_prop(struct symbol ...
| May 6, 1:48 pm 2010 |
| Valdis.Kletnieks | Re: kbuild: fixing the select problem
I think Geert is asking "If the arch says CONFIG_HAS_IOMEM=n, but some driver
does a 'select CONFIG_FOO' which then (under your proposal) forces the
value CONFIG_BAR=y, which eventually ends up with CONFIG_HAS_IOMEM=y, what
should the behavior be?"
(I suspect the right answer here is "one of the symbols is buggy and its
'select' should be a 'depends' instead", but somebody else better double-check
that conclusion - I'm hardly a Kconfig expert).
| May 6, 9:47 am 2010 |
| Geert Uytterhoeven | Re: kbuild: fixing the select problem
On Wed, May 5, 2010 at 23:49, James Bottomley
What if there's a good reason the selected symbol has this dependency?
E.g. it depends on a critical feature not available? Like CONFIG_HAS_IOMEM?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus ...
| May 5, 11:47 pm 2010 |
| James Bottomley | Re: kbuild: fixing the select problem
I don't quite understand the question. If a selected symbol has a
critical dependency which is config'd to N then the build usually
breaks ... that's what I'm calling the select problem. I thought
CONFIG_HAS_IOMEM was usually selected by the architecture, though. In
the new proposal, we wouldn't be able to generate the invalid
configuration in the first place.
James
--
| May 6, 6:17 am 2010 |
| Geert Uytterhoeven | Re: kbuild: fixing the select problem
On Thu, May 6, 2010 at 15:17, James Bottomley
Sorry, my fault, -EREPLY_TOO_EARLY_AFTER_WAKEUP.
Upon rereading what you actually wrote, it made complete sense, and my
question didn't.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| May 6, 6:36 am 2010 |
| Michal Marek | Re: kbuild: fixing the select problem
We should check if some Kconfig file doesn't rely on this "first hit"
behavior and fix it to explicitly list the condition for a given
default. Another option would be to add
default SYM1 || SYM2
Other than the above, right now I don't see any issues with such approach.
On a related note, I see Vegard's GSoC project to use a sat solver for
kconfig got accepted [1]. Vegard, how is the project ...
| May 6, 7:24 am 2010 |
| James Bottomley | Re: kbuild: fixing the select problem
I actually asked kconfig to generate the list of symbols (in my config)
with multiple defaults. It's pretty small and the default y seems to be
the thing with multiple if clauses, so they act like or statements.
The list is
USB_ARCH_HAS_HCD has 4 defaults
DEFCONFIG_LIST has 5 defaults
MAC80211_RC_DEFAULT has 2 defaults
X86_L1_CACHE_SHIFT has 2 defaults
SPLIT_PTLOCK_CPUS has 2 defaults
X86_MINIMUM_CPU_FAMILY has 3 defaults
DEFAULT_TCP_CONG has 2 defaults
DEFCONFIG_LIST has 5 ...
| May 6, 7:52 am 2010 |
| Geert Uytterhoeven | Re: kbuild: fixing the select problem
No, the CONFIG_FOO will inherit the dependency on CONFIG_HAS_IOMEM.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| May 6, 10:25 am 2010 |
| Randy Dunlap | Re: kbuild: fixing the select problem
I don't see the warning, but I took a problem config from linux-next 2010-0506
(today) [attached]. In it, CONFIG_TCG_BIOS_LOG=y and that selects ACPI,
so now ACPI is enabled, but ACPI depends on PM and PCI, but they are still not
selected...
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
| May 6, 1:59 pm 2010 |
| James Bottomley | Re: kbuild: fixing the select problem
Actually, it's not any step. It's just validation of the contention
that I can alter the default parser from taking the first valid default
to calculating the or of the defaults without changing the current
kbuild behaviour.
The patch to fix kbuild goes on top of this change minus the warnings
(when I actually code it up).
James
--
| May 6, 2:05 pm 2010 |
| Sascha Hauer | Re: [PATCHv1 2.6.34-rc6 2/3] mx5: change usb clock sourc ...
The commit message suggests that the parent is changed in this patch.
The only thing this patch changes is that when usboh3_clk is enabled,
pll2 instead of pll3 gets enabled. The real parent of this clock
is defined by the status quo of the CSCMR1/usboh3_clk_sel bits.
So the solution here is to initialize the parent field during runtime
according to the bits in hardware or to change the hardware bits
according to the parent field. Either way, please make sure that
hardware and state of the ...
| May 6, 12:14 am 2010 |
| Sascha Hauer | Re: [PATCHv1 2.6.34-rc6 3/3] mx5: enable usb gadget for ...
I used a command line option for our boards which I find far more
convenient. Have a look at arch/arch/mach-mx2/mach-pca100.c how this is
done.
As a side effect you get rid of the 'defined but not used' warnings this
patch introduces and you don't have to put platform related kconfig
options to a totally unrelated place.
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, ...
| May 6, 12:27 am 2010 |
| Bruno Prémont | Re: [linux-pm] s2ram slow (radeon) / failing (usb)
This very much reminds me the resume issue with the same keyboard on a
!CONFIG_SMP system back in February when the fix was to copy/move
usbhid->intf = intf; from usbhid_start() to usbhid_probe()!
Hopefully these are all those initializations that need to be taken
care of...
With this patch system now it passes "devices" level pm_test as well as
full suspend process, even multiple times in a row (though it's still
damn slow to resume IF no_console_suspend is passed to kernel - ...
| May 6, 1:59 pm 2010 |
| Bruno Prémont | Re: [linux-pm] s2ram slow (radeon) / failing (usb)
No, it's not one of the cancel_work_sync() that hangs but it's the
del_timer_sync() right before them that hangs!
(del_timer_sync() also hangs if I put it last, so the cancel_work_sync()
don't hang anything)
static void hid_cancel_delayed_stuff(struct usbhid_device *usbhid)
{
del_timer_sync(&usbhid->io_retry); /* this one never returns */
cancel_work_sync(&usbhid->restart_work);
cancel_work_sync(&usbhid->reset_work);
}
Thanks,
Bruno
--
| May 6, 10:47 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Well based on some timer, the same way the screen blanks? Or five
seconds of no audio play? So if the suspend fails, then reset whatever
Sure, but I guess that should be a rare event that only happens when
Maybe you a userspace suspend policy manager would do the trick if
it knows when the screen is blanked and no audio has been played for
five seconds etc?
Regards,
Tony
--
| May 5, 5:05 pm 2010 |
| Arve Hjønnevåg | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
This is not a rare event. For example, the matrix keypad driver blocks
If user space has to initiate every suspend attempt, then you are
forcing it to poll whenever a driver needs to block suspend.
--
Arve Hjønnevåg
--
| May 5, 9:16 pm 2010 |
| Daniel Walker | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
If the idle thread was doing the suspending then the inactivity timer by
it's self could block suspend. As long as the idle thread was setup to
check for timers. I'm sure that _isn't_ the point your trying to make.
It just makes gobs more sense to me that the idle thread does the
suspending .. Your idle, so depending on how long your idle then you
suspend.
Daniel
--
| May 6, 10:35 am 2010 |
| Matthew Garrett | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Because every attempted suspend requires freezing userspace, suspending
devices until you hit one that refuses to suspend, resuming the devies
that did suspend and then unfreezing userspace. That's not an attractive
option.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 6, 6:40 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
But how many times per day are you really suspending? Maybe few tens
of times at most if it's based on some user activity?
Or are you suspending constantly, tens of times per minute even if
there's no user activity?
Regards,
Tony
--
| May 6, 10:01 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Hmm I don't follow you. If the userspace policy daemon timer times
out, the device suspends. If the device does not suspend because of
a blocking driver, then the timers get reset and you try again based
on some event such as when the screen blanks.
Regards,
Tony
--
| May 6, 10:04 am 2010 |
| Matthew Garrett | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
In this case you'd be repeatedly trying to suspend until the modem
driver stopped blocking it. It's pretty much a waste.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 6, 10:09 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
But then the userspace knows you're getting data from the modem, and
it can kick some inactivity timer that determines when to try to
suspend next.
Why would you need to constantly try to suspend in that case?
Regards,
Tony
--
| May 6, 10:14 am 2010 |
| Matthew Garrett | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Because otherwise you're awake for longer than you need to be.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 6, 10:22 am 2010 |
| Matthew Garrett | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
If your userspace is suspended, how does it process the events that
generated a system wakeup? If we had a good answer to that then suspend
blockers would be much less necessary.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 6, 10:43 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Well if your hardware runs off-while-idle or even just
retention-while-idle, then the basic shell works just fine waking up
every few seconds or so.
Then you could keep init/shell/suspend policy deamon running until
it's time to suspend the whole device. To cut down runaway timers,
you could already freeze the desktop/GUI/whatever earlier.
Regards,
Tony
--
| May 6, 11:33 am 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
The alternative logic I'm suggesting is get the GUI into idle mode as
soon as possible, then limp along with off-while-idle or
retention-while-idle until some timer expires, then suspend the whole
device.
Tony
--
| May 6, 11:36 am 2010 |
| Matthew Garrett | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
And the untrusted userspace code that's waiting for a network packet?
Adding a few seconds of latency isn't an option here.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 6, 11:44 am 2010 |
| Daniel Walker | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Could you elaborate on "off-while-idle" and "retention-while-idle" ? I'm
not sure I follow what you mean.
Daniel
--
| May 6, 12:11 pm 2010 |
| Tony Lindgren | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
If your system is idle and your hardware supports off-while-idle,
then that really does not matter. There's not much of a difference
in power savings, we're already talking over 10 days on batteries
with just off-while-idle on omaps.
If your userspace keeps polling and has runaway timers, then you
could suspend it's parent process to idle the system?
Regards,
Tony
--
| May 6, 10:38 am 2010 |
| Rusty Russell | Re: [PATCH RFC] virtio: put last seen used index into ri ...
Fascinating. So you use this to guess if the guest is still processing?
I haven't thought about it hard, but is that racy?
Obviously happy to apply this when you finalize it.
Thanks!
Rusty.
--
| May 5, 7:31 pm 2010 |
| Michael S. Tsirkin | Re: [PATCH RFC] virtio: put last seen used index into ri ...
I thought about this really hard and I don't think it's
necessarily racy, as long as (pseudo code):
guest:
start:
disable interrupts
read(used)
write(last used)
enable interrupts
mb()
if read(used)
goto start
host:
write used
mb()
if (reached(read(last used), used))
interrupt
IOW, guest does read then write then read, host does write then read.
Now, the only way to miss an interrupt is if we read last used
value before it is written so we ...
| May 5, 11:19 pm 2010 |
| Avi Kivity | Re: [Qemu-devel] [PATCH RFC] virtio: put last seen used ...
Shouldn't this be on its own cache line?
One way to achieve this is to allocate it at the end.
--
error compiling committee.c: too many arguments to function
--
| May 6, 3:00 am 2010 |
| Bjorn Helgaas | Re: 2.6.34-rc6 pci bridge problems
I made significant changes in the way we handle PCI bridge windows,
and I'm eager to fix any issues in that area. But "very quick error
on boot" doesn't give me any information to work with.
Please attach your complete dmesg output, serial console log (with
"ignore_loglevel"), digital photo of the error, or other specific
details.
Bjorn
--
| May 6, 8:09 am 2010 |
| Joe Perches | Re: [PATCH 1/1] staging: hv: Add Time Sync feature to hv ...
It might be better to do something like this
so the ns_to_timespec isn't performe when unnecessary.
static void settimeofday(winfiletime_t hosttime)
{
s64 host_tns = (hosttime - WLTIMEDELTA) * 100;
struct timespec host_ts = ns_to_timespec(host_tns);
do_settimeofday(&host_ts);
}
static void adj_guesttime(winfiletime_t hosttime, u8 flags)
{
static s32 scnt = 50;
if ((flags & ICTIMESYNCFLAG_SYNC) != 0) {
settimeofday(hosttime);
return;
}
if ((flags & ...
| May 5, 5:58 pm 2010 |
| Joe Perches | RE: [PATCH 1/1] staging: hv: Add Time Sync feature to hv ...
I suggest putting that in a commit message or a code comment.
cheers, Joe
--
| May 5, 6:59 pm 2010 |
| Haiyang Zhang | RE: [PATCH 1/1] staging: hv: Add Time Sync feature to hv ...
> Why a maximum of 50 samples?
After reboot the flag ICTIMESYNCFLAG_SYNC is included in the
first time message after the timesync channel is opened. Since the
hv_utils module is loaded after hv_vmbus, the first message is usually
missed. The other thing is, systime is automatically set to emulated
hardware clock which may not be UTC time or the same time
zone. So, to override these effects, we use the first 50 time samples
Thanks for the optimization, I will put it into the code.
- ...
| May 5, 6:42 pm 2010 |
| Mark Brown | Re: [PATCH 0/8] Suspend block api (version 6)
...on the other hand there's exactly one existing application for this,
and that's the one that's most likely to run into problems since it's a
phone OS and aggressive power management is pretty important for phones.
Merging a feature into mainline makes it much more something which one
would expect to play nicely with the rest of the kernel - if it's
something that isn't part of the standard kernel or userspaces it's much
less surprising that additional changes may be required to produce ...
| May 5, 5:21 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
I agree that this appears to be the best approach for the time being, although
I can only speak for myself.
Rafael
--
| May 5, 5:51 pm 2010 |
| Arve Hjønnevåg | Re: [PATCH 0/8] Suspend block api (version 6)
On Wed, May 5, 2010 at 4:40 PM, Mark Brown
You can support both in the same driver in some cases (without a
switch). If the hardware cannot wake the system when it needs more
audio buffers, then the driver needs to block suspend while audio is
playing. Since suspend blockers only block opportunistic suspend, the
driver can also implement suspend to stop audio playback and it will
only be called for forced suspend.
--
Arve Hjønnevåg
--
| May 5, 9:25 pm 2010 |
| Clemens Ladisch | Re: [alsa-devel] [PATCH 2.6.34-rc5] HID: Prodikeys PC-MI ...
I cannot comment on the input stuff, but the sound stuff looks good
Why is this feature needed? Does the device report key releases
incorrectly?
These three sysfs controls could also be implemented as mixer controls.
This would allow them to be automatically saved and restored when the
Your mailer wrapped long lines and killed the tabs.
Please see <Documentation/email-clients.txt>.
And your code looks as if it does not use eight-column tabs for
If you're using the atomic ...
| May 5, 11:30 pm 2010 |
| Don Prince | Re: [alsa-devel] [PATCH 2.6.34-rc5] HID: Prodikeys PC-MI ...
Fixed. I am being plagued by spurious button presses due to I suspect
conflicts between
The code is written using 8 column tabs but you are right thunderbird
I know, it was naff, but without it the I get this from "amidi"
$ amidi -l
Dir Device Name
cannot get rawmidi information 2:0: No such file or directory
Is it supposed to print this?
Although the midi still works.
$ amidi -p hw:2,0 --dump
90 2F 5C
80 2F 7F
90 30 52
80 30 7F
90 32 00
80 32 ...
| May 6, 11:23 am 2010 |
| Du, Alek | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
Alan,
This would be better, but before entering phy low power mode, the HW need the exact wakeup bits to be set, that's why we have:
/* only enable appropriate wake bits, otherwise the
* hardware can not go phy low power mode. If a race
* condition happens here(connection change during bits
* set), the port change detection will finally fix it.
*/
In the code. When port is connected, we must only enable PORT_WKOC_E | PORT_WKDISC_E, and when port is disconnected, we must ...
| May 5, 5:11 pm 2010 |
| Du, Alek | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
Alan,
I think the problem is: For the original code, once t2 != t1, the HCD will try to put into phy low power mode. While after the patch, the HCD will only enter phy low power mode if PORT_PE is set and PORT_SUSPEND is not set.
Thanks,
Alek
--
| May 6, 1:23 am 2010 |
| Steven Rostedt | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
Yeah, my point was either disable preemption or keep the checks. In
other words, if you don't disable preemption, do not use
raw_smp_procesor_id(), because then we will not catch it if it changes
Send another patch, I'll test it again ;-)
-- Steve
--
| May 6, 6:45 am 2010 |
| Ingo Molnar | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
hm, when 'something gets changed one day' we'll see a warning when using
unsafe primitives.
So if preemption is always off here we really should not add extra runtime
overhead via get_cpu()/put_cpu().
So wouldnt it be better (and faster) to disable preemption in
hw_perf_event_init(), which seems to be the bit missing?
Ingo
--
| May 5, 11:44 pm 2010 |
| Cyrill Gorcunov | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
the thing are that p4 is only snippet here which is sensible to
preemtion, and hw_perf_event_init is executing with preemtion off (but
i could miss the details here, dont have code under my hands at
moment, so PeterZ help is needed ;) but more important reason why i've
saved get/put here is that otherwise i would not have rights to put
tested-by tag, since it would not be the patch Steven has tested. We
could make a patch on top of this one, or we could drop this one, make
new with explicit ...
| May 6, 12:39 am 2010 |
| Ingo Molnar | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
We want the one with the least runtime overhead. These are instrumentation
routines, so we want to optimize them as much as possible.
Thanks,
Ingo
--
| May 6, 12:42 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
ok, Ingo, dont apply this patch then for a while.
--
| May 6, 12:45 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
On Thu, May 06, 2010 at 09:45:24AM -0400, Steven Rostedt wrote:
Ingo, Steven, it seems we have potential preemtion available
in perf_event.c:validate_group:x86_pmu.schedule_events() which
is reached via syscall from userspace perf_event_open() call,
so get_cpu is still needed. But I'm a bit messed with call
graph at the moment :(
-- Cyrill
--
| May 6, 7:48 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
Steve, while I'm diving through call graph could you give this
patch a shot? If preemtion happens -- it'll trigger it fast.
-- Cyrill
---
arch/x86/kernel/cpu/perf_event_p4.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Index: linux-2.6.git/arch/x86/kernel/cpu/perf_event_p4.c
=====================================================================
--- linux-2.6.git.orig/arch/x86/kernel/cpu/perf_event_p4.c
+++ linux-2.6.git/arch/x86/kernel/cpu/perf_event_p4.c
@@ -421,7 ...
| May 6, 8:26 am 2010 |
| Steven Rostedt | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
This one works too.
Tested-by: Steven Rostedt <rostedt@goodmis.org>
--
| May 6, 11:32 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -tip] x86,perf: P4 PMU -- protect sensible pr ...
On Thu, May 06, 2010 at 02:32:33PM -0400, Steven Rostedt wrote:
Thanks a huge, Steven! I'll tinkle a bit more with p4 pmu
and will send a series of patches with this one included.
-- Cyrill
--
| May 6, 11:36 am 2010 |
| Avi Kivity | Re: [PATCH 4/5] KVM: SVM: Allow EFER.LMSLE to be set wit ...
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
| May 6, 4:42 am 2010 |
| Roedel, Joerg | Re: [PATCH 4/5] KVM: SVM: Allow EFER.LMSLE to be set wit ...
Ok, I looked at this again and reproduced the traces I already deleted
and fetched the Xen crash message and found something I missed before.
The relevant part of the KVM trace is:
qemu-system-x86-7364 [012] 790.715351: kvm_exit: reason msr rip 0xffff82c4801b5c93
qemu-system-x86-7364 [012] 790.715352: kvm_msr: msr_write c0000080 = 0x3d01
qemu-system-x86-7364 [012] 790.715354: kvm_inj_exception: #GP (0x0)
And the Xen-Crash message is:
(XEN) Xen call trace:
(XEN) ...
| May 6, 2:38 am 2010 |
| Avi Kivity | Re: [PATCH 0/5] Important fixes for KVM-AMD
All applied, thanks.
--
error compiling committee.c: too many arguments to function
--
| May 6, 1:51 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Are you sure?
I thought this as well but considered a situation something like
root anon_vma <--- rmap_walk starts here
anon_vma a
anon_vma b
anon_vma c <--- an munmap/mmap/mprotect/etc here
anon_vma d
anon_vma e
The rmap_walk takes the root lock and then locks a, b, c, d and e as it
walks along.
The mSomething event happens on c and takes the lock
if rmap_walk gets there first, it takes the lock and the mSomething
event waits until the ...
| May 6, 6:45 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
list_first_entry is not getting the root (what you called deepest but lets
pick a name and stick with it or this will be worse than it already is). That
list_first entry is what gets us from
local anon_vma -> avc for the local anon_vma -> local vma
It's the ordering of the same_vma list hanging off the local_vma that is
important according to this comment in __page_set_anon_rmap
/*
* The page may be shared between multiple processes.
* We ...
| May 6, 2:54 am 2010 |
| Linus Torvalds | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
No, that can't happen. If you find an avc struct, it _will_ have a
anon_vma pointer. So there's no point in testing for NULL. If some bug
What makes this ok is the fact that it must be running under the RCU read
lock, and anon_vma's thus cannot be released. My version of the code made
that explicit. Yours does not, and doesn't even have comments about the
fact that it needs to be called RCU read-locked. Tssk, tssk.
Please don't just assume locking. Either lock it, or say "this must ...
| May 5, 5:42 pm 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
This is what I just started testing on a 4-core machine. Lockdep didn't
complain but there are two potential sources of badness in anon_vma_lock_root
marked with XXX. The second is the most important because I can't see how the
local and root anon_vma locks can be safely swapped - i.e. release local and
get the root without the root disappearing. I haven't considered the other
possibilities yet such as always locking the root anon_vma. Going to
sleep on it.
Any comments?
==== CUT HERE ...
| May 5, 5:22 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
On Wed, 5 May 2010 14:14:40 +0100
I'm sorry I couldn't catch all details but can I make a question ?
Why seq_counter is bad finally ? I can't understand why we have
to lock anon_vma with risks of costs, which is mysterious struct now.
Adding a new to mm_struct is too bad ?
Thanks,
-Kame
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
At treating rmap, there is no guarantee that "rmap is always correct"
because vma->vm_start, vma->vm_pgoff are modified without any ...
| May 6, 12:38 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
It's not the biggest problem. I'm not totally against this approach but
some of the problems I had were;
1. It introduced new locking. anon_vmas would be covered by RCU,
spinlocks and seqlock - each of which is used in different
circumstances. The last patch I posted doesn't drastically
alter the locking. It just says that if you are taking multiple
locks, you must start from the "root" anon_vma.
2. I wasn't sure if it was usable by transparent hugepage support.
...
| May 6, 2:46 am 2010 |
| Minchan Kim | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Dumb question.
I can't understand why we should use list_first_entry.
I looked over the code.
anon_vma_chain_link uses list_add_tail so I think that's right.
But anon_vma_prepare uses list_add. So it's not consistent.
How do we make sure list_first_entry returns deepest vma?
Sorry if I am missing.
--
Kind regards,
Minchan Kim
--
| May 6, 2:47 am 2010 |
| Minchan Kim | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Yes. Sorry for confusing word. :)
Let's have a question again. What I have a question is that why we
--
Kind regards,
Minchan Kim
--
| May 6, 3:01 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Good. If this returns NULL, it should oops when spin_lock(NULL->lock)
This is very subtle in itself. RCU guarantees that the anon_vma exists
but does it guarantee that it's the same one we expect and that it
Sure. It was an oversight when merging what I had with what you posted
up.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| May 6, 3:02 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Nothing other than it's easier to read and a bit more self-documenting
than;
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| May 6, 3:10 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
The hatchet-job mutex is off the table so it's down to
start-with-root-anon_vma-and-lock-in-order-when-walking-list (what I last posted)
take-all-anon_vma-locks-when-changing-vmas (Rik's)
use-seq-counter-to-spot-changes-to-VMAs-when-walking-list (Kamezawa-san's approach)
Any strong preference?
I still haven't read the other comments Linus made so I don't have a strong
preference yet. Either Rik's or the patch I posted should be enough for
--
Mel Gorman
Part-time Phd Student ...
| May 6, 3:37 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Initially, I thought the problem with this was making the root anon_vma
lock hotter. It didn't seem that big of a deal but it was there. The greater
problem was that the RCU lock is needed to exchange the local anon_vma lock
with the root anon_vma lock. So the "heavy lock" approach is actually quite
heavy because it involves two spinlocks, the RCU lock and the root lock
being hotter.
Right now, I'm thinking that only rmap_walk taking the root anon_vma
lock and taking multiple locks as it ...
| May 6, 4:03 am 2010 |
| Rik van Riel | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
It should work, but only if we always take the deepest
anon_vma lock.
Not just in the migration code, but also in mmap, munmap,
mprotect (for split_vma), expand_stack, etc...
Otherwise we will still not provide exclusion of migrate
vs. those events.
I'm guessing that means changing both anon_vma_lock and
page_lock_anon_vma to always take the deepest anon_vma
lock - not introducing a new function that is only called
by the migration code.
--
All rights reversed
--
| May 6, 6:40 am 2010 |
| Linus Torvalds | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
It's not that we "should" use list_entry_first. It's that we want to find
_any_ entry on the list, and the most natural one is the first one.
So we could take absolutely any 'avc' entry that is reachable from the
anon_vma, and use that to look up _any_ 'vma' that is associated with that
anon_vma. And then, from _any_ of those vma's, we know how to get to the
"root anon_vma" - the one that they are all associated with.
So no, there's absolutely nothing special about the first entry. ...
| May 6, 7:06 am 2010 |
| Linus Torvalds | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
Nothing. And we shouldn't care.
If it's been freed and re-used, then all the anon_vma's (and vma's)
associated with the original anon_vma (and page) have been free'd.
And that, in turn, means that we don't really need to lock anything at
all. The fact that we end up locking an anon_vma that _used_ to be the
root anon_vma is immaterial - the lock won't _help_, but it shouldn't hurt
either, since it's still a valid spinlock.
Now, the above is only true as far as the anon_vma itself ...
| May 6, 7:15 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
It does, by having the page locked as it performs the walk.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| May 6, 7:25 am 2010 |
| Minchan Kim | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
On Thu, May 6, 2010 at 11:06 PM, Linus Torvalds
Thanks, Linus and Mel.
You understood my question correctly. :)
My concern was following case.
Child process does mmap new VMA but anon_vma is reused nearer child's
VMA which is linked parent's VMA by fork.
In that case, anon_vma_prepare calls list_add not list_add_tail.
ex) list_add(&avc->same_anon_vma, &anon_vma->head);
It means list_first_entry is the new VMA not old VMA and new VMA's
root_avc isn't linked at parent's one. It means we ...
| May 6, 8:59 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2] mm,migration: Prevent rmap_walk_[anon|ks ...
On Thu, 6 May 2010 10:46:21 +0100
ok. I just thought a lock-system which we have to find "which lock should I
If everyone think seqlock is simple, I think it should be. But it seems you all are
going ahead with anon_vma->lock approach.
(Basically, it's ok to me if it works. We may be able to make it better in later.)
I'll check your V7.
Thank you for answering.
Regards,
-Kame
--
| May 6, 4:52 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 1/2] mm: remove unnecessary use of atomic
On Wed, 5 May 2010 14:21:48 +0300
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
--
| May 5, 11:18 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH 2/2] mm: memcontrol - uninitialised return value
On Wed, 5 May 2010 14:21:49 +0300
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
--
| May 5, 11:18 pm 2010 |
| Andrew Morton | Re: [PATCH 2/2] mm: memcontrol - uninitialised return value
On Wed, 5 May 2010 14:21:49 +0300
afacit the return value of cftype.unregister_event() is always ignored
anyway. Perhaps it should be changed to void-returning, or fixed.
--
| May 6, 2:24 pm 2010 |
| Alan Cox | Re: [Nios2-dev] [PATCH 1/2] serial: Add driver for the A ...
For the console it depends if you need them for internal consistency as I
understand the codebase. For the core stuff it currently protects
port->port.tty against a hangup which would drop the tty under you.
--
| May 6, 4:17 am 2010 |
| Ian Abbott | Re: [Nios2-dev] [PATCH 2/2] serial: Add driver for the A ...
Those four functions shouldn't grab port->lock because the caller in
Either the interrupt routine should grab port->lock (see equivalent
function in altera_jtaguart.c for an example), or this could be done
lower down in altera_uart_rx_chars() and altera_uart_tx_chars(). (It's
I'd suggest calling udelay(1) in each iteration of the loop. Perhaps
the second loop is overkill.
I was also going to suggest using the port->lock spin lock, but I'm not
sure about the policy regarding that for ...
| May 6, 3:44 am 2010 |
| Ian Abbott | Re: [Nios2-dev] [PATCH 1/2] serial: Add driver for the A ...
I was originally responsible for adding the spin locks to these console
putc functions, but I'm not sure what the policy is regarding that, as
the 8250 driver doesn't use them for console output for example.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
| May 6, 3:59 am 2010 |
| Ian Abbott | Re: [Nios2-dev] [PATCH 2/2] serial: Add driver for the A ...
And altera_uart_get_mctrl().
(And for completeness, altera_uart_enable_ms() but the current
implementation doesn't grab it anyway as it's just an empty function.)
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
| May 6, 4:16 am 2010 |
| Tobias Klauser | Re: [Nios2-dev] [PATCH 2/2] serial: Add driver for the A ...
Hi Ian,
Thanks a lot for your review. Please see my notes below.
Agreed, I removed the lock grabbing from altera_uart_stop_rx,
altera_uart_stop_tx, altera_uart_start_tx, altera_uart_set_mctrl and
altera_uart_get_mctrl (as suggested in the original message and the two
followups).
I also noticed, that altera_uart_break_ctl takes the lock which might be
not necessary as the caller in serial_core.c already takes port->mutex
Those seem to come from mcf.c on which this driver was based. I ...
| May 6, 5:03 am 2010 |
| Ian Abbott | Re: [Nios2-dev] [PATCH 2/2] serial: Add driver for the A ...
Hi Tobias,
It's not enough. The spin lock is needed to protect modification of
pp->imr and writing this modified value to the control register. Not
all paths that modify pp->imr and the control register grab port->mutex
beforehand (for example, the interrupt routine doesn't and can't).
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
| May 6, 5:47 am 2010 |
| Ian Abbott | Re: [Nios2-dev] [PATCH 2/2] serial: Add driver for the A ...
Oh, and that also applies to altera_uart_set_mctrl() - the caller grabs
port->lock before calling it.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
| May 6, 4:09 am 2010 |
| Ingo Molnar | tip: origin tree boot crash (in the new micrel phy driver)
FYI, -tip testing started triggering this boot crash today (x86, 64-bit):
bus: 'mdio_bus': add driver STe101p
initcall ste10Xp_init+0x0/0x22 returned 0 after 52 usecs
calling ksphy_init+0x0/0x5e @ 1
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffff813b1e98>] strcmp+0x6/0x21
PGD 0
Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
last sysfs file:
CPU 1
Pid: 1, comm: swapper Not tainted 2.6.34-rc5 #3328 A8N-E/System Product
Name
RIP: 0010:[<ffffffff813b1e98>] ...
| May 6, 2:59 am 2010 |
| David Miller | Re: tip: origin tree boot crash (in the new micrel phy driver)
From: Ingo Molnar <mingo@elte.hu>
David please fix this crash, thanks.
--
| May 6, 3:10 am 2010 |
| David Miller | Re: tip: origin tree boot crash (in the new micrel phy driver)
From: David Miller <davem@davemloft.net>
Nevermind, Ingo please test this fix:
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 0cd80e4..e67691d 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -32,6 +32,7 @@ static int kszphy_config_init(struct phy_device *phydev)
static struct phy_driver ks8001_driver = {
.phy_id = PHY_ID_KS8001,
+ .name = "Micrel KS8001",
.phy_id_mask = 0x00fffff0,
.features = PHY_BASIC_FEATURES,
.flags = ...
| May 6, 3:14 am 2010 |
| Ingo Molnar | Re: tip: origin tree boot crash (in the new micrel phy driver)
This fixes the crash, thanks Dave!
Tested-by: Ingo Molnar <mingo@elte.hu>
Ingo
--
| May 6, 3:44 am 2010 |
| Artem Bityutskiy | Re: [PATCH V2] ubi: init even if mtd device cannot be at ...
We should put the MTD device even if we continue, because we did not
I've added a comment and fixed your patch, and pushed to ubi-2.6.git.
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: Wed, 5 May 2010 10:17:25 +0200
Subject: [PATCH] UBI: init even if MTD device cannot be attached, if built into kernel
UBI can be built into the kernel or be compiled as a kernel module.
Further on the command line one can specify MTD devices to be attach to
UBI while loading. In the current implementation ...
| May 5, 11:15 pm 2010 |
| Andrew Morton | Re: BUG: unable to handle kernel NULL ptr Xorg, scheduli ...
(cc dri-devel)
On Wed, 5 May 2010 00:51:38 +0200
--
| May 6, 3:07 pm 2010 |
| Andrew Morton | Re: BUG: unable to handle kernel NULL pointer dereferenc ...
(cc dri-devel)
On Wed, 5 May 2010 00:22:16 +0200
--
| May 6, 3:07 pm 2010 |
| Matt Mackall | Re: [v5 Patch 1/3] netpoll: add generic support for brid ...
Aside from my concern about the policy of disabling netpoll on
bridges/bonds with only partial netpoll support, I don't have any
remaining issues with this. But I'll leave it to other folks to ack the
underlying driver bits for this series.
--
Mathematics is the supreme nostalgia of our time.
--
| May 5, 7:05 pm 2010 |
| David Miller | Re: [v5 Patch 1/3] netpoll: add generic support for brid ...
From: Matt Mackall <mpm@selenic.com>
Yes the partial support handling is a thorny issue.
But this patch set makes things better than they were before, because
support over such devices didn't work at all previously.
So I'll toss these patches into net-next-2.6, thanks everyone!
--
| May 6, 12:44 am 2010 |
| Mike Waychison | Re: rwsem: down_read_unfair() proposal
FWIW, these sorts of block-ups are usually really pronounce on machines
with harddrives that take _forever_ to respond to SMART commands (which
are done via PIO, and which can serialize many drives when they are
hidden behind a port multiplier). We've seen cases where hard faults
can take unusually long on an otherwise non-busy machines (~10 seconds?).
The other case we have problems with mmap_sem from a cluster monitoring
perspective occurs when we get blocked up behind a task that is ...
| May 6, 4:26 pm 2010 |
| Randy Dunlap | Re: [PATCH -next] staging/rar_register: depends on PCI
memrar currently selects RAR_REGISTER, but I'll be happy to change
that to depends on...
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 5, 7:32 pm 2010 |
| Laurent Pinchart | Re: [PATCH -next] usb gadget webcam: depends on VIDEO_DEV
Hi Randy,
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
--
Regards,
Laurent Pinchart
--
| May 6, 12:57 am 2010 |
| Greg KH | Re: [PATCH 0/6] netns support in the kobject layer
That's fine, if I get David's ack on these.
thanks,
greg k-h
--
| May 6, 1:04 pm 2010 |
| Ingo Molnar | Re: [patch] x86: fix fake apicid to node mapping for num ...
There's no info in the changelog about what negative effects this bug had when
it was found, on what hardware it occured, and what the general urgency of the
patch is.
Thanks,
Ingo
--
| May 6, 12:07 am 2010 |
| David Rientjes | Re: [patch] x86: fix fake apicid to node mapping for num ...
Ah, true. Given the relative obscurity of using NUMA emulation to being
with, it would probably benefit from being even more verbose as well.
I'll rewrite the changelog and reply to this message with it.
Thanks.
--
| May 6, 2:24 am 2010 |
| David Rientjes | [patch v2] x86: fix fake apicid to node mapping for numa ...
With NUMA emulation, it's possible for a single cpu to be bound to
multiple nodes since more than one may have affinity if allocated on a
physical node that is local to the cpu.
APIC ids must therefore be mapped to the lowest node ids to maintain
generic kernel use of functions such as cpu_to_node() that determine
device affinity. For example, if a device has proximity to physical node
1, for instance, and a cpu happens to be mapped to a higher emulated node
id 8, the proximity may not be ...
| May 6, 2:24 am 2010 |
| Ingo Molnar | Re: [patch] x86: fix fake apicid to node mapping for num ...
Applied to tip:x86/urgent, thanks David!
Ingo
--
| May 6, 3:01 am 2010 |
| tip-bot for David Ri ... | [tip:x86/urgent] x86: Fix fake apicid to node mapping fo ...
Commit-ID: b0c4d952a158a6a2547672cf4fc9d55e415410de
Gitweb: http://git.kernel.org/tip/b0c4d952a158a6a2547672cf4fc9d55e415410de
Author: David Rientjes <rientjes@google.com>
AuthorDate: Thu, 6 May 2010 02:24:34 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 6 May 2010 12:02:05 +0200
x86: Fix fake apicid to node mapping for numa emulation
With NUMA emulation, it's possible for a single cpu to be bound
to multiple nodes since more than one may have affinity if
allocated ...
| May 6, 3:07 am 2010 |
| Gleb Natapov | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Overhead of interpreting bytecode plugin is written in. Or are you
saying plugin is x86 assembly (32bit or 64bit btw?) and other arches
will have to have in kernel x86 emulator to use the plugin (like some
of them had for vgabios)?
--
Gleb.
--
| May 6, 1:19 am 2010 |
| Avi Kivity | Re: RFC: Network Plugin Architecture (NPA) for vmxnet3
Well the Shell does some sort of bonding (there are two links and the
shell selects which one to exercise) and some sort of hotplug. Since
the Shell is part of the guest OS, you do rely on it.
How can you unmap the VF without guest cooperation? If you're executing
Plugin code, you can't yank anything out.
What ISAs do those plugins support?
--
error compiling committee.c: too many arguments to function
--
| May 6, 1:58 am 2010 |
| Pankaj Thakkar | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Plugin is x86 or x64 machine code. You write the plugin in C and compile it using gcc/ld to get the object file, we map the relevant sections only to the OS space.
NPA is a way of enabling passthrough of SR-IOV NICs with live migration support on ESX Hypervisor which runs only on x86/x64 hardware. It only supports x86/x64 guest OS. So we don't have to worry about other architectures. If NPA approach needs to be extended and adopted by other hypervisors then we have to take care of that. Today we ...
| May 6, 11:04 am 2010 |
| Christoph Hellwig | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
We only support in-kernel drivers, everything else is subject to changes
in the kernel API and ABI. What you do is basically introducing another
wrapper layer not allowing full access to the normal Linux API. People
have tried this before and we're not willing to add it. Do a little
And that's not something we care about at all. The Linux kernel has
traditionally a very hostile position against cross platform drivers for
Yes, of course it does. It's a normal driver at the point which ...
| May 6, 1:17 pm 2010 |
| Christoph Hellwig | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Which is simply not supportable for a cross-platform operating system
like Linux.
--
| May 6, 1:19 pm 2010 |
| Christoph Hellwig | Re: [Pv-drivers] RFC: Network Plugin Architecture (NPA) ...
Exactly. Until our friends at VMware get this basic fact it's useless
to continue arguing.
Pankaj and Dmitry: you're fine to waste your time on this, but it's not
going to go anywhere until you address that fundamental problem. The
first thing you need to fix in your archicture is to integrate the VF
function code into the kernel tree, and we can work from there.
Please post patches doing this if you want to resume the discussion.
--
| May 6, 1:21 pm 2010 |
| Sergey Senozhatsky | Re: [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
Hello,
.34-rc6-git5
kernel: [ 1176.647885] pktgen 2.72: Packet Generator for packet performance testing.
kernel: [ 1210.999903] ------------[ cut here ]------------
kernel: [ 1210.999914] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0xc1/0x129()
kernel: [ 1210.999918] Hardware name: F3JC
kernel: [ 1210.999921] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
kernel: [ 1210.999924] Modules linked in: pktgen ppp_async crc_ccitt ipv6 ppp_generic slhc ...
| May 6, 6:31 am 2010 |
| Rafael J. Wysocki | Re: [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
Thanks for the update.
Rafael
--
| May 6, 12:32 pm 2010 |
| Mathieu Desnoyers | Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave loc ...
Nope, I don't think so. Although it's probably worth putting a comment in
lockdep_rcu_dereference() to state that lockdep can be used by multiple
concurrent instances here, just in case someone ever consider adding code
to this splat handler thinking lockdep is always only used by a single "splat"
at a time.
Thanks,
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| May 5, 7:05 pm 2010 |
| Arnd Bergmann | Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->b ...
I think it's both ok, I was mostly confused by the discussion we had earlier.
Maybe add a sentence like:
The br_handle_frame_hook now needs a forward declaration of struct net_bridge_port.
Or you just change br_handle_frame_hook to take a void* to avoid the forward
declaration. Not sure what Stephen was referring to really.
Arnd
--
| May 6, 7:09 am 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/rcu 01/48] rcu: optionally leave loc ...
Done!
Thanx, Paul
--
| May 6, 4:09 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->b ...
This sounds like a way to make things quite a bit more intrusive, so
holding off on this.
Thanx, Paul
--
| May 6, 4:12 pm 2010 |
| Rusty Russell | Re: virtio: put last_used and last_avail index into ring ...
In theory, but not in practice. We don't have many rings, so the
I think everyone is settled on 128 byte cache lines for the forseeable
future, so it's not really an issue.
Cheers,
Rusty.
--
| May 5, 5:52 pm 2010 |
| Michael S. Tsirkin | Re: virtio: put last_used and last_avail index into ring ...
You mean with 64 bit descriptors we will be bouncing a cache line
between host and guest, anyway?
--
MST
--
| May 5, 11:27 pm 2010 |
| Savoy, Pavan | RE: [PATCH] drivers: staging: GPS protocol driver for wl128x
To support this multiple device thingy and avoid the single device limit, I plan to do something like this,
The ST driver would be platform_device - as it is already. ST's probe would do the ldisc registration, and also do the dev_set_drvdata of all the internal data (Tx queues, locks, list of protocols) on this device.
Apart from this the BT, FM and GPS would also further be platform devices, and then,
In the dev.platform_data of each of these BT, FM and GPS devices, I will enter the "parent ...
| May 6, 1:30 pm 2010 |
| Valdis.Kletnieks | Re: git bisect questions...
Thanks muchly - after 2 well-chosen 'git resets' and 3 cherry-picks, I'm now
well on my way to bisect down to the offending commit with no further issues
(other than getting interrupted by other tasks, but that's my problem not
lkml's). If you're ever in this corner of rural Virginia, I owe you a
beverage-of-choice. ;)
| May 6, 7:00 am 2010 |
| Magnus Damm | Re: [PATCH 0/8] Suspend block api (version 6)
As a contrast, at least on some embedded SoCs without firmware
limitations the low level sleep code for Runtime PM / CPU Idle is
shared with system wide suspend. So the RAM is put into self refresh
regardless of entering a half-deep CPU Idle state or entering
suspend-to-memory.
I've heard that newer SH-Mobile ARM hardware monitors the memory bus
activity behind the scenes and can put the system RAM into self
refresh automatically. On older parts we had to manage that from CPU
idle ...
| May 5, 6:40 pm 2010 |
| Paul E. McKenney | Re: [PATCH 3/4 UPDATED] scheduler: replace migration_thr ...
And of course, I overdid it in my patch when I removed smp_mb() from
the !SMP version of synchronize_sched_expedited(). :-/
If synchronize_sched_expedited() is ever to be invoked from within
kernel/sched.c in a UP kernel, there needs to be a "barrier()" in the
!SMP version. So please see the following patch.
Thanx, Paul
commit 0eab52c0eeeb8507a83bdb37cc8f690b1c4f4a2c
Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Date: Thu May 6 11:40:17 2010 -0700
rcu: need ...
| May 6, 11:42 am 2010 |
| Tejun Heo | Re: [PATCH 3/4 UPDATED] scheduler: replace migration_thr ...
Ah, right. What was I thinking? I'll include your patch and push it
to Ingo. Thanks.
--
tejun
--
| May 6, 9:30 am 2010 |
| Arnd Bergmann | Re: [RFC][PATCH resend 8/12] asm-generic: bitops: introd ...
I'm not sure I understand how this macro is going to be used though.
If you are just using this in kernel space, that's fine, please go for
it.
However, if the intention is to use the same macro in user space, putting
it into asm-generic/bitops/* is not going to help, because those headers
are not available in user space, and I wouldn't want to change that.
The definition of the macro is not part of the ABI, so just duplicate
it in KVM if you need it there.
Arnd
--
| May 6, 6:38 am 2010 |
| Andrew Morton | Re: [2.6.32] task hung
On Tue, 4 May 2010 14:49:50 +0200
end_page_writeback() never got run against a page. My guess would be
that NBD got its knickers in a knot.
--
| May 6, 3:18 pm 2010 |
| Tejun Heo | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Hello,
I mostly agree on other points but TPs and sched_notifiers are
inherently different in how they are enabled/disabled.
sched_notifiers are enabled/disabled per-task and at least w/ cmwq,
there will always be some tasks with active sched_notifiers so code
level optimizations aren't really useful.
Thanks.
--
tejun
--
| May 6, 12:11 am 2010 |
| Ingo Molnar | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Direct calls into code were fine 10 years ago, but since then we got:
- preempt notifiers
- sw events
- tracepoints
Which add up to a lot more than just a plain call into code.
Also, with the jump-optimizations we will have tracepoints that are _cheaper_
we already have an ABIs in place here - this would just properly unify and
enumerate it.
Ingo
--
| May 5, 11:31 pm 2010 |
| Peter Zijlstra | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
I'm not getting it, this is about in-kernel stuff, there are _NO_ in
kernel ABIs.
--
| May 6, 12:04 am 2010 |
| Ingo Molnar | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Yep. Also, most of the default distro kernels will have 3 sets of facilities:
- preempt notifiers
- tracepoints
- sw events
which is crazy. We can just standardize on using the tracepoint interface
definition methods - they are properly typed, widespread and well-known enough
to be perfect for this.
( They are also under intense optimization - the jump-tracepoints patch makes
them probably even cheaper than preempt notifiers, in the off case. )
So lets get over this and ...
| May 5, 11:28 pm 2010 |
| Ingo Molnar | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Still they pose 3 different types of callback regimes, all for a slightly
Yes - but the callbacks i mentioned do include ABIs, such as the sw event
callbacks.
So my point is to have one coherent callback mechanism for it.
That said, i agree with you that turning the basic perf scheduling calls into
events goes one step too far. But all the _other_ 3 types of callbacks (and we
might as well add a fourth type as well: the butt-ugly hotplug event notifier
chains) should be ...
| May 6, 12:11 am 2010 |
| Tejun Heo | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Hello,
But if you put all those calls on top of TPs and apply static
optimization to TPs (yeah, that can be applied directly to perf calls
too but it's simpler to consolidate, IMHO), perf becomes zero-cost
when disabled.
Thanks.
--
tejun
--
| May 6, 12:29 am 2010 |
| Tejun Heo | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Oh, also, if static text optimization is applied to perf calls
directly, it would require about the same complexity overhead as doing
it on top of TPs. It would still have to drain contexts before
turning off those hooks, so the only advantage is the ability to build
the kernel w/ PERF but w/o TPs.
Thanks.
--
tejun
--
| May 6, 12:33 am 2010 |
| Avi Kivity | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
What about the on case? kvm has preempt notifiers enabled all the time,
and relies on their being fast.
--
error compiling committee.c: too many arguments to function
--
| May 6, 1:18 am 2010 |
| Ingo Molnar | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Note that preempt notifiers used to modify scheduling behavior/semantics i'm
really against. Please get that functionality into the scheduler - especially
if it's essentially always-on.
Preempt notifiers are for things like KVM which want to do extended context
saving. They are _NOT_ 'hooks' into the scheduler.
Ingo
--
| May 6, 1:27 am 2010 |
| Tejun Heo | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Hello, Ingo.
Okay. Well, cmwq's usage of it isn't that hairy. It's used for two
things.
1. to count the number of currently running workers which I think is
fine for such hooks.
2. to wake up another worker. I don't think this falls in the
category of "behavior/semantics" change. It just does
try_to_wake_up() with the only caveat being it's called under the
rq lock so requires a different API. There's nothing which alters
the scheduler behavior in any pervasive way. ...
| May 6, 1:41 am 2010 |
| David Miller | Re: [GIT PULL] amended: first round of vhost-net enhance ...
From: "Michael S. Tsirkin" <mst@redhat.com>
Pulled, thanks Michael.
--
| May 6, 12:29 am 2010 |
| Ingo Molnar | Re: [GIT PULL] updates for oprofile
Pulled, thanks Robert!
Ingo
--
| May 6, 7:21 am 2010 |
| Robert Richter | [GIT PULL] updates for oprofile
Ingo,
please pull oprofile updates for tip from
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core
Thanks,
-Robert
--
The following changes since commit 9414e99672271adcc661f3c160a30b374179b92f:
Phil Carmody (1):
oprofile: protect from not being in an IRQ context
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core
Robert Richter (7):
oprofile: update file list in MAINTAINERS ...
| May 6, 6:03 am 2010 |
| Andrew Morton | Re: race condition between udevd and modprobe (mtrr_add)
On Mon, 3 May 2010 22:30:01 -0700
These traces look odd - the kernel shouldn't be calling schedule() from
below rmqueue_bulk()!
If possible, please try a more recent kernel. If the problem occurs
there and if we manage to fix it, the fix can be backported into
whatever-kernel-version-you're-using.
Can you get a better trace? The sysrq-T output would be good. That's
known to work sufficiently well. Please avoid wordwrapping it when sending.
--
| May 6, 3:59 pm 2010 |
| Peter Zijlstra | Re: [BUG] perf_events: PERF_FORMAT_GROUP not working cor ...
Looks like you hit the exact same bug Stephane did:
http://lkml.org/lkml/2010/4/9/142
The below patch seems to cure it for me.
# gcc -o show_fg_bug show_fg_bug.c
# ./show_fg_bug md5sum `which gdb`
bc88d978c10446689326245529e6c4c1 /usr/bin/gdb
29721534 PERF_COUNT_HW_CPU_CYCLES (18657335 : 18657335)
18681747 PERF_COUNT_HW_INSTRUCTIONS (18657335 : 18657335)
---
Subject: perf: Fix exit() vs PERF_FORMAT_GROUP
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: ...
| May 6, 8:42 am 2010 |
| Corey Ashford | Re: [BUG] perf_events: PERF_FORMAT_GROUP not working cor ...
I applied your patch to 2.6.33.3. It applied with a few offsets, but no
errors:
% patch -p1 < ~/pz_patch.diff
patching file include/linux/perf_event.h
Hunk #1 succeeded at 517 (offset -31 lines).
patching file kernel/perf_event.c
Hunk #1 succeeded at 349 (offset 7 lines).
Hunk #2 succeeded at 1777 (offset -87 lines).
The patch works with the test case I provided, but for some reason it
breaks the normal operation of the libpfm4 "task" utility. If I put
more than one event in a group, ...
| May 6, 1:09 pm 2010 |
| Peter Zijlstra | Re: [BUG] perf_events: PERF_FORMAT_GROUP not working cor ...
Bugger,.. weird though, I can't see how it would affect the state before
That would be awesome, thanks!
--
| May 6, 1:22 pm 2010 |
| Valerie Aurora | Re: [PATCH 05/39] whiteout/NFSD: Don't return informatio ...
Hrm, I see how that could be more elegant, but I'd rather avoid yet
another layer of function pointer passing around. This code is
already hard enough to review...
--
| May 6, 11:01 am 2010 |
| Neil Brown | Re: [PATCH 05/39] whiteout/NFSD: Don't return informatio ...
On Thu, 6 May 2010 14:01:51 -0400
Yes, the extra indirection is a bit of a negative, but I don't think this
patch is harder to review than the alternate.
From a numerical perspective, with this patch you only need to look at the
various places that ->readdir is called to be sure it is always correct.
There are about 3. With the original you need to look at ever filldir
function. Jan has found 9.
And from a maintainability perspective, I think my approach is safer. Given
that ...
| May 6, 2:18 pm 2010 |
| Christian Borntraeger | Re: kernel BUG in iwl-agn-rs.c:2076, WAS: iwlagn + some ...
I also see a hard lockup some time after connection to my companies
wireless network. My private network does not seem to trigger that bug.
Unfortunately the kernel is not able to switch back graphics, so I
cannot tell if I see the same BUG - even if the problem description is
the same.
For reference, the patch above does not help on my T61p.
It started soon after 2.6.34-rc4. Before and with rc4 I had to
apply this http://patchwork.ozlabs.org/patch/49850/mbox/ patch to avoid
the other ...
| May 6, 2:14 am 2010 |
| reinette chatre | Re: kernel BUG in iwl-agn-rs.c:2076, WAS: iwlagn + some ...
Hi Christian,
It will be hard to debug this without some logs. Can you perhaps run
with netconsole for a while? Is it possible to trigger this when not in
Below seven iwlwifi patches were added after rc4. If you are unable to
bisect ... perhaps you can run a while by reverting more and more from
this list?
f2fa1b015e9c199e45c836c769d94db595150731 iwlwifi: correct 6000 EEPROM regulatory address
88be026490ed89c2ffead81a52531fbac5507e01 iwlwifi: fix scan ...
| May 6, 9:28 am 2010 |
| Greg KH | Re: [stable] stable: Add usb id for HP ev2210 a.k.a Sier ...
Now queued up, thanks.
greg k-h
--
| May 6, 1:56 pm 2010 |
| Ronny Tschüter | Re: Tracing of power:power_start events doesn't work
Hi
IN PERF:
-> patched kernel (see my mail from yesterday)
perf record -f -c 1 -a -e power:power_start
^C[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.500 MB perf.data (~21826 samples) ]
perf report
# Samples: 7880
#
# Overhead Command Shared Object Symbol
# ........ ............... ................. ......
#
57.13% swapper 0 [k] 0000000000000000
42.86% init 0 [k] ...
| May 5, 11:32 pm 2010 |
| Corey Minyard | Re: [PATCH 1/8] ipmi: Change addr_source to an enum rath ...
I don't believe this patch is valid. The discovery order in the patch
This is nice, I'll rework it and resend.
Thanks a bunch.
--
| May 6, 9:49 am 2010 |
| Daisuke Nishimura | Re: mmotm-2010-0428: swapper_space error
sorry...
I'll re-check my build test script and prepare a patch as soon as possible.
--
| May 5, 9:42 pm 2010 |
| Daisuke Nishimura | Re: mmotm-2010-0428: swapper_space error
This is a fix for memcg-move-charge-of-file-pages.patch.
After this patch, it passed the build test for all the configs with possible
combinations of SWAP, SHMEM, MEM_RES_CTLR and MEM_RES_CTLR_SWAP.
===
From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Build fix for !CONFIG_SWAP case.
mm/built-in.o: In function `mem_cgroup_get_shmem_target':
(.text+0xde06): undefined reference to `swapper_space'
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Daisuke Nishimura ...
| May 5, 10:57 pm 2010 |
| Randy Dunlap | Re: mmotm-2010-0428: swapper_space error
Yes, that works. Thanks.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 7:42 am 2010 |
| Randy Dunlap | Re: [PATCH v21 020/100] c/r: documentation
about @flags: Above says both of these:
a) @flags will have future meaning (must be 0 for now)
b) @flags may be one or more of:
returns -EINVAL.
...
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 6, 1:27 pm 2010 |
| Josef Bacik | Re: [PATCH v21 019/100] Make file_pos_read/write() publi ...
I'm not entirely sure if this can happen, but if vfs_write doesn't write
anything, but doesn't have an error, we could end up in an infinite loop. Like
I said I'm not sure if thats even possible, but its definitely one of those
things that if it is possible some random security guy is going to figure out
I'd say fix that little nit I had above and you can add
Reviewed-by: Josef Bacik <josef@redhat.com>
Thanks,
Josef
--
| May 6, 5:26 am 2010 |
| Rafael J. Wysocki | Re: [PATCH v21 015/100] cgroup freezer: Update stale loc ...
I guess these three patches are for me.
Do you want me to handle them?
--
| May 6, 12:40 pm 2010 |
| Oren Laadan | Re: [PATCH v21 015/100] cgroup freezer: Update stale loc ...
Yes, please, that would be great.
Thanks,
--
| May 6, 2:25 pm 2010 |
| Matt Helsley | Re: [PATCH v21 015/100] cgroup freezer: Update stale loc ...
Hi Rafael,
I think you can take 15 as it's an update to the comments.
16 and 17 are specific to checkpoint/restart. There are no other in-kernel
uses, that we've identified, for them. So I was under the impression that it's
inappropriate to add them without also adding the checkpoint/restart patches
that use them.
Thanks!
Cheers,
--
| May 6, 1:31 pm 2010 |
| Matt Helsley | Re: [PATCH v21 015/100] cgroup freezer: Update stale loc ...
Of course, assuming I'm wrong about the dependency on checkpoint/restart, I
have no objection to your taking them.
Thanks again!
Cheers,
-Matt Helsley
--
| May 6, 3:34 pm 2010 |
| Takashi Iwai | Re: ALSA: hda/realtek: quirk for D945GCLF2 mainboard
At Thu, 29 Apr 2010 23:00:42 +0200,
Could you give alsa-info.sh output (run with --no-upload option)?
I would revert in the worst case, but before that, I'd like to analyze
the real issue.
thanks,
Takashi
--
| May 6, 3:50 am 2010 |
| Jean Delvare | Re: [lm-sensors] Simple fan question
Hi Ben,
Sorry for the delay.
Please don't try to add this to the fancontrol script. It's messy
enough as is ;) You probably want to implement the kernel part and the
user-space part together before you propose a standard interface,
otherwise it might be difficult to make the best decisions with regards
Me, I wouldn't object. That's what you did for other systems as far as I
can see? As long as things work in the end, I have no problem with
fan speed control being in the kernel. Having ...
| May 6, 9:40 am 2010 |
| James Morris | Re: [PATCH 1/7] KEYS: Fix an RCU warning in the reading ...
Ok, I forgot to pull from Linus' tree before merging locally, looks fine
now.
--
James Morris
<jmorris@namei.org>
--
| May 6, 5:25 am 2010 |
| James Morris | Re: [PATCH 1/7] KEYS: Fix an RCU warning in the reading ...
Okay... patches 1-4 have gone into -linus, along with 'KEYS: Fix RCU
handling in key_gc_keyring()'
The should probably all be in -stable (see the most recent 'keys' patches
in -linus).
Patches 5 & 6 are in:
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
The final patch does not apply to my tree -- please rebase it.
- James
--
James Morris
<jmorris@namei.org>
--
| May 5, 7:45 pm 2010 |
| David Howells | Re: [PATCH 1/7] KEYS: Fix an RCU warning in the reading ...
Your tree is not up to date with respect to Linus's: you're missing the three
patches he pulled in yesterday.
David
--
| May 6, 3:38 am 2010 |
| H Hartley Sweeten | RE: Staging: dt3155: Cleanup memory mapped i/o access
Greg,
Did this patch fair any better when trying to merge it?
If there is still an issue I will wait until Linus' tree, linux-next,
and your staging-next branch appear to be more in sync.
Regards,
Hartley--
| May 6, 9:59 am 2010 |
| Greg KH | Re: Staging: dt3155: Cleanup memory mapped i/o access
Yes, please wait a bit, I really don't know what is going on here,
sorry.
greg k-h
--
| May 6, 1:25 pm 2010 |
| Lai Jiangshan | Re: [PATCH] kvm mmu: reduce 50% memory usage
Could you tell me how you test it? It will be better if I follow
your test steps.
I also hit the kvm_mmu_page_set_gfn BUG_ON, It is because
FNAME(fetch)() set sp->gfn wrong. The patch:
[PATCH] kvm: calculate correct gfn for small host pages which emulates large guest pages
fix it.
I can not hit kvm_mmu_page_set_gfn BUG_ON after this patch also
applied.
So could you tell me your test steps:
The host: ept/npt enabled? 64bit? testing codes in host?
The guest: OS? PAE? 32bit? 64bit? ...
| May 6, 12:03 am 2010 |
| Marcelo Tosatti | Re: [PATCH] kvm mmu: reduce 50% memory usage
mount -t hugetlbfs none /mnt/
echo xyz > /proc/sys/vm/nr_hugepages
FC12 guest.
--
| May 6, 12:04 pm 2010 |
| Xose Vazquez Perez | Re: deadline ALWAYS default for dasd devices(s390) ?
On 05/05/2010 09:52 AM, Stefan Weinhuber wrote:
Have you done recently new cfq vs. deadline tests, in z/VM
see s390-tools-1.8.4/etc/udev/rules.d/60-readahead.rules
That's the way to do it.
-thanks-
--
«Allá muevan feroz guerra, ciegos reyes por un palmo más de tierra;
que yo aquí tengo por mío cuanto abarca el mar bravío, a quien nadie
impuso leyes. Y no hay playa, sea cualquiera, ni bandera de esplendor,
que no sienta mi derecho y dé pecho a mi valor.»
--
| May 6, 12:34 am 2010 |
| Hitoshi Mitake | Re: [PATCH v3] perf lock: add "info" subcommand for dump ...
On 05/06/10 06:10, Frederic Weisbecker wrote:
> On Mon, May 03, 2010 at 02:12:00PM +0900, Hitoshi Mitake wrote:
>> Hi Frederic,
>>
>> I added "info" subcommand to perf lock,
>> this can be used as dumping metadata like thread or address of lock
instances.
>> "map" was removed because info should do the work of it.
>>
>> This will be useful not only for debugging but also for ordinary
analyzing.
>>
>> I made this patch on perf/core of your tree, could you queue this?
>>
>> v2: ...
| May 6, 2:31 am 2010 |
| Hitoshi Mitake | [PATCH] perf lock: track only specified threads
I implemented the feature of tracking only specified threads to perf lock.
With -t option, users can specify which threads should be tracked.
Example of usage:
| % sudo ./perf lock info -t # info -t is convenient with this feature
| Thread ID: comm
| 0: swapper
| 1: init
| 12: migration/3
| 13: ksoftirqd/3
| 27: events/0
| 28: events/1
| 29: events/2
| 30: events/3
| 31: events/4
| 857: ...
| May 6, 2:32 am 2010 |
| Jiri Kosina | Re: [113/197] x86, cacheinfo: Calculate L3 indices
Well, we have
#ifdef CONFIG_K8_NB
static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return (node < num_k8_northbridges) ? k8_northbridges[node] : NULL;
}
#else
static inline struct pci_dev *node_to_k8_nb_misc(int node)
{
return NULL;
}
#endif
So it legitimately returns NULL in two cases:
1) if someone passes too large node
2) if CONFIG_K8_NB is unset
1) Either we assume that node will always be in the range (i.e.
amd_get_nb_id() will never go crazy ...
| May 6, 6:46 am 2010 |
| Borislav Petkov | Re: [113/197] x86, cacheinfo: Calculate L3 indices
From: Jiri Kosina <jkosina@suse.cz>
Well, I don't like sprinkling NULL ptr checks all over the place - this
makes the code unreadable and means that there's something wrong with
its design in the first place.
Therefore, it is better IMO to verify whether the K8_NB thing is
initialized properly and exit early if not. And this is what the two
patches I'm suggesting try to accomplish:
1. Call into K8_NB on AMD unconditionally so that we have those
initialized (we'll be needing them more in ...
| May 6, 1:17 am 2010 |
| Borislav Petkov | Re: [113/197] x86, cacheinfo: Calculate L3 indices
From: Jiri Kosina <jkosina@suse.cz>
Take a look at
http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=commitdiff;h=f2b20e4...
This does
+ if (num_k8_northbridges == 0)
+ return;
in amd_check_l3_disable().
So if K8_NB has failed initializing for some reason, we never go near
the pci devs and the node_to_k8_nb_misc() calls since we effectively
disable the L3 functionality.
Thus the NULL pointer checks you remove ...
| May 6, 7:13 am 2010 |
| Robert Wimmer | Re: [Bugme-new] [Bug 15709] New: swapper page allocation ...
I don't know if someone is still interested in this
but I think Trond isn't further interested because
the last error was of cource a "page allocation
failure" and not a "soft lookup" which Trond was
trying to solve. But the patch was for 2.6.34 and
the "soft lookup" comes up only with some 2.6.30 and
maybe some 2.6.31 kernel versions. But the first error
I reported was a "page allocation failure" which
all kernels >= 2.6.32 produces with this configuration
I use (NFSv4).
Michael suggested ...
| May 6, 2:19 pm 2010 |
| Trond Myklebust | Re: [Bugme-new] [Bug 15709] New: swapper page allocation ...
Sorry. I've been caught up in work in the past few days.
I can certainly help with the soft lockup if you are able to supply
either a dump that includes all threads stuck in the NFS, or a (binary)
wireshark dump that shows the NFSv4 traffic between the client and
server around the time of the hang.
Cheers
Trond
--
| May 6, 2:30 pm 2010 |
| Kyungmin Park | Re: Suspicious compilation warning
Hi,
It tested with my board and working.
Just curious. If NR_SECTION_ROOTS is zero and uninitialized then
what's problem? Since we boot and working without patch.
Thank you,
Kyungmin Park
--
| May 5, 6:24 pm 2010 |
| Marcelo Jimenez | Re: Suspicious compilation warning
Hi Kyungmin,
The original compiler error message was:
mm/sparse.c: In function '__section_nr':
mm/sparse.c:135: warning: 'root' is used uninitialized in this function
Regards,
Marcelo.
--
| May 6, 6:24 am 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 the
loose_nonint_oldconfig.
v2:
- ...
| May 6, 9:48 am 2010 |
| Anders Larsen | Re: [at91] Save power by disabling the processor clock w ...
Hello,
I hadn't noticed that one (it's operating several layers above the piece
of code I modified).
So it seems we could do way with the #else clause completely (requiring
the user to set 'nohlt' when debugging with JTAG)?
Cheers
Anders
--
happy 'ptxdist' user
--
| May 6, 1:36 am 2010 |
| Greg KH | Re: [2.6.31.13] Build failure at arch/x86/kernel/apic/io ...
In looking at it further, that patch is just too big for .31 at this
point in time, sorry. Just select ACPI as a config option, and you
should be fine.
Actually, use .32 or .33, I wouldn't recommend using .31 anymore anyway.
thanks,
greg k-h
--
| May 6, 3:44 pm 2010 |
| Ingo Molnar | Re: [PATCH 1/4] [tip:x86/mm] Correcting improper large p ...
Please do - i havent seen any other review feedback.
Thanks,
Ingo
--
| May 5, 11:19 pm 2010 |
| Ingo Molnar | Re: [PATCH] x86 acpi/irq: Define gsi_end when X86_IO_AP ...
Applied to tip:x86/irq, thanks Eric!
Ingo
--
| May 5, 11:18 pm 2010 |
| tip-bot for Eric W. ... | [tip:x86/irq] x86, acpi/irq: Define gsi_end when X86_IO_ ...
Commit-ID: 4f47b4c9f0b711bf84adb8c27774ae80d346b628
Gitweb: http://git.kernel.org/tip/4f47b4c9f0b711bf84adb8c27774ae80d346b628
Author: Eric W. Biederman <ebiederm@xmission.com>
AuthorDate: Wed, 5 May 2010 13:22:25 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 6 May 2010 08:17:51 +0200
x86, acpi/irq: Define gsi_end when X86_IO_APIC is undefined
My recent changes introducing a global gsi_end variable
failed to take into account the case of using acpi on a system
not ...
| May 6, 3:07 am 2010 |
| Or Gerlitz | Re: [patch v3] infiniband: ulp/iser, fix error retval in ...
Roland, please use V4 below, the patch is okay and would apply before and after
applying the multipathing patches I sent yesterday (same goes for them).
[PATCH V4] ib/iser: fix error flow in iser_create_ib_conn_res
From: Dan Carpenter <error27@gmail.com>
We shouldn't free things here because we free them later.
The call tree looks like this:
iser_connect() ==> initiating the connection establishment
and later
iser_cma_handler() => iser_route_handler() => ...
| May 6, 6:22 am 2010 |
| Steven Rostedt | Re: [PATCH 1/1] fix-taskstates-in-sched_switch-trace.patch
I just notice that this patch was never applied.
Anyone against applying it?
-- Steve
--
| May 6, 4:11 pm 2010 |
| Alexey Dobriyan | Re: Resource limits interface proposal [was: pull reques ...
On Wed, May 5, 2010 at 6:08 PM, Linus Torvalds
I'm _sure_, someone will mention bloat and performance degradation
on 32-bit, so there will be config option for 32-bit in-kernel limits.
And if there will be config option, infinities are better be separated.
--
| May 5, 11:39 pm 2010 |
| Linus Torvalds | Re: Resource limits interface proposal [was: pull reques ...
Umm. Why?
Adding an INF field will make it essentially impossible to use that thing
as a compatibility function, and/or together with the legacy rlimit()
system call. And that is going to be 99.999% of all uses.
I don't think you understand how system calls work. People don't use
Linux-only features. It's been shown over and over and over again. People
use the standard interfaces, and they don't _have_ that INF field. We can
extend ranges by just updating structures (see "stat()" ...
| May 6, 8:37 am 2010 |
| Jiri Slaby | Re: Resource limits interface proposal [was: pull reques ...
Yes, silently setting the highest possible value (INFINITY) is OK too
With glibc-2.11.1 which I have includes from:
#ifdef __USE_LARGEFILE64
struct rlimit64
{
/* The current (soft) limit. */
rlim64_t rlim_cur;
/* The hard limit. */
rlim64_t rlim_max;
};
#endif
where rlim64_t expands to __u_quad_t which is
#if __WORDSIZE == 64
typedef unsigned long int __u_quad_t;
#elif defined __GLIBC_HAVE_LONG_LONG
__extension__ typedef unsigned long long int ...
| May 6, 8:46 am 2010 |
| Rusty Russell | Re: [PULL] param sysfs oops (simple, leaky) fix, bool ar ...
Thanks Artem, that's exactly the kind of feedback we need.
For most people, module parameters are rare, and module removal is rare.
So the amount of leak is less than the size of the code we would add to fix
it.
If this is hitting you, it clearly changes the priorities. I will include
the patches now.
Thanks!
Rusty.
--
| May 5, 7:28 pm 2010 |
| Takashi Iwai | Re: [PULL] param sysfs oops (simple, leaky) fix, bool ar ...
At Wed, 05 May 2010 12:04:18 +0300,
Ah, sorry I was confused. I somehow thought Rusty's patch has been
already merged after 2.6.32, but it didn't happen in reality.
Then I'm for merging the changes even for 2.6.34 although it's late.
In the API side, there aren't many changes. And it might reduce the
whole binary size in the end by the use of module_parm_ops pointer,
too.
thanks,
Takashi
--
| May 5, 11:24 pm 2010 |
| previous day | today | next day |
|---|---|---|
| May 5, 2010 | May 6, 2010 | May 7, 2010 |
