| From | Subject | Date |
|---|---|---|
| Linus Torvalds | Linux 2.6.34-rc5
Another week, another -rc. This time there wasn't some big nasty
regression I was working on to hold things up, and it felt like a pretty
regular -rc release.
Random fixes all around. The most noticeable (for people who got hit by
it) may be the fix for bootup problems that some people had (ACPI dividing
by zero: kernel bugzilla 15749), but there's stuff all over. The shortlog
gives some idea.
From a pure diff size perspective, some of the variable renaming stuff in
the i915 driver ...
| Apr 19, 4:42 pm 2010 |
| Marcelo Jimenez | Suspicious compilation warning
Hi,
I get this warning while compiling for ARM/SA1100:
mm/sparse.c: In function '__section_nr':
mm/sparse.c:135: warning: 'root' is used uninitialized in this function
With a small patch in fs/proc/meminfo.c, I find that NR_SECTION_ROOTS
is zero, which certainly explains the warning.
# cat /proc/meminfo
NR_SECTION_ROOTS=0
NR_MEM_SECTIONS=32
SECTIONS_PER_ROOT=512
SECTIONS_SHIFT=5
MAX_PHYSMEM_BITS=32
SECTION_SIZE_BITS=27
MemTotal: 28848 kB
MemFree: 15516 ...
| Apr 19, 4:27 pm 2010 |
| Dinh.Nguyen | [PATCHv5 2.6.34-rc4 1/5] mxc: Update GPIO for USB suppor ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch is part of enabling USB for Freescale MX51 Babbage HW. This
patch updates the iomux pins for USB, and gpio line for reset the
USB hub on the MX51 Babbage HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/plat-mxc/include/mach/iomux-mx51.h | 33 ++++++++++++++++----------
1 files changed, 20 insertions(+), 13 deletions(-)
diff --git ...
| Apr 19, 3:27 pm 2010 |
| Dinh.Nguyen | [PATCHv5 2.6.34-rc4 5/5] mx5: Add USB to Freescale MX51 ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Update mx51_defconfig to include USB EHCI by default.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/configs/mx51_defconfig | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/arch/arm/configs/mx51_defconfig b/arch/arm/configs/mx51_defconfig
index c88e952..a708fd6 100644
--- a/arch/arm/configs/mx51_defconfig
+++ b/arch/arm/configs/mx51_defconfig
@@ ...
| Apr 19, 3:27 pm 2010 |
| Dinh.Nguyen | [PATCHv5 2.6.34-rc4 4/5] mxc: Add generic USB HW initial ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch adds USB HW initializiation code to /plat-mxc/ehci.c.
-Stops and resets USB HW
-Sets some specific PHY settings
-Stop and restart the USB HW.
Renames mxc_set_usbcontrol to mxc_initialize_usb_hw.
The placing of the mxc_initialize_usb_hw needs to be before setting
the USBMODE register to host, since a reset and restart is done in
mxc_initialize_usb_hw.
Adds new register bit defines for the USB HW on Freescale
SoCs.
This patch ...
| Apr 19, 3:27 pm 2010 |
| Dinh.Nguyen | [PATCHv5 2.6.34-rc4 2/5] mx5: Add USB device definitions ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch is part of enabling USB for Freescale MX51 Babbage HW. This
patch adds device structures for USB Host1 and OTG port, and adds
clocking information for USB HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/clock-mx51.c | 8 ++++++
arch/arm/mach-mx5/devices.c | 49 ++++++++++++++++++++++++++++++++++++++++
arch/arm/mach-mx5/devices.h | 2 +
3 files ...
| Apr 19, 3:27 pm 2010 |
| Dinh.Nguyen | [PATCHv5 2.6.34-rc4 3/5] mx5: Enable board specific func ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
This patch enables USB host functionality for Host1 and OTG port on
Freescale MX51 Babbage HW. This patch contains the board specific
HW initialization of the USB HW.
This patch applies to 2.6.34-rc4.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
arch/arm/mach-mx5/board-mx51_babbage.c | 104 ++++++++++++++++++++++++++++++++
1 files changed, 104 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c ...
| Apr 19, 3:27 pm 2010 |
| Tom Lyon | [PATCH V3] drivers/uio/uio_pci_generic.c: allow access f ...
These are changes to uio_pci_generic.c to allow better use of the driver by
non-privileged processes.
1. Add back old code which allowed interrupt re-enablement through uio fd.
2. Translate PCI bards to uio mmap regions, to allow mmap through uio fd.
3. Allow devices which support MSI or MSI-X, but not IRQ.
Signed-off-by: Tom Lyon <pugs@cisco.com>
---
checkpatch.pl is happy with this one.
--- linux-2.6.33/drivers/uio/uio_pci_generic.c 2010-02-24 10:52:17.000000000 -0800
+++ ...
| Apr 19, 3:05 pm 2010 |
| Jan Kiszka | [PATCH 5/5] uml: Clean up asm/system.h
Remove duplicates and unused prototypes.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/include/asm/system.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/um/include/asm/system.h b/arch/um/include/asm/system.h
index 753346e..93af1cf 100644
--- a/arch/um/include/asm/system.h
+++ b/arch/um/include/asm/system.h
@@ -3,11 +3,8 @@
#include "sysdep/system.h"
-extern void *switch_to(void *prev, void *next, void *last);
-
extern int ...
| Apr 19, 2:53 pm 2010 |
| Jan Kiszka | [PATCH 0/5] uml: Some trivial cleanups
Some trivial build warning fixes and cleanups for UML.
Jan Kiszka (5):
uml: Remove unused variable from line driver
uml: Drop private round_down definition
uml: Fix warning due to missing task_struct declaration
uml: i386: Avoid redefinition of NR_syscalls
uml: Clean up asm/system.h
arch/um/drivers/line.c | 1 -
arch/um/include/asm/system.h | 3 ---
arch/um/kernel/skas/syscall.c | 4 ++--
arch/um/sys-i386/asm/elf.h | 2 ++
arch/um/sys-x86_64/asm/elf.h | ...
| Apr 19, 2:53 pm 2010 |
| Jan Kiszka | [PATCH 2/5] uml: Drop private round_down definition
Already defined in kernel.h. The official version assumes that 'n' is
power of two - which it is in our case.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/sys-x86_64/signal.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/um/sys-x86_64/signal.c b/arch/um/sys-x86_64/signal.c
index 1a899a7..07797d1 100644
--- a/arch/um/sys-x86_64/signal.c
+++ b/arch/um/sys-x86_64/signal.c
@@ -165,8 +165,6 @@ struct rt_sigframe
struct _fpstate fpstate;
};
...
| Apr 19, 2:53 pm 2010 |
| Jan Kiszka | [PATCH 3/5] uml: Fix warning due to missing task_struct ...
We can't pull in linux/sched.h, so just declare the struct.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/sys-i386/asm/elf.h | 2 ++
arch/um/sys-x86_64/asm/elf.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/um/sys-i386/asm/elf.h b/arch/um/sys-i386/asm/elf.h
index e64cd41..a979a22 100644
--- a/arch/um/sys-i386/asm/elf.h
+++ b/arch/um/sys-i386/asm/elf.h
@@ -75,6 +75,8 @@ typedef struct user_i387_struct elf_fpregset_t;
pr_reg[16] = ...
| Apr 19, 2:53 pm 2010 |
| Jan Kiszka | [PATCH 1/5] uml: Remove unused variable from line driver
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/drivers/line.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 7a656bd..7f7338c 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -19,7 +19,6 @@ static irqreturn_t line_interrupt(int irq, void *data)
{
struct chan *chan = data;
struct line *line = chan->line;
- struct tty_struct *tty;
if (line)
...
| Apr 19, 2:53 pm 2010 |
| Jan Kiszka | [PATCH 4/5] uml: i386: Avoid redefinition of NR_syscalls
The i386 subarch happens to pull in original NR_syscalls. Maybe we can
make that work for all host arch, but for now just avoid the clash by
using an all-upper-case name.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
---
arch/um/kernel/skas/syscall.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c
index 4e3b820..f5173e1 100644
--- a/arch/um/kernel/skas/syscall.c
+++ b/arch/um/kernel/skas/syscall.c
@@ ...
| Apr 19, 2:53 pm 2010 |
| Tom Lyon | Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with sm ...
I agree, but I defer to Mr. Woodhouse.
--
| Apr 19, 3:47 pm 2010 |
| Andrew Morton | Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with sm ...
On Mon, 19 Apr 2010 14:44:16 -0700
This smells like a 2.6.34 patch. Do you agree?
--
| Apr 19, 3:43 pm 2010 |
| Tom Lyon | [PATCH v3] drivers/pci/intel-iommu.c: errors with smalle ...
When using iommu_domain_alloc with the Intel iommu, the domain address width
is always initialized to 48 bits (agaw 2). This domain->agaw value is then
used by pfn_to_dma_pte to (always) build a 4 level page table. However, not
all systems support iommu width of 48 or 4 level page tables. In particular,
the Core i5-660 and i5-670 support an address width of 36 bits (not 39!), an
agaw of only 1, and only 3 level page tables.
This version of the patch simply lops off extra levels of the page ...
| Apr 19, 2:44 pm 2010 |
| Chris Wright | Re: [PATCH v3] drivers/pci/intel-iommu.c: errors with sm ...
I didn't think this effected in-tree code. Tom hit this while developing
a new user of the iommu interface, whereas the current user (KVM) doesn't
trigger this.
thanks,
-chris
--
| Apr 19, 3:52 pm 2010 |
| Randy Dunlap | Apr 19, 2:44 pm 2010 | |
| Tom Lyon | [PATCH v3] drivers/pci/intel-iommu.c: intel_iommu_map_ra ...
Bug: intel_iommu_map_range didn't allow allocation at the very
end of the address space.
Signed-off-by: Tom Lyon <pugs@cisco.com>
---
V1 and V2 of this patch were patch of a larger patch, this is now independent.
--- linux-2.6.33/drivers/pci/intel-iommu.c 2010-02-24 10:52:17.000000000 -0800
+++ mylinux-2.6.33/drivers/pci/intel-iommu.c 2010-04-13 16:51:55.000000000 -0700
@@ -3632,7 +3631,6 @@ static int intel_iommu_map_range(struct
{
struct dmar_domain *dmar_domain = domain->priv;
u64 ...
| Apr 19, 2:37 pm 2010 |
| HOUSE OF SENATE NIGERIA | Beneficiary
Atm card containing {900,000,00 thousand USD} have been awarded to you send
your[Names,Address,Country,Tel] Email:atmcarddepartment221@gmail.com
Sincerely,
Morrison Omoba
+2348063198535
--
| Apr 19, 1:54 pm 2010 |
| Matthew Garrett | [PATCH] acpi: Fall back to manually changing SCI_EN
The ACPI spec tells us that the ACPI SCI_EN bit is under hardware control
and shouldn't be touched by the OS. It seems that the Leading Other OS
ignores this and some machines expect this behaviour. We have a blacklist
for these, but given that we're able to detect the failure case and the
alternative to breaking the spec is letting the machine crash and burn,
let's try falling back when we know the alternative is a mostly-dead
machine.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
...
| Apr 19, 2:13 pm 2010 |
| Alexander Samad | Problems with gobi loader - qualcomm 3g card on hp min 5101
Hi
Sorry if this is the 3rd post, I haven't seen it hit the archives and
i wasn't sure if it actually made it through - originally sent as
html (gmail).
I have a HP Mini with their wwan module (Qualcomm 3g card), it
attaches via the usb interface. It was working (not sure exactly but
about 2 months ago) and when I went to use it recently it didnot work
I have had the motherboad and the card replaced.... I have removed the
udev rule which calls the loader removed and tried it manually. ...
| Apr 19, 2:02 pm 2010 |
| Alexander Samad | problem with gobi loader on HP mini 5101
Hi
I have a HP Mini with their wwan module (Qualcomm 3g card), it
attaches via the usb interface. It was working (not sure about 2
months ago) and when I went to use it recently it doesn't work any
more - the gobi loader get stuck uploading firmware to the card :(
I am not sure what or how to debug this, so I have come to the list.
running debian i386 2.6.32-4
Alex
--
| Apr 19, 1:48 pm 2010 |
| Matthew Garrett | Re: problem with gobi loader on HP mini 5101
The switch to kfifo in usbserial in .32 broke it. There are patches on
linux-usb, but they won't apply cleanly to .32.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Apr 19, 2:54 pm 2010 |
| System Administrator | Final Warning!
Your mailbox has exceeded the storage limit which is 20GB as set by your
administrator,
you are currently running on 20.9GB,you may not be able to send or receive
new mail until
you re-validate your mailbox.
To re-validate your mailbox please click the link below:
http://r.im/2j04
If the link above don't work please copy and paste the link below to your
browser window
http://r.im/2j04
Thanks
System Administrator
--
| Apr 19, 1:15 pm 2010 |
| Primiano Tucci | Considerations on sched APIs under RT patch
Hi all
I am an Italian researcher and I am working on a (cross-platform) Real
Time scheduling infrastructure.
I am currently using Linux Kernel 2.6.29.6-rt24-smp (PREEMPT-RT Patch)
running on a Intel Q9550 CPU.
Yesterday days I found a strange behavior of the scheduler API's using
the RT patch, in particular the pthread_setaffinity_np (that stands on
sched_setaffinity).
(link: http://article.gmane.org/gmane.linux.kernel.api/1550)
I think the main problem is that sched_setaffinity makes use of ...
| Apr 19, 1:48 pm 2010 |
| Ling Tia | Hello
Good Day,
I have a Business Proposal of $21,300,000.00 for you to handle with me from my bank.please contact me on {from_icbc_liuling@yahoo.com.hk} with your Full names,occupation,private phone number,current residential address.
--
| Apr 19, 1:32 pm 2010 |
| Tyler Hicks | [GIT PULL] eCryptfs fixes for 2.6.34
Hi Linus,
The following changes since commit 220bf991b0366cc50a94feede3d7341fa5710ee4:
Linus Torvalds (1):
Linux 2.6.34-rc2
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6.git for-linus
Christian Pulvermacher (1):
ecryptfs: fix error code for missing xattrs in lower fs
Jeff Mahoney (1):
ecryptfs: fix use with tmpfs by removing d_drop from ecryptfs_destroy_inode
Tyler Hicks (7):
eCryptfs: Fix ...
| Apr 19, 1:20 pm 2010 |
| Trey | [PATCH] Staging: rt2860: fix usb_main_dev.c style errors
Correct several style errors related to pointers in usb_main_dev.c.
Signed-off-by: Trey Evans <lewis.r.evans@gmail.com>
---
drivers/staging/rt2860/usb_main_dev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rt2860/usb_main_dev.c b/drivers/staging/rt2860/usb_main_dev.c
index 1873a79..abe9f24 100644
--- a/drivers/staging/rt2860/usb_main_dev.c
+++ b/drivers/staging/rt2860/usb_main_dev.c
@@ -153,7 +153,7 @@ static void rt2870_disconnect(struct ...
| Apr 19, 1:15 pm 2010 |
| Frederic Weisbecker | Re: request to add trace off and trace on with events
That would be perhaps an overkill.
Yeah, the enable file would first need to be activated before any
trigger to take effect on the event, just like filters.
In fact I was thinking of tracing_on/tracing_off as kinds of
local pause/resume.
And tracing_on_global/tracing_off_global would act like what does
/debug/tracing/tracing_on: something that disables every tracing.
But of course, before any of these conditional triggers to be
evaluated, you need to enable the corresponding ...
| Apr 19, 4:04 pm 2010 |
| Steven Rostedt | request to add trace off and trace on with events
Hi Tom,
Could you add a way to do a call to tracing_on() or tracing_off() via
the filters. I would like to do something like:
echo 'if (pid == 1234) traceoff' > events/sched/sched_wakeup/filter
Where, if the sched_wakeup event is hit with pid == 1234 it will turn
tracing off.
I would also like to do just:
echo 'traceoff' > events/sched/sched_wakeup/filter
to disable tracing every time the event is hit.
Perhaps you can just add a call back where the kernel could ...
| Apr 19, 1:04 pm 2010 |
| Tim Bird | Re: request to add trace off and trace on with events
Awesome! I need to keep up better with the state of the art.
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Network Entertainment
=============================
--
| Apr 19, 2:32 pm 2010 |
| Steven Rostedt | Re: request to add trace off and trace on with events
Yeah, Mathieu calls them triggers too. But if you do, I'm fine with
I thought about a separate file, but I like the idea of having control
over them. We could add a "trigger" file too, but I'm not sure if that
would be any clearer.
If we add a trigger file, then the filter can be separate, and we just
trigger the trigger if the filter passes.
This may be better, because then the triggers do not mess with the
filtering code, and I can add it without modification to Tom's code.
-- ...
| Apr 19, 1:44 pm 2010 |
| Tim Bird | Re: request to add trace off and trace on with events
I'm not sure either. In general I dislike proliferating
pseudo-files. But if the tracing filter conditional is
different from the trigger conditional, it might be needed
to have something separate.
In KFT there were some non-event related trigger conditionals,
like - start tracing after 20 milliseconds and stop after
80 milliseconds.
Another thing I considered for KFT triggers, but didn't get
around to implementing, was countdown triggers - such as
"start tracing on the 5th execution of ...
| Apr 19, 1:56 pm 2010 |
| Tim Bird | Re: request to add trace off and trace on with events
Just a comment on the nomenclature. In KFT I called
things like this "triggers". I'm not sure what other
tracing systems call them. I'm a little worried about
overloading the filtering abstraction with trigger
semantics. (I like the idea of triggers, but it might
be better to control them with another pseudo-file for
clarity.)
I suppose both are a form of conditional execution.
Filtering has an implicit action of either 'trace this'
or 'don't trace this', while triggering usually ...
| Apr 19, 1:39 pm 2010 |
| Steven Rostedt | Re: request to add trace off and trace on with events
I was thinking of keeping the filter trigger the trigger too.
I think we talked about this in the past. Where the "trigger" file would
default be print, but could also add other triggers to it. Thus, you do
not need to print when the event is hit (with filters). I think I
originally called this a "command", but multiple commands could perform
Try:
echo 'try_to_wake_up:traceon:5' 'schedule:traceoff:5' > set_ftrace_filter
;-)
-- Steve
--
| Apr 19, 2:10 pm 2010 |
| Frederic Weisbecker | Re: request to add trace off and trace on with events
The problem with having triggers defined in the filter file is that
you couldn't set a normal filter plus a trigger.
That said a filter itself could be a trigger.
if (cond) filter
This is going to break some ABI though.
In fact having one file per trigger type is going to make the
things much easier if you don't want to encumber with syntax parsing,
and just reuse the filtering code as is with very few modification.
This is going to be also easier for the users as they don't have ...
| Apr 19, 2:29 pm 2010 |
| Steven Rostedt | Re: request to add trace off and trace on with events
I like this. Heck, all registered triggers can be shown here.
# cat event/sched/sched_switch/triggers/tracing_off
disabled
Or it can be a filter, or enabled.
This could also allow a user to do:
echo "(a > 100)" > tracing_on
echo "(a < 100)" > tracing_off
-- Steve
--
| Apr 19, 2:37 pm 2010 |
| Frederic Weisbecker | Re: request to add trace off and trace on with events
Yep, since it would share exatly the same code than filter (as
filter basically becomes a trigger command), it can behave the
Yeah :)
But if the scope of the "tracing off" is only for this event, then
rather use:
echo "(a < 100)" > filter
You could have tracing_off/on that have this event scope and
tracing_off/on_all for a global tracing scope.
--
| Apr 19, 3:04 pm 2010 |
| Steven Rostedt | Re: request to add trace off and trace on with events
Then do we make the triggers themselves directories too?
# ls event/sched/sched_switch/triggers/tracing_off
filter enable
The two are not equivalent. In fact, just enabling a trigger does not
mean that the event itself will be traced.
-- Steve
--
| Apr 19, 3:13 pm 2010 |
| Steven Rostedt | Re: request to add trace off and trace on with events
Perhaps, but I was also thinking of having triggers in the system level.
We could have a "trace_event_on" and "trace_event_off" trigger that only
enables the event when hit.
Actually, we can have these triggers enable other events, or make
dynamic triggers:
echo "enable_sched_switch" > events/sched/sched_wakeup/trigger/activate
or something similar.
-- Steve
--
| Apr 19, 4:59 pm 2010 |
| Frederic Weisbecker | [GIT PULL] tracing update
Ingo,
Please pull the tracing/core branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
tracing/core
Thanks,
Frederic
---
Frederic Weisbecker (1):
tracing: Dump either the oops's cpu source or all cpus buffers
Documentation/kernel-parameters.txt | 6 +++-
Documentation/trace/ftrace.txt | 6 +++-
drivers/char/sysrq.c | 2 +-
include/linux/ftrace.h | 4 ++-
...
| Apr 19, 12:41 pm 2010 |
| Till Kamppeter | Google Summer of Code 2010 - Please resolve duplicates
Hi,
two students who applied for your projects have applied also for another
organization's project and they got accepted by us and by the other
organization.
Until Wednesday Google wants these situation to be resolved until
Wednesday April 21, 17:00 UTC. Please contact the students and/or the
organization to agree on one of the project for each student.
In addition, the ranking of the students (to decide who actually gets
our slots) and the mentor assignments have to be finalized by ...
| Apr 19, 12:39 pm 2010 |
| Greg KH | Re: Google Summer of Code 2010 - Please resolve duplicates
Have a pointer to the web site to do this?
thanks,
greg k-h
--
| Apr 19, 3:46 pm 2010 |
| Till Kamppeter | Re: Google Summer of Code 2010 - Please resolve duplicates
Sorry, here we go:
http://socghop.appspot.com/gsoc/org/list_proposals/google/gsoc2010/lf
Requires login as mentor.
Till
--
| Apr 19, 3:57 pm 2010 |
| Hin-Tak Leung | Re: Google Summer of Code 2010 - Please resolve duplicates
On Mon, Apr 19, 2010 at 11:46 PM, Greg KH <greg@kroah.com> wrote:
I think the idea from the original announcement is for each pair of
organizations with duplicate applications, to contact each other, for
one of the organization to drop the student's application so the other
one can proceed. e.g. if a student applies to both linux foundation
and gnome (for example), the linux foundation admin should contact the
gnome admin to decide which organization to take the student (and
which one to ...
| Apr 19, 3:58 pm 2010 |
| Xianghua Xiao | Newer kernel with newer NPTL?
I upgraded a 2.6.18-rt kernel to 2.6.33-rt and the my main
multi-thread application now consumes 12% cpu at idle, all threads are
a little bit busy while on 2.6.18-rt they are all quiet. I'm still
using glibc2.5/nptl. After spending a few days on
debugging/performance tuning the problem stays. Do I need upgrade
glibc/nptl to work with a newer kernel as far as performance is
concerned? This is a shipping product and we do not want to change
everything unless it's mandatory.
the WCHAN on 2.6.18 ...
| Apr 19, 12:32 pm 2010 |
| Georgi Chorbadzhiyski | 2.6.31.6 - swapper: page allocation failure. order:3, mo ...
This morning I have found this in the logs, and couple of processes that
multicast video were hanging. The machine have plenty of swap, so can
somebody give me a hint if there is something I can do to avoid the
following errors:
[11935.628090] swapper: page allocation failure. order:3, mode:0x4020
[11935.628330] Pid: 0, comm: swapper Not tainted 2.6.31.6 #6
[11935.628562] Call Trace:
[11935.628796] <IRQ> [<ffffffff810a1505>] __alloc_pages_nodemask+0x537/0x57e
[11935.629042] ...
| Apr 19, 12:26 pm 2010 |
| Andy Isaacson | [2.6.34 regression] utsname.domainname not set in x86_32 ...
2.6.34-rc4 uname(2) from a x86_32 process copies out 325 bytes rather
than the 390 bytes that 2.6.31 copied out (and that userland expects):
2.6.31.12% cat foo.c
main()
{
char buf[1000];
memset(buf, 'x', sizeof(buf));
uname(buf);
write(1, buf, sizeof(buf));
return 0;
}
2.6.31.12% i686-linux-gcc foo.c
2.6.31.12% ./a.out | hd
00000000 4c 69 6e 75 78 00 00 00 00 00 00 00 00 00 00 00 |Linux...........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
| Apr 19, 12:21 pm 2010 |
| Andy Isaacson | Re: [2.6.34 regression] utsname.domainname not set in x8 ...
I've verified that this works correctly on 2.6.33, and opened
https://bugzilla.kernel.org/show_bug.cgi?id=15812
Note that this manifests as the following error when a x86_32 process
attempts to use libnss_nis:
YPBINDPROC_DOMAIN: Domain not bound
-andy
--
| Apr 19, 2:46 pm 2010 |
| Albin Tonnerre | [PATCH 0/2] Fix some initramfs-related LZO decompression ...
These 2 patches fix some issues with the current LZO decompressor code.
The first one (re-)enables the use of LZO-compressed external initramfs, which
has been broken for some time. The second one enables the use of in-kernel
initramfs compressed using LZO.
If that's possible, I'd like to get at least patch 1/2 in 2.6.34, since it
is an actual bug fix.
Albin Tonnerre (2):
lib: fix initramfs usage for the LZO decompressor
Add support for in-kernel initramfs compressed with LZO
...
| Apr 19, 12:03 pm 2010 |
| Albin Tonnerre | [PATCH 2/2] Add support for in-kernel initramfs compress ...
This patch adds the necessary parts to be enable the use of
LZO-compressed initramfs build into the kernel.
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
---
scripts/gen_initramfs_list.sh | 1 +
usr/Makefile | 5 ++++-
usr/initramfs_data.lzo.S | 29 +++++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletions(-)
create mode 100644 usr/initramfs_data.lzo.S
diff --git a/scripts/gen_initramfs_list.sh ...
| Apr 19, 12:03 pm 2010 |
| Albin Tonnerre | [PATCH 1/2] lib: fix the use of LZO to decompress initra ...
This patch fixes 2 issues with the LZO decompressor:
- It doesn't handle the case where a block isn't compressed at all. In
this case, calling lzo1x_decompress_safe will fail, so we need to
just use memcpy() instead (the upstream LZO code does something
similar)
- Since commit 54291362d2a5738e1b0495df2abcb9e6b0563a3f, the
decompressor return code is checked in the init/initramfs.c
The LZO decompressor didn't return the expected value, causing the
initramfs code to falsely ...
| Apr 19, 12:03 pm 2010 |
| Justin P. Mattock | [PATCH]Fix typo in percpu.h
Fix a typo in arch/x86/include/asm/percpu.h
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
---
arch/x86/include/asm/percpu.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h
index 66a272d..9899afa 100644
--- a/arch/x86/include/asm/percpu.h
+++ b/arch/x86/include/asm/percpu.h
@@ -105,7 +105,7 @@ do { \
/*
* Generate a percpu add to memory instruction and optimize code
- * if a ...
| Apr 19, 11:51 am 2010 |
| Pavan Savoy | Re: [PATCH] drivers:staging: sources for ST core
Hi Alan,
Hope you have found some time now.
--
| Apr 19, 11:37 am 2010 |
| Jacob Pan | [PATCH] x86/apbt: conditionally register cpu hp notifier ...
APB timer is used on Moorestown platforms but not on a standard PC.
If APB timer code is compiled in but not initialized at run-time due
to lack of FW reported SFI table, kernel would panic when the non-boot
CPUs are offlined and notifier is called.
https://bugzilla.kernel.org/show_bug.cgi?id=15786
This patch ensures CPU hotplug notifier for APB timer is only registered
when the APBT timer block is initialized.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
---
...
| Apr 19, 11:23 am 2010 |
| Kristoffer Ericson | PATCH - update pata_pcmcia/ide-cs with transcend and kin ...
This patch adds idstrings for Kingston 1GB/4GB and Transcend 4GB/8GB.
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
diff --git a/drivers/ide/ide-cs.c b/drivers/ide/ide-cs.c
index ab87e4f..defce28 100644
--- a/drivers/ide/ide-cs.c
+++ b/drivers/ide/ide-cs.c
@@ -409,6 +409,8 @@ static struct pcmcia_device_id ide_ids[] = {
PCMCIA_DEVICE_PROD_ID12("Hyperstone", "Model1", 0x3d5b9ef5, 0xca6ab420),
PCMCIA_DEVICE_PROD_ID12("IBM", "microdrive", 0xb569a6e5, 0xa6d76178),
...
| Apr 19, 10:54 am 2010 |
| John Kacur | Re: trace-cmd: make Makefile rpm-friendly
So, what would happen if you did
make DESTDIR=/usr/local install ?
I think you would get /usr/local/usr/local
So, I think I would NAK this patch.
I also don't believe there is anything magical about DESTDIR in a spec
file. Essentially, prefix in this makefile is equivalent to DESTDIR, so
--
| Apr 19, 11:11 am 2010 |
| Randy Dunlap | trace-cmd: make Makefile rpm-friendly
From: Randy Dunlap <randy.dunlap@oracle.com>
Update Makefile to support rpmbuild DESTDIR usage.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- trace-cmd-0.7.0.orig/Makefile
+++ trace-cmd-0.7.0/Makefile
@@ -18,10 +18,11 @@ AR = $(CROSS_COMPILE)ar
EXT = -std=gnu99
INSTALL = install
+DESTDIR =
prefix ?= /usr/local
bindir_relative = bin
-bindir = $(prefix)/$(bindir_relative)
-man_dir = ...
| Apr 19, 10:00 am 2010 |
| Randy Dunlap | Re: trace-cmd: make Makefile rpm-friendly
I see. Thanks for your comments.
--
~Randy
--
| Apr 19, 11:38 am 2010 |
| Randy Dunlap | Re: trace-cmd: make Makefile rpm-friendly
Yes, thanks, but I have it "fixed" now (for some daffynition of fixed).
--
~Randy
--
| Apr 19, 12:09 pm 2010 |
| Randy Dunlap | Re: trace-cmd: make Makefile rpm-friendly
--
~Randy
--
| Apr 19, 1:15 pm 2010 |
| Steven Rostedt | Re: trace-cmd: make Makefile rpm-friendly
NAK is too strong. I was looking at what perf does, and it basically
makes prefix and DESTDIR the same.
ifndef DESTDIR
prefix = $(HOME)
endif
We could do..
ifndef DESDIR
prefix = /usr/local/bin
endif
and then, if DESTDIR is not set, it would do the right thing.
-- Steve
--
| Apr 19, 12:06 pm 2010 |
| John Kacur | Re: trace-cmd: make Makefile rpm-friendly
Yeah, the above is actually an unsatisfactory workaround.
see 7ae5f21361fea11f58c398701da635f778635d13
Another solution is to not copy obfuscated Makefiles when starting new
projects!
/me runs away
--
| Apr 19, 1:06 pm 2010 |
| Mel Gorman | [PATCH] Fix infinite loop in get_futex_key when backed b ...
If a futex key happens to be located within a huge page mapped MAP_PRIVATE,
get_futex_key() can go into an infinite loop waiting for a page->mapping that
will never exist. This was reported and documented in an external bugzilla at
https://bugzilla.redhat.com/show_bug.cgi?id=552257
This patch makes page->mapping a poisoned value that includes
PAGE_MAPPING_ANON mapped MAP_PRIVATE. This is enough for futex to continue
but because of PAGE_MAPPING_ANON, the poisoned value is not dereferenced
or ...
| Apr 19, 9:55 am 2010 |
| Greg KH | Re: [PATCH 32/32] Staging: comedi: fix EXPORT_SYMBOL(FOO ...
Why remove this line? Did that change any warning?
You also do that for a lot of other lines in this file, which isn't
good.
How about only fixing the warnings, and not mushing other lines up.
thanks,
greg k-h
--
| Apr 19, 10:15 am 2010 |
| Maurice Dawson | [PATCH 32/32] Staging: comedi: fix EXPORT_SYMBOL(FOO) co ...
This is a re-submitted patch to the ni_labpc.c file that fixes EXPORT_SYMBOL(FOO) warnings found by the checkpatch.pl tool
Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com>
---
drivers/staging/comedi/drivers/ni_labpc.c | 31 +++++++++++++++--------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c
index becbe47..26e02d9 100644
--- ...
| Apr 19, 9:49 am 2010 |
| Richard Zidlicky | 2.6.33.2 BUG at exit.c:1027!
Hi,
I seem to have some strange luck triggering obscure errors lately and no clue how to fix
them:(
The problem occurs when compiling kernels so system load is pretty high and high system load seems
essential to repeat. Pretty easilly repeatable (after reboot) in my case.
It might be something with smsdvb (Siano TV card) which was used in both sessions. Also I have
played with sensors configuration yesterday so the
"last sysfs file: /sys/devices/platform/coretemp.1/temp1_label"
might ...
| Apr 19, 8:59 am 2010 |
| Phillip Susi | readahead on directories
I have been trying to improve boot times with ureadahead and have
identified a period of time of almost zero IO throughput caused by calls
to open() blocking during name lookup while fetching directory blocks.
At first I thought this could simply be fixed by calling readahead() on
the directories first before open()ing all of the normal files for
readahead.
Unfortunately it seems that readahead() fails when called on a
directory. I was wondering if I could get some help understanding why
this ...
| Apr 19, 8:51 am 2010 |
| Wim Van Sebroeck | Re: [PATCH/RESEND] MIPS: Fix sibyte watchdog initialization
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Just let me know when this can be added as a fix in the watchdog tree.
Kind regards,
Wim.
--
| Apr 19, 12:19 pm 2010 |
| Guenter Roeck | Re: [PATCH/RESEND] MIPS: Fix sibyte watchdog initialization
The earlier the better from my perspective.
Ralf may have had the mips tree in mind - might make sense to
synchronize with him.
Thanks,
Guenter
--
| Apr 19, 12:44 pm 2010 |
| Guenter Roeck | [PATCH/RESEND] MIPS: Fix sibyte watchdog initialization
Watchdog configuration register and timer count register were interchanged,
causing wrong values to be written into both registers.
This caused watchdog triggered resets even if the watchdog was reset in time.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
---
Resend:
Widening the audience.
Please let me know if there are any problems with this patch.
drivers/watchdog/sb_wdog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git ...
| Apr 19, 8:37 am 2010 |
| Ralf Baechle | Re: [PATCH/RESEND] MIPS: Fix sibyte watchdog initialization
For the new audience, this patch has been previously posted to linux-mips
a few days ago and assuming there are no objections I'd like to merge it
upstream for 2.6.34, so an Ack would by nice.
Ralf
--
| Apr 19, 8:56 am 2010 |
| David Howells | RCU-isms in fs/nfs/delegation.c
I'm trying to redo my NFS RCU warning fixup patch on top of Paul's patches,
and I've found a small potential bug: nfs_inode_reclaim_delegation() doesn't
use the appropriate accessors/locks to protect NFS_I(inode)->delegation, and
nor does it use such to protect *delegation that I can see. It just
overwrites the record.
Furthermore, for consistency's sake, it should also protect accesses to
delegation->cred within that function.
Trond: can you confirm that both NFS_I(inode)->delegation and ...
| Apr 19, 8:33 am 2010 |
| Trond Myklebust | Re: RCU-isms in fs/nfs/delegation.c
Hmm... Yes, I think that function should probably take the
rcu_read_lock(), and then take the delegation->lock before modifying the
delegation. Furthermore, it should probably fall back to
nfs_inode_set_delegation() in case we race with a delegreturn. See
With the above changes to nfs_inode_reclaim_delegation() I don't think
delegation->cred needs to be RCU-protected.
Cheers
Trond
---------------------------------------------------------------------------------------------------------- ...
| Apr 19, 10:32 am 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
Thanks,
Ingo
------------------>
David Howells (1):
rcu: Better explain the condition parameter of rcu_dereference_check()
Paul E. McKenney (3):
rcu: Add rcu_access_pointer and rcu_dereference_protected
rcu: Update docs for rcu_access_pointer and rcu_dereference_protected
rcu: Make RCU lockdep check ...
| Apr 19, 7:51 am 2010 |
| Florian Fainelli | [PATCH] globally ignore Module.symvers
If we build using make SUBDIRS=foo/ Kbuild will output per-directory
Module.symvers files that we do not want to keep track of. Ignore these files
globally.
Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
---
diff --git a/.gitignore b/.gitignore
index a2939fc..441bf1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,7 +41,7 @@ modules.builtin
/vmlinuz
/System.map
/Module.markers
-/Module.symvers
+Module.symvers
#
# git files that we don't want to ignore even it they are ...
| Apr 19, 7:42 am 2010 |
| Samuel Thibault | Hardware locality (hwloc) v1.0rc1 released
The Hardware Locality (hwloc) team is pleased to announce the first
release candidate for v1.0:
http://www.open-mpi.org/projects/hwloc/
(mirrors will update shortly)
hwloc provides command line tools and a C API to obtain the
hierarchical map of key computing elements, such as: NUMA memory
nodes, shared caches, processor sockets, processor cores, and
processor "threads". hwloc also gathers various attributes such as
cache and memory information, and is portable across a variety ...
| Apr 19, 7:26 am 2010 |
| Matthew Dharm | Re: [PATCH] USB: expose Huawei E1550 3G modem
We've had this discussion, what, over a dozen times already? It keeps
coming up every few months.
There are two primary reasons to keep this in userspace:
1) Someone might actually want to access the storage mode of these devices.
It has come up in the past, and there is no good reason the kernel should
deny access to that function of the device by enforcing a switchover.
2) It is much much easier to update a userspace tool than the kernel.
Thus, new devices can be supported without a ...
| Apr 19, 7:19 am 2010 |
| Josua Dietze | Re: [PATCH] USB: expose Huawei E1550 3G modem
This behaviour depends on the respective device. Most devices
don't re-expose the installation medium after switching, some do.
Anyway, usb_modeswitch is on the road to becoming a standard
part of the big distributions, so users won't have to look for
it actively.
Josua Dietze
--
| Apr 19, 8:21 am 2010 |
| Matthew Dharm | Re: [PATCH] USB: expose Huawei E1550 3G modem
I still believe that, for an end-user, upgrading a userspace tool is much
much easier than upgrading a kernel.
Also, the actual "driver" for the device (i.e. the modem part) doesn't need
an upgrade to the kernel component for these types of devices.
Finally, these sorts of databases don't belong in the kernel as much as
possible.
The usb-storage driver will not accept patches for device which can be
supported via userspace-only tools.
Matt
--
Matthew Dharm ...
| Apr 19, 9:14 am 2010 |
| Greg KH | Re: [PATCH] USB: expose Huawei E1550 3G modem
And just to confirm, I support Matthew's position.
thanks,
greg k-h
--
| Apr 19, 9:17 am 2010 |
| Dominik Brodowski | [RFC] PCMCIA patches for 2.6.36-rc5
Hey,
to solve most of the outstanding bugs I'm aware of, I intend to submit a
pull request for a few patches tomorrow. They're available at
git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git urgent
As usual, I'm interested in your input to this patch series. The individual
patches will be sent out to the PCMCIA list in a few moments.
Best,
Dominik
Dan Carpenter (1):
pcmcia: fix error handling in cm4000_cs.c
Dominik Brodowski (5):
pcmcia: use ...
| Apr 19, 7:12 am 2010 |
| Thomas Weber | [PATCH] Drivers: w1: omap_hdq: Fix missing include sched.h
In commit f6a570333e554b48ad589e7137c77c57809eee81 #include <sched.h> was
removed from module.h and not added in omap_hdq.c .
The definition for TASK_UNINTERRUPTIBLE and
schedule_timeout_uninterruptible are missing.
This patch fixes the missing definition.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
drivers/w1/masters/omap_hdq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index ...
| Apr 19, 9:10 am 2010 |
| Jan Engelhardt | Re: [patch] vt: deactive Shift In/Out in unicode mode
It's really just the top commit. Perhaps I should rebase it to a
v2.6.34-rcX tag so that shortlog does what one expects.
Alexander mentioned:
Alan, do you agree that the entire SI/SO can/should be removed?
--
| Apr 19, 9:20 am 2010 |
| Alan Cox | Re: [patch] vt: deactive Shift In/Out in unicode mode
On Mon, 19 Apr 2010 15:57:52 +0200 (CEST)
It seems to do a lot of other things as well. Can you split out just the
relevant bit ?
--
| Apr 19, 7:31 am 2010 |
| Alexander E. Patrakov | Re: [patch] vt: deactive Shift In/Out in unicode mode
Since KOI7 is not used by any glibc locale, your use case is now
extinct. I think that, unless someone finds out a different use case,
these SI and SO characters should be deactivated completely (and not
just in unicode mode).
--
Alexander E. Patrakov
--
| Apr 19, 7:29 am 2010 |
| Jan Engelhardt | [patch] vt: deactive Shift In/Out in unicode mode
Hi,
I am proposing the patch below for inclusion.
Also pullable via
git://dev.medozas.de/linux siso
##
parent d93af0ec5842904b701927b0b4da41e59f284e45 (v2.6.34-rc1-1127-gd93af0e)
commit 063c73c9d7c4e7a86e99c9e7eefc2b47a9262065
Author: Jan Engelhardt <jengelh@medozas.de>
Date: Sat Apr 10 12:40:31 2010 +0200
vt: deactive Shift In/Out in unicode mode
WP describes these control codes as: "The original meaning of those
characters was to switch to a different character set and back. ...
| Apr 19, 6:57 am 2010 |
| Josselin Mouette | Re: Athlon L110 CPU and powernow-k8
I agree this is not optimal, but I think there are similar bits in other
The first solution implies building a custom kernel before being able to
use the system. The second solution does not. I’m looking for a solution
that works out of the box, and does not require to be able to compile
If you want to screw your system, this is already feasible by hacking
the DSDT table itself. Granted, this is not the kind of stuff the
average n00b would do.
Given how Acer doesn’t give a shit about OSes ...
| Apr 19, 11:42 am 2010 |
| Langsdorf, Mark | Athlon L110 CPU and powernow-k8
I think that hard-coding P-states into the PowerNow
driver is not a mantainable solution.
I don't quite understand why the you think that
a custom DSDT as a BIOS hack, but think that
adding custom frequencies to the driver itself is
acceptable.
The last time this issue came up on cpufreq, Dave
Jones nixed a general solution to add custom P-states
through the driver on the grounds that people would
undervolt their systems, causing a lot of screwy,
unpredictable behavior. I agreed with ...
| Apr 19, 6:43 am 2010 |
| naveen yadav | Kmemcheck issue
Hi,
I am trying to run Kmemcheck on a Cortex ( ARM-v7)
board running Linux 2.6.30.9
At boot-up time, as soon as Timer-device is enabled, I find
that timer gets disabled because system
gets spurious interrupts on that irq line.
PID hash table entries: 1024 (order: 10, 4096 bytes)
Linux System timer initialize
irq 23: nobody cared (try booting with the "irqpoll" option)
[<c002e148>] (unwind_backtrace+0x0/0xe8) from ...
| Apr 19, 6:23 am 2010 |
| Vitaly Mayatskikh | Fix OOPS in crash_kernel_shrink
Two "echo 0 > /sys/kernel/kexec_crash_size" OOPSes kernel. Also
content of this file is invalid after first shrink to zero: it shows 1
instead of 0.
This patch fixes it.
Signed-off-by: Vitaly Mayatskikh <v.mayatskih@gmail.com>
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 87ebe8a..474a847 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1134,11 +1134,9 @@ int crash_shrink_memory(unsigned long new_size)
free_reserved_phys_range(end, crashk_res.end);
- if (start == end) ...
| Apr 19, 6:21 am 2010 |
| Ian Dall | [1/1] w1: w1 temp. Fix negative termperature calculation.
Bug 12646 has been outstanding for a long time. Is it possible to get
this fix committed?
Log:
From: Ian Dall <ian@beware.dropbear.id.au>
Fix regression caused by commit
507e2fbaaacb6f164b4125b87c5002f95143174b,
whereby negative temperatures for the DS18B20 are not converted
properly. Fixes bug 12646.
Signed-of-by: Ian Dall <ian@beware.dropbear.id.au>
diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c
index 1ed3d55..17726a0 100644
--- ...
| Apr 19, 5:10 am 2010 |
| Greg KH | Re: request_firmware API exhaust memory
Do you have a pointer to your driver source anywhere that shows how you
are trying to use the firmware api in this manner?
thanks,
greg k-h
--
| Apr 19, 7:59 am 2010 |
| Tomas Winkler | request_firmware API exhaust memory
Lately we've been developing a device that rather more extensively
used request_firmware API in load and also using pm_notifiers to load
firmware. In some stress testing the usage will exhaust the system
memory. First we suspected there is a memory leak in the
firwmare_class but eventually what is that udevd piles up it takes
time to collect the process. We loose ~ 500K for each
request/release_firmware iteration.
After the stress the process table will will look something like shown ...
| Apr 19, 5:20 am 2010 |
| Kay Sievers | Re: request_firmware API exhaust memory
What are these processes doing (strace)? Do they have child processes?
If yes, what are they doing (strace)?
Kay
--
| Apr 19, 5:35 am 2010 |
| Thomas Klein | [PATCH 1/2] ehea: error handling improvement
Reset a port's resources only if they're actually in an error state
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
---
Patch created against 2.6.34-rc4
diff -Nurp linux-2.6.34-rc4.orig//drivers/net/ehea/ehea_main.c linux-2.6.34-rc4//drivers/net/ehea/ehea_main.c
--- linux-2.6.34-rc4.orig//drivers/net/ehea/ehea_main.c 2010-04-19 11:54:07.000000000 +0200
+++ linux-2.6.34-rc4//drivers/net/ehea/ehea_main.c 2010-04-19 11:55:43.000000000 +0200
@@ -791,11 +791,17 @@ static struct ehea_cqe ...
| Apr 19, 5:08 am 2010 |
| skitching | Re: boot device order troubleshooting without an initrd
As it happens, I've been looking into this issue recently.
[Warning: kernel newbie speaking!]
Without an initrd, the options for the root= kernel parameters are only those supported in init/do_mount.c:
1. root=MAJOR:MINOR
2. root=integer where integer is MAJOR<<n + minor
3 root=/dev/xxx
(well, apart fron "mtd" and "ubi" options).
Unfortunately, all of these options are sensitive to hardware changes, ie device enumeration order. So I
think that right now the answer to your ...
| Apr 19, 3:20 am 2010 |
| Avi Kivity | Re: [BUG] kvm: dereference srcu-protected pointer withou ...
I think the else branch in complete_pio() should work. Marcelo?
Longer term I'd like to see the lock taken at the high levels (ioctls,
in virt/kvm) and dropped only for guest entry and when we explicitly
sleep (hlt emulation).
Note: complete_pio() is gone in the current code.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:08 am 2010 |
| Avi Kivity | Re: [PATCH] kvm: use the correct RCU API
This open-codes srcu_dereference(). I guess we need an
srcu_dereference_check(). Paul?
btw, perhaps it is possible not to call rcu_dereference from the write
paths.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 2:49 am 2010 |
| Lai Jiangshan | [PATCH] kvm: use the correct RCU API
The RCU/SRCU API have already changed for proving RCU usage.
I got the following dmesg when PROVE_RCU=y because we used incorrect API.
This patch coverts rcu_deference() to srcu_dereference() or family API.
===================================================
[ INFO: suspicious rcu_dereference_check() usage. ]
---------------------------------------------------
arch/x86/kvm/mmu.c:3020 invoked rcu_dereference_check() without protection!
other info that might help us debug ...
| Apr 19, 2:41 am 2010 |
| Lai Jiangshan | [BUG] kvm: dereference srcu-protected pointer without sr ...
Applied the patch I just sent and let CONFIG_PROVE_RCU=y,
we can got the following dmesg. And we found that it is
because some codes in KVM dereferences srcu-protected pointer without
srcu_read_lock() held or update-side lock held.
It is not hard to fix, the problem is that:
Where is the most proper place to put a srcu_read_lock()?
I can not determine the answer, so I report this bug
instead of fixing it.
Thanks.
Lai.
Reported-by: Lai Jiangshan ...
| Apr 19, 2:58 am 2010 |
| Paul E. McKenney | Re: [PATCH] kvm: use the correct RCU API
One is coming in Arnd's sparse-based patchset. It is probably best
to open-code this in the meantime and clean up later, but I will
There is an rcu_dereference_protected() on its way to mainline to handle
the case where the reference is always protected by a lock. Why not
just access it directly? Because if you do that, the sparse-based checks
will yell at you.
There is also an rcu_access_pointer() on its way to mainline for cases
where you only want to test the pointer itself, not ...
| Apr 19, 4:35 pm 2010 |
| Haavard Skinnemoen | Re: [PATCH] MMC: atmel-mci: enable SD high speed support
Looks good to me.
Reviewed-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
--
| Apr 19, 2:22 am 2010 |
| Nicolas Ferre | [PATCH] MMC: atmel-mci: enable SD high speed support
Enable high speed support for atmel-mci driver. This support is dependent of
the revision of the IP and, of course, the capacity of the SD card used.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
drivers/mmc/host/atmel-mci.c | 22 +++++++++++++++++++---
1 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 88be37d..4338750 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ ...
| Apr 19, 3:12 am 2010 |
| David Miller | [GIT]: Networking
1) Fix TX lockups in forcedeth due to an incorrect chipset ID check
wrt. whether to enable a TX hw bug workaround or not. Fix from
Ayaz Abdulla.
2) Fix some virtualization problems by orphan'ing the SKB on TX
in tun driver. From Michael S. Tsirkin.
3) Some minor fallout from the slab.h cleanups in gigaset driver,
from Tilman Schmidt.
4) hdlc_ppp can crash on rmmod due to lack of PPP tx queue flush,
fix from Krzysztof Halasa.
5) Three fixes from Eric Dumazet:
a) ...
| Apr 19, 12:38 am 2010 |
| Linus Torvalds | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
Maybe add the #include <linux/sched.h> into gigaset.h, instead of
common.c?
IOW..
Linus
---
drivers/isdn/gigaset/gigaset.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h
index d32efb6..05947f9 100644
--- a/drivers/isdn/gigaset/gigaset.h
+++ b/drivers/isdn/gigaset/gigaset.h
@@ -20,6 +20,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
+#include ...
| Apr 19, 11:14 am 2010 |
| Tilman Schmidt | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
Yes, that's the correct fix. Thanks a lot!
For the record, the cause of the build failure was my removal of
#include <linux/usb.h> from gigaset.h, entailing the loss of one
indirect inclusion of sched.h. There's another indirect inclusion
of sched.h from gigaset.h via interrupt.h, hardirq.h and
smp_lock.h, but that one only operates if CONFIG_PREEMPT is set.
So the reason I did not see the build failure myself was that I
Acked-by: Tilman Schmidt <tilman@imap.cc>
in case it still ...
| Apr 19, 2:52 pm 2010 |
| Ingo Molnar | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
I'll check it tomorrow - but i'd expect it to be enough, plus the all-yes
thing is that matters most in practice in any case.
Thanks,
Ingo
--
| Apr 19, 12:54 pm 2010 |
| David Miller | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
From: Linus Torvalds <torvalds@linux-foundation.org>
Thanks Linus.
Ingo, let us know if there is still some problems in your
build tests.
--
| Apr 19, 12:06 pm 2010 |
| Linus Torvalds | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
This compiled for me, although the only thing I tried was just turning all
the gigaset options to 'y'. Maybe some other config doesn't work. So I
committed it as likely to fix things.
Linus
--
| Apr 19, 12:00 pm 2010 |
| Ingo Molnar | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
Note, i just found that my patch is not enough as we fail the build elsewhere as well:
drivers/isdn/gigaset/proc.c:52: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
drivers/isdn/gigaset/proc.c:52: error: (Each undeclared identifier is reported only once
drivers/isdn/gigaset/proc.c:52: error: for each function it appears in.)
drivers/isdn/gigaset/proc.c:52: error: implicit declaration of function 'schedule'
drivers/isdn/gigaset/interface.c:49: error: ...
| Apr 19, 11:05 am 2010 |
| Ingo Molnar | tip: origin tree build failure, [patch] fix isdn/gigaset ...
-tip testing triggered the following build failure (x86 allyesconfig):
drivers/isdn/gigaset/common.c: In function 'setflags':
drivers/isdn/gigaset/common.c:99: error: implicit declaration of function 'set_current_state'
drivers/isdn/gigaset/common.c:99: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
drivers/isdn/gigaset/common.c:99: error: (Each undeclared identifier is reported only once
drivers/isdn/gigaset/common.c:99: error: for each function it appears ...
| Apr 19, 10:27 am 2010 |
| David Miller | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
From: Ingo Molnar <mingo@elte.hu>
Thanks Ingo, Linus please apply:
--
| Apr 19, 10:33 am 2010 |
| Ingo Molnar | Re: tip: origin tree build failure, [patch] fix isdn/gig ...
I did a few tests and it looks good here!
Thanks,
Ingo
--
| Apr 19, 2:01 pm 2010 |
| Peter Henriksson | Re: [regression, bisected] Xonar DX invalid PCI I/O rang ...
Not sure why but I had to use some spit and glue to get it to apply.
Other than that, works for me, thanks.
Cheers,
Peter
--
| Apr 19, 12:42 pm 2010 |
| Clemens Ladisch | [regression, bisected] Xonar DX invalid PCI I/O range si ...
I got the following bug report:
| After upgrading kernel from 2.6.32 to 2.6.34-rc4 my Xonar DX stopped
| working. Kernel log has:
|
| [kernel] AV200 0000:09:04.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
| [kernel] invalid PCI I/O range
| [kernel] AV200 0000:09:04.0: PCI INT A disabled
| [kernel] ALSA device list:
| [kernel] No soundcards found.
|
| According to git bisect the culprit is:
|
| commit 977d17bb1749517b353874ccdc9b85abc7a58c2a
| Author: Yinghai Lu <yinghai@kernel.org>
| ...
| Apr 18, 11:56 pm 2010 |
| Clemens Ladisch | Re: [regression, bisected] Xonar DX invalid PCI I/O rang ...
Please show the complete kernel log and the contents of /proc/ioports.
Regards,
Clemens
--
| Apr 19, 1:06 am 2010 |
| Peter Henriksson | Re: [regression, bisected] Xonar DX invalid PCI I/O rang ...
Hi Clemens,
I am the one who that filed the bug. Please let me know what you need.
Regards,
Peter
--
| Apr 19, 12:44 am 2010 |
| Peter Henriksson | Re: [regression, bisected] Xonar DX invalid PCI I/O rang ...
> Please show the complete kernel log and the contents of /proc/ioports.
Not sure about size limits on the list so I will add the information
to the bug report as well.
/proc/ioports
0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0290-0297 : pnp 00:06
03c0-03df : vga+
0400-041f : ...
| Apr 19, 1:42 am 2010 |
| Gustavo Silva | [PATCH] Staging: comedi: drivers: fix coding style issue ...
This is a patch to the das08.c file that fixes up the following issues
found by the checkpatch.pl tool.
WARNING: line over 80 characters x 6
ERROR: code indent should use tabs where possible x 3
ERROR: spaces required around that '?' (ctx:VxV) x 4
ERROR: spaces required around that ':' (ctx:VxV) x 4
ERROR: that open brace { should be on the previous line x 1
WARNING: printk() should include KERN_ facility level x 9
WARNING: braces {} are not necessary for single statement blocks x 1
WARNING: ...
| Apr 18, 11:21 pm 2010 |
| Zhang, Yanmin | [PATCH V5 3/3] perf & kvm: Enhance perf to collect KVM g ...
Here is the patch of userspace perf tool.
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
---
diff -Nraup linux-2.6_tip0417/tools/perf/builtin-annotate.c linux-2.6_tip0417_perfkvm/tools/perf/builtin-annotate.c
--- linux-2.6_tip0417/tools/perf/builtin-annotate.c 2010-04-19 09:52:40.282230518 +0800
+++ linux-2.6_tip0417_perfkvm/tools/perf/builtin-annotate.c 2010-04-19 09:54:07.970013157 +0800
@@ -571,7 +571,7 @@ static int __cmd_annotate(void)
perf_session__fprintf(session, ...
| Apr 18, 10:32 pm 2010 |
| Zhang, Yanmin | [PATCH V5 2/3] perf & kvm: Enhance perf to collect KVM g ...
Below patch implements the perf_guest_info_callbacks on kvm.
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
---
diff -Nraup linux-2.6_tip0417/arch/x86/kvm/vmx.c linux-2.6_tip0417_perfkvm/arch/x86/kvm/vmx.c
--- linux-2.6_tip0417/arch/x86/kvm/vmx.c 2010-04-19 09:51:47.908673911 +0800
+++ linux-2.6_tip0417_perfkvm/arch/x86/kvm/vmx.c 2010-04-19 09:53:59.690399987 +0800
@@ -3654,8 +3654,11 @@ static void vmx_complete_interrupts(stru
/* We need to handle NMIs before interrupts ...
| Apr 18, 10:32 pm 2010 |
| Zhang, Yanmin | [PATCH V5 1/3] perf & kvm: Enhance perf to collect KVM g ...
Below patch introduces perf_guest_info_callbacks and related register/unregister
functions. Add more PERF_RECORD_MISC_XXX bits meaning guest kernel and guest user
space.
Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
---
diff -Nraup --exclude-from=exclude.diff linux-2.6_tip0417/arch/x86/include/asm/perf_event.h linux-2.6_tip0417_perfkvm/arch/x86/include/asm/perf_event.h
--- linux-2.6_tip0417/arch/x86/include/asm/perf_event.h 2010-04-19 09:51:47.557797121 +0800
+++ ...
| Apr 18, 10:32 pm 2010 |
| Avi Kivity | Re: [PATCH V5 1/3] perf & kvm: Enhance perf to collect K ...
This doesn't apply against upstream. What branch was this generated
against?
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 1:37 am 2010 |
| Avi Kivity | Re: [PATCH V5 1/3] perf & kvm: Enhance perf to collect K ...
Note, given that there won't be changes to NMI handling in kvm, we can
go the simpler route of merging all the patches in tip/perf/core.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 2:09 am 2010 |
| Zhang, Yanmin | Re: [PATCH V5 1/3] perf & kvm: Enhance perf to collect K ...
I think so. A moment ago, I checked out to b5a80b7e9 of tip/perf/core. All 3
patches could be applied cleanly and compilation is ok. A quick testing shows
tip/perf/core kernel does work.
--
| Apr 19, 2:22 am 2010 |
| Avi Kivity | Re: [PATCH V5 1/3] perf & kvm: Enhance perf to collect K ...
Thanks. I applied all three patches to the 'perf' branch in kvm.git and
merged it to master.
Ingo, please pull
git://git.kernel.org/pub/scm/virt/kvm/kvm.git perf
into tip's perf/core to receive those three patches.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:00 am 2010 |
| Ingo Molnar | Re: [PATCH V5 1/3] perf & kvm: Enhance perf to collect K ...
- unbalanced curly braces
- missing curly brace for multi-line statement.
- invalid C: function parameter needs name even if unused
- missing space after opening curly brace
Please provide delta fixes.
Ingo
--
| Apr 19, 11:11 am 2010 |
| Ingo Molnar | Re: [PATCH V5 0/3] perf & kvm: Enhance perf to collect K ...
Ok, this looks pretty good from the perf angle - so once Avi likes patches #1
and #2 and creates a pullable branch we can apply #3 as well to tip:perf/core
and put it on the potential-2.6.35-merge road.
Thanks,
Ingo
--
| Apr 18, 11:36 pm 2010 |
| Zhang, Yanmin | [PATCH V5 0/3] perf & kvm: Enhance perf to collect KVM g ...
Here is the new patch of V5 against tip/master of April 17th
if anyone wants to try it.
ChangeLog V5:
1) Split kernel patch to 2 parts. The one introduces
perf_guest_info_callbacks() and related register/unregister
functions. The other is the kvm implementation of the callbacks.
2) Port to tip/master tree of April 17th.
3) Fix a bug which causes the module parsing of default guest kernel
fail.
ChangeLog V4:
1) Based on Ingo's comments, I added help information around ...
| Apr 18, 10:32 pm 2010 |
| Peter P Waskiewicz Jr | [PATCH RFC: linux-next 1/2] irq: Add CPU mask affinity h ...
This patch adds a callback function pointer to the irq_desc
structure, along with a registration function and a read-only
proc entry for each interrupt.
This affinity_hint handle for each interrupt can be used by
underlying drivers that need a better mechanism to control
interrupt affinity. The underlying driver can register a
callback for the interrupt, which will allow the driver to
provide the CPU mask for the interrupt to anything that
requests it. The intent is to extend the userspace ...
| Apr 18, 9:57 pm 2010 |
| Peter P Waskiewicz Jr | [PATCH RFC: linux-next 2/2] ixgbe: Example usage of the ...
This patch uses the new IRQ affinity_hint callback mechanism.
It serves purely as an example of how a low-level driver can
utilize this new interface.
An official ixgbe patch will be pushed through netdev once the
IRQ patches have been accepted and merged.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
---
drivers/net/ixgbe/ixgbe.h | 2 ++
drivers/net/ixgbe/ixgbe_main.c | 51 +++++++++++++++++++++++++++++++++++++++-
2 files changed, 52 insertions(+), 1 ...
| Apr 18, 9:58 pm 2010 |
| Dave Airlie | [git pull] drm fixes
Hi Linus,
Just radeon fixes, the most important one being a one char typo in the
rs600 setup that caused memory corruption with KMS on this particular
chipset. RS600s are a really rare chipset, so it took a while for Jerome
to track one down to reproduce. Others are mainly fixes to open bugs and a
regression in the smooth booting process thats caused flicker when X
started up. Along with some register updates to the command stream parser.
The following changes since commit ...
| Apr 18, 9:28 pm 2010 |
| Dave Airlie | Re: [git pull] drm fixes
Updated this pull with one more pci id commit.
commit 79b9517a33a283c5d9db875c263670ed1e055f7e
Author: Dave Airlie <airlied@redhat.com>
Date: Mon Apr 19 17:54:31 2010 +1000
drm/radeon/kms: add FireMV 2400 PCI ID.
is the new HEAD.
> 17 files changed, 138 insertions(+), 19 deletions(-)
| Apr 19, 1:57 am 2010 |
| Justin Mattock | gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compiler error
so far I've compiled most of the system
(glibc,Xserver,etc..)
and not really anything has crashed and burned
except for the kernel:
kernel/rtmutex.c: At top level:
kernel/rtmutex.c:1138:1: internal compiler error: in
cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1009
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [kernel/rtmutex.o] Error 1
make: *** [kernel] Error 2
any reports of ...
| Apr 18, 9:19 pm 2010 |
| Jie Zhang | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
Thanks. Please add a preprocessed source file so people can reproduce
your issue.
--
Jie Zhang
CodeSourcery
(650) 331-3385 x735
--
| Apr 18, 11:57 pm 2010 |
| Ben Gamari | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
You are using a pre-release compiler. It should be no surprise that it chokes
on the kernel. You should do as the compiler said and report this to the gcc
folks.
- Ben
--
| Apr 18, 10:35 pm 2010 |
| Justin P. Mattock | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
as for the preprocessed source file,
not that yet skilled at code.(one day)
I added my .config, and the CFLAGS
I used for building gcc.
In regards to 4.6.0 everything seems
o.k. i.g. glibc builds with no errors
all of the xserver no errors, even firefox
builds.. seems the kernel was the only real
problem I ran into(which isn't really a problem
given this version of gcc is experimental).
maybe something todo with building modules
(but could be wrong).
Justin P. Mattock
--
| Apr 19, 12:20 am 2010 |
| Jie Zhang | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
Please report a bug with a preprocessed source file in GCC's bugzilla.
--
Jie Zhang
CodeSourcery
(650) 331-3385 x735
--
| Apr 18, 10:24 pm 2010 |
| Justin P. Mattock | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
I couldn't resist..(had to play),
anyways I looked through the reports
but didn't see anything that was
familiar. so I went and created an entry:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43791
Justin P. Mattock
--
| Apr 18, 11:43 pm 2010 |
| Jonathan Wakely | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
See the "how to report" link on the gcc front page:
http://gcc.gnu.org/bugs/
It's not hard.
--
| Apr 19, 2:17 pm 2010 |
| Justin P. Mattock | Re: gcc- 4.6.0 20100416 rtmutex.c:1138:1: internal compi ...
the info from jie, worked, as well
as: make kernel/rtmutex.i
(from joe perches)
Justin P. Mattock
--
| Apr 19, 2:38 pm 2010 |
| Mark Brown | Re: [PATCH] mc13783-regulator: fix a memory leak in mc13 ...
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This is completely unrelated to what your description says (and is not
needed).
--
| Apr 19, 10:01 am 2010 |
| Axel Lin | [PATCH] mc13783-regulator: fix a memory leak in mc13783_ ...
This patch fixes a memory leak by freeing priv in mc13783_regulator_remove
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/regulator/mc13783-regulator.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git ...
| Apr 18, 6:58 pm 2010 |
| Liam Girdwood | Re: [PATCH] mc13783-regulator: fix a memory leak in mc13 ...
Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
| Apr 19, 5:34 am 2010 |
| James Morris | Re: [PATCH] Security: Fix the comment of cap_file_mmap()
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
--
James Morris
<jmorris@namei.org>
--
| Apr 19, 3:48 pm 2010 |
| Eric Paris | Re: [PATCH] Security: Fix the comment of cap_file_mmap()
Thank you.
Acked-by: Eric Paris <eparis@redhat.com
--
| Apr 19, 5:57 am 2010 |
| wzt.wzt | [PATCH] Security: Fix the comment of cap_file_mmap()
In the comment of cap_file_mmap(), replace mmap_min_addr to be dac_mmap_min_addr.
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
---
security/commoncap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/security/commoncap.c b/security/commoncap.c
index 6166973..c45c4d2 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -931,7 +931,7 @@ int cap_vm_enough_memory(struct mm_struct *mm, long pages)
* @addr: address attempting to be ...
| Apr 18, 6:16 pm 2010 |
| Jan Kundrát | Re: boot device order troubleshooting without an initrd
On this particular motherboard, the CF slot is soldered to the bottom
side of the PCB, so it is normally situated between the motherboard and
If the ordering stays the same and such patch existed, I should probably
use something like
"root=/dev/sdf1,/dev/sde1,/dev/sdd1,/dev/sdc1,/dev/sdb1,/dev/sda1". Now,
I'd guess this would break as soon as I attempt to boot with a USB
flash device present (I'm assuming it will be enumerated after the CF
card, right?).
So, in short, what I'd love to see ...
| Apr 19, 2:19 am 2010 |
| Mike Waychison | Re: boot device order troubleshooting without an initrd
Multiple root devices here may help.. I recently added support for
enumerating multiple root devices to kinit in klibc to work around some
configuration issues on our servers.
http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5b5b6f5192af5c3fa30fe605e8842...
--
| Apr 19, 1:43 am 2010 |
| Stefani Seibold | Re: [PATCH 2/4] remove the old non generic API
I know, but the only way is to merge the patch 2 and 3 together which
results in a very large and unreadable patch.
If desired i will do this...
Stefani
--
| Apr 19, 8:33 am 2010 |
| Greg KH | Re: [PATCH 2/4] remove the old non generic API
But you just broke the kernel build at this point in the patch sequence,
which is not allowed :(
thanks,
greg k-h
--
| Apr 19, 8:28 am 2010 |
| Greg KH | Re: [PATCH 2/4] remove the old non generic API
Or you can rename files, or do all sorts of other things instead of
breaking the build, which again, is not allowed, so don't do it :)
thanks,
greg k-h
--
| Apr 19, 9:15 am 2010 |
| Steven Rostedt | Re: [PATCH v2] tracing: Dump either the oops's cpu sourc ...
Frederic,
Send out v3 with Randy's updates and:
Acked-by: Steven Rostedt <rostedt@goodmis.org>
--
| Apr 19, 12:00 pm 2010 |
| Frederic Weisbecker | [PATCH v2] tracing: Dump either the oops's cpu source or ...
The ftrace_dump_on_oops kernel parameter, sysctl and sysrq let one
dump every cpu buffers when an oops or panic happens.
It's nice when you have few cpus but it may take ages if you have many,
plus you miss the real origin of the problem in all the cpu traces.
Sometimes, all you need is to dump the cpu buffer that triggered the
oops, most of the time it is our main interest.
This patch modifies ftrace_dump_on_oops to handle this choice.
The ftrace_dump_on_oops kernel parameter, when it ...
| Apr 18, 6:15 pm 2010 |
| Randy Dunlap | Apr 18, 7:29 pm 2010 | |
| David Miller | Re: [PATCH] tracing: Dump either the oops's cpu source o ...
From: Frederic Weisbecker <fweisbec@gmail.com>
Thanks I was trying to figure out a way to make ftrace dump
do exactly this over the past few days :-)
Acked-by: David S. Miller <davem@davemloft.net>
--
| Apr 18, 9:19 pm 2010 |
| Michal Marek | Re: Module.symvers file
You need to run make vmlinux and make modules (or simply make all) to
generate a full list of exported symbols. Only doing one of the steps
will generate a partial list, obviously.
Michal
--
| Apr 19, 6:11 am 2010 |
| Éric Piel | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
Fair enough, and I have to fully agree, it's better to have a power
management which consumes a bit more than the unreachable optimal, than
Yes, but keep in mind the Linux ondemand governor should not be tweaked
only for the latest Intel CPUs. I've just done a very little and
_extremely rough_ measurement on my laptop with a Core Duo 2, and while
it seems that, indeed, at idle the frequency didn't matter for the
consumption (about 12.5W with any governor), when running updatedb (so
IO bound), the ...
| Apr 19, 7:30 am 2010 |
| Arjan van de Ven | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
On Mon, 19 Apr 2010 10:29:47 +0200
first of all, it's so bad that people will just turn the whole power
management off... at which point fixing the really bad bug is actually
on the machines I used this on (Core i7's) it's actually hardly
measurable. All CPUs I have access to turn the voltage entirely off
during idle, so while the frequency is higher, if you're mostly IO
bound, it's only for very short durations... while still being mostly
"off".
--
Arjan van de Ven Intel Open Source ...
| Apr 19, 6:43 am 2010 |
| Éric Piel | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
Hi,
I don't doubt that keeping the cpu full frequency during IO can improve
some specific workloads, however in your log message you don't explain
how much we are loosing.
How much more energy is consumed when doing a "updatedb" or "find /" ?
I'm not saying your patch is wrong, but I'm saying that if you tweak the
ondemand governor just by looking at performance and not at energy
consumption, as it seems in your log message, it will soon look very
similar to the performance governor! So it ...
| Apr 19, 1:29 am 2010 |
| Tvrtko Ursulin | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
Is the improvement really because IO benefited from CPU being held at a higher
frequency, or perhaps because it is now not scaled down during IO, so when CPU
intensive part of git grep comes along it is already "revved up"?
Or in other words, does a pure IO workload benefit from now higher selected
frequency?
One idea I had but a) never had time to implement it and b) was not sure it
would be accepted anyway, was to modify ondemand governor to ramp up
instantly, but slow down slowly (in a ...
| Apr 19, 2:09 am 2010 |
| Arjan van de Ven | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
On Mon, 19 Apr 2010 10:09:55 +0100
the IO part does not get much faster (some systems lower the FSB speed
at low frequencies, but disks are still much slower than the FSB
anyway), but the CPU part, which is performance critical for, say,
no.
Mixed workloads do.
but pure IO workloads also don't suffer since while idle, the voltage
that's what ondemand does already.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit ...
| Apr 19, 6:46 am 2010 |
| Arjan van de Ven | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
be careful; you're measuring power not energy. You also need to take
into account that things are now done quicker, so that you can then be
idle longer later! So yes instantaneous you're using a bit more power
(since you're getting much more performance), but you're done much
quicker as well.... Once you do this the equation changes, and it's
more or less a wash.
As for your general "ondemand is for everyone" concern; there are many
things wrong with ondemand, and I'm writing a new ...
| Apr 19, 7:47 am 2010 |
| Tvrtko Ursulin | Re: [PATCH 7/7] ondemand: Solve the big performance issu ...
You mean that higher frequency does not have effect on power use if CPU is
How and where in the code and how to enable that behaviour? From my
experiments frequency goes down to minimum as soon as load goes away. What I
was talking about is gradual lowering over a configurable period. It is not
power efficient, but it could be good for latency in some workloads.
Tvrtko
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No ...
| Apr 19, 8:29 am 2010 |
| Jean Delvare | Re: [PATCH] i2c-dev: fix all coding style issues in i2c-dev.c
Hi Farid,
Applied, thanks.
--
Jean Delvare
--
| Apr 18, 11:20 pm 2010 |
| Jiri Kosina | Re: [PATCH] uml: Fix build breakage after slab.h changes
Well, if Jeff isn't actively maintaining UML any more, either you can take
over the maintainership yourself, or feed the non-trivial patches through
Andrew Morton.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Apr 19, 1:12 pm 2010 |
| Jan Kiszka | Re: [PATCH] uml: Fix build breakage after slab.h changes
We may use different configs. Also, your userland includes have to lack
Good question. Does such a tree exist? I'm sitting on a few more um
cleanups & fixes, and so far I'm working against Linus' tree as I failed
to find anything more recent.
Jan
| Apr 19, 12:35 am 2010 |
| Jiri Kosina | Re: [PATCH] uml: Fix build breakage after slab.h changes
If these are simple-enough cleanups and/or compile fixes, feel free to
send them to trivial@kernel.org.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Apr 19, 9:29 am 2010 |
| Jan Kiszka | Re: [PATCH] uml: Fix build breakage after slab.h changes
Some are trivial, but most aren't. Will check if I can split the formers
out, but I guess it's simpler to keep the queue.
Thanks,
Jan
| Apr 19, 1:10 pm 2010 |
| Tejun Heo | Re: [PATCH] uml: Fix build breakage after slab.h changes
Well, in that case, I'll route this one through percpu.
Thanks.
--
tejun
--
| Apr 19, 1:19 am 2010 |
| Tejun Heo | Re: [PATCH] uml: Fix build breakage after slab.h changes
applied to percpu#for-linus/next. Will push to Linus in a few days.
Thanks.
--
tejun
--
| Apr 19, 1:51 am 2010 |
| Mathieu Desnoyers | Re: [RFC patch] CFS fix place entity spread issue (v2)
place_entity(), when placing a sleeper on the runqueue, decrements its vruntime
(derived from min_vruntime) from -= thresh (derived from load calculation). So
if we end up with a task woken up that does not consume enough vruntime to pass
the previous min_vruntime value, we effectively decrement min_vruntime.
The other thing I am currently looking into is that, without even considering
the question of going lower than min_vruntime, given that a woken up sleeper
gets an extra share of vruntime ...
| Apr 19, 7:06 am 2010 |
| Peter Zijlstra | Re: [RFC patch] CFS fix place entity spread issue (v2)
Right, that should not happen, ever, min_vruntime should be monotonic.
Fairness, a task's vruntime going backwards means it can obtain more
I'm not sure that's a good idea, that'll end up being a 'fairer'
scheduler in the strict sense, but I suspect it will break the wakeup
That seems nice enough. But really, this changelog doesn't explain the
cause at all.
/me goes try and figure out where this min_vruntime goes backwards.
So update_min_vruntime() is the sole place where we ...
| Apr 19, 2:25 am 2010 |
| Peter Zijlstra | Re: [RFC patch] CFS fix place entity spread issue (v2)
On Sun, 2010-04-18 at 09:13 -0400, Mathieu Desnoyers wrote:
Nobody I could find decrements min_vruntime, and certainly
place_entity() doesn't change min_vruntime. So this is a totally
So in effect you change:
vruntime = max(vruntime, min_vruntime - thresh/2)
into
vruntime = max(vruntime, min_vruntime + thresh/2)
So the comment doesn't match the code, nor is it correct.
The code tries to implement clipping vruntime to min_vruntime, not
clipping min_vruntime, but then botches it ...
| Apr 19, 7:43 am 2010 |
| Peter Zijlstra | Re: [RFC patch] CFS fix place entity spread issue (v2)
No we don't, the next time it comes along it will at worst use the exact
But these things will break the wakeup-preemption, you cannot change
place_entity() without also considering
It doesn't go backwards!! Show me where min_vruntime actually decreases?
Sure can have entities that are left of min_vruntime, but that doesn't
None-what-so-ever ;-)
Now, theory says we should use the 0-lag point for task insertion, and I
have a patch that tracks that point, but it adds extra ...
| Apr 19, 7:43 am 2010 |
| Guillaume Knispel | Re: Pending interrupts not always replayed
On Sun, 18 Apr 2010 21:14:12 +0200 (CEST)
Not really the problem here, it indeed helped me do discover the real
bug (because I would not have seen that an interrupt went missing if the
device have generated another one all by itself soon after that).
I would of course prefer to have this line in level trigger, but the
pic just can't do it for this signal, so I play with masking and
unmasking interrupts on the device side to regenerate edges when needed.
When interrupts are enabled, I do that ...
| Apr 19, 6:09 am 2010 |
| Parag Warudkar | Apr 19, 4:22 pm 2010 | |
| Jerome Glisse | Re: Atombios Execution timeout
Please open bug and attach your video bios. See bottom of :
http://dri.freedesktop.org/wiki/TestingAndDebugging
I have a patch to bump it to 2sec but i still find strange that
it takes so long, i think it can be related to lockup.
Cheers,
Jerome
--
| Apr 18, 11:47 pm 2010 |
| Nix | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
That seems to have fixed it.
(This must be a heck of a wide race, or I'm very unlucky :) I hit it
every single time, even if the machine is under heavy load...)
--
| Apr 19, 11:54 am 2010 |
| Trond Myklebust | Re: 2.6.34rc4 NFS writeback regression (bisected): clien ...
Hmm... Could you please try reverting commit
2c61be0a9478258f77b66208a0c4b1f5f8161c3c (NFS: Ensure that the WRITE and
COMMIT RPC calls are always uninterruptible). I wonder if that
introduced a new race...
Cheers
Trond
--
| Apr 19, 6:10 am 2010 |
| Jens Axboe | Re: [PATCH] [MTD] Fix JFFS2 sync silent failure
I think that BUG_ON() would be a lot better as a printk() and fail mount
instead. There's really little point in killing the kernel for something
you could easily warn about and recover nicely.
--
Jens Axboe
--
| Apr 19, 12:38 am 2010 |
| Jörn Engel | Re: [PATCH] [MTD] Fix JFFS2 sync silent failure
Sure.
David, this patch is untested. It looks trivially correct and fixes a
nasty bug, but I don't test jffs2 and only noticed the problem in
passing.
Jörn
--
Maintenance in other professions and of other articles is concerned with
the return of the item to its original state; in Software, maintenance
is concerned with moving an item away from its original state.
-- Les Belady
diff --git a/drivers/mtd/mtdsuper.c b/drivers/mtd/mtdsuper.c
index af8b42e..7c00319 100644
--- ...
| Apr 19, 4:39 am 2010 |
| Jörn Engel | Re: [PATCH] [MTD] Fix JFFS2 sync silent failure
*shrug*
The BUG_ON directly above is not qualitatively different. In both cases
the only solution is to find and fix the bug in some other file,
recompile and try again. But ultimately I don't care, as long as we
catch the bug before people lose their data.
Feel free to respin this patch. You caused the problem in the first
place. ;)
For the record, while I consider the two-liner that causes this mess a
real turd, the rest of your patch was brilliant. A shame I didn't catch
this ...
| Apr 19, 3:15 am 2010 |
| Jens Axboe | Re: [PATCH] [MTD] Fix JFFS2 sync silent failure
Thanks, we definitely should have put a debug statement to catch this in
from day 1, good debugging should be an important part of any new
infrastructure.
Care to send your jffs2 patch separately to David? Then I'll commit a
modified variant for complaining about missing ->s_bdi on mount.
--
Jens Axboe
--
| Apr 19, 3:20 am 2010 |
| Oleg Kutkov | Re: Network activity after route changes
Thank, but this does not help me. Maybe it really my bug.
--
| Apr 19, 1:14 am 2010 |
| Frans Pop | Re: [regression,bisected] Missing boot messages with VES ...
Hmm. A straight revert of that commit on top of -rc4 does not fix the
problem. I'll investigate a bit more.
--
| Apr 19, 5:57 am 2010 |
| Frans Pop | Re: [regression,bisected] Missing boot messages with VES ...
There is no relevant difference between the dmesg for 477346ff ("bisect-5":
Unfortunately "shouldn't" isn't always the same as "doesn't" :-)
$ cat /proc/fb
0 VESA VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile
GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile
GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
Cheers,
FJP
| Apr 19, 5:03 am 2010 |
| Lai Jiangshan | Re: [patch 5/5] tree/tiny rcu: Add debug RCU head objects (v5)
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
--
| Apr 18, 6:17 pm 2010 |
| Paul E. McKenney | Re: [patch 5/5] tree/tiny rcu: Add debug RCU head objects (v5)
Thank you, Lai!!! I have added your Reviewed-by.
--
| Apr 19, 6:34 am 2010 |
| Lee Schermerhorn | RE: Memory policy question for NUMA arch....
Yes, as Andi mentioned. Also, see my response to Rick at:
If current->mempolicy is not initialized, you can create a new one and
set it temporarily. You could probably call do_set_mempolicy() directly
the way numa_policy_init() does and then call numa_default_policy() to
restore it to default.
You should never change the system default once the system is up and
As Andi mentioned in his response, you could certainly do this as long
Still not clear on what your requirements are but, ...
| Apr 19, 8:16 am 2010 |
| Frans Pop | Re: [regression] Sound not transferred to docking statio ...
Works as well.
Reported-and-tested-by: Frans Pop <elendil@planet.nl>
--
| Apr 19, 7:58 am 2010 |
| Takashi Iwai | Re: [regression] Sound not transferred to docking statio ...
At Mon, 19 Apr 2010 13:38:14 +0200,
Then my rough guess is
commit ea52bf260ecbb175339af3178c15788df21b7516
Author: Daniel T Chen <crimsun@ubuntu.com>
Date: Sun Dec 27 18:48:29 2009 -0500
ALSA: hda: Add powerdown for Analog Devices HDA codecs
Could you try to revert it?
thanks,
Takashi
--
| Apr 19, 4:59 am 2010 |
| Frans Pop | Re: [regression] Sound not transferred to docking statio ...
That fixes the problem too.
Please add my:
Reported-and-tested-by: Frans Pop <elendil@planet.nl>
Cheers,
FJP
--
| Apr 19, 5:39 am 2010 |
| Takashi Iwai | Re: [regression] Sound not transferred to docking statio ...
At Mon, 19 Apr 2010 16:58:39 +0200,
Thanks. Now applied to sound git tree.
Takashi
--
| Apr 19, 9:17 am 2010 |
| Frans Pop | Re: [regression] Sound not transferred to docking statio ...
Yep, that's the culprit.
Let me know if a fix needs to be tested.
Thanks,
FJP
--
| Apr 19, 5:18 am 2010 |
| Takashi Iwai | Re: [regression] Sound not transferred to docking statio ...
At Mon, 19 Apr 2010 14:39:44 +0200,
Thanks for a quick check. But I found that the patch isn't fully
correct.
The patch below should suffice instead of the previous one.
Could you check it again?
thanks,
Takashi
---
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 9cbd80c..afbe314 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -527,14 +527,6 @@ static int ad198x_suspend(struct hda_codec *codec, pm_message_t state)
...
| Apr 19, 5:53 am 2010 |
| Frans Pop | Re: [regression] Sound not transferred to docking statio ...
See files in attached tarball. Contents are:
* system boot (docked)
=> alsa-info.txt_3[34]_docked
* undock
=> alsa-info.txt_3[34]_undocked
* suspend - dock (while suspended) - resume
=> alsa-info.txt_3[34]_after_resume_docked
* undock - redock (this disables the internal speakers)
That fixes the problem.
Thanks,
FJP
| Apr 19, 4:38 am 2010 |
| Takashi Iwai | Re: [regression] Sound not transferred to docking statio ...
At Sat, 17 Apr 2010 11:06:22 +0200,
Could you give alsa-info.sh on your machine, preferably before/after
suspend on both working (2.6.33) and non-working kernels?
Also, you can try to copy sound/pci/hda/patch_analog.c from 2.6.33 to
2.6.34 to check whether it works. There shouldn't be many changes in
that file.
thanks,
Takashi
--
| Apr 19, 12:47 am 2010 |
| Takashi Iwai | Re: [regression] Sound not transferred to docking statio ...
At Mon, 19 Apr 2010 13:59:36 +0200,
Or how about the patch below?
Takashi
---
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 9cbd80c..2cf7d19 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -85,6 +85,9 @@ struct ad198x_spec {
const char **slave_sws;
};
+#define AD_HP_EVENT 0x01
+#define AD_MIC_EVENT 0x02
+
/*
* input MUX handling (common part)
*/
@@ -533,6 +536,11 @@ static int ad198x_resume(struct ...
| Apr 19, 5:14 am 2010 |
| Amit Kucheria | Re: [PATCHv4 2.6.34-rc4 2/7] mx5: Add USB device definit ...
This part of the patch doesn't apply anymore. Please fix. Also, run
scripts/checkpatch.pl on the series to catch some standard whitespace errors
--
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria@canonical.com
----------------------------------------------------------------------
--
| Apr 18, 5:32 pm 2010 |
| Nguyen Dinh-R00091 | RE: [PATCHv4 2.6.34-rc4 2/7] mx5: Add USB device definit ...
-----Original Message-----
From: Amit Kucheria [mailto:amit.kucheria@canonical.com]
Sent: Sunday, April 18, 2010 7:33 PM
To: Nguyen Dinh-R00091
Cc: linux-kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
linux@arm.linux.org.uk; s.hauer@pengutronix.de;
valentin.longchamp@epfl.ch; daniel@caiaq.de; grant.likely@secretlab.ca;
bryan.wu@canonical.com; Herring Robert-RA7055; Li Jun-R65092; Zhang
Lily-R58066
Subject: Re: [PATCHv4 2.6.34-rc4 2/7] mx5: Add USB device definitions
for ...
| Apr 19, 7:48 am 2010 |
| Daniel Mack | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HW ini ...
Well, as long as the defines are commited _before_ their users, it
should be fine. But they can also be squashed into one, that's true.
Thanks,
Daniel
--
| Apr 19, 12:38 am 2010 |
| Daniel Mack | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HWinit ...
Sorry, I messed up the To/Cc fields in my reply. The above was directed
to Nguyen Dinh of course, not to Sascha.
--
| Apr 19, 10:04 am 2010 |
| Sascha Hauer | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HWinit ...
No, and Daniel won't agree either. What I meant is that you should add
support for the different transceiver types in this function. Take
i.MX27/31/35 as an example how to do this: Parse the flag parameter and
do whatever you have to.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht ...
| Apr 19, 8:58 am 2010 |
| Amit Kucheria | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HW ini ...
Also, patch 3 really belongs with this patch too since the #defines in
patch 3 are used here.
--
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria@canonical.com
----------------------------------------------------------------------
--
| Apr 18, 6:03 pm 2010 |
| Nguyen Dinh-R00091 | RE: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HWinit ...
-----Original Message-----
From: Sascha Hauer [mailto:s.hauer@pengutronix.de]
Sent: Saturday, April 17, 2010 9:07 PM
To: Nguyen Dinh-R00091
Cc: linux-kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org;
linux@arm.linux.org.uk; valentin.longchamp@epfl.ch; daniel@caiaq.de;
grant.likely@secretlab.ca; bryan.wu@canonical.com;
amit.kucheria@canonical.com; Herring Robert-RA7055; Li Jun-R65092; Zhang
Lily-R58066
Subject: Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB
HWinitialization ...
| Apr 19, 8:40 am 2010 |
| Daniel Mack | Re: [PATCHv4 2.6.34-rc4 5/7] mxc: Add generic USB HWinit ...
Yes, of course. Sorry I didn't see this when reviewing.
Think about what's necessary to add support for a new board. You don't
want to copy all the register accessing functions again but re-use and
share generic code. All you need to have in the board specific support
code are flags which are passed to the generic driver core. Just like
all other board support code does it as well. Not just for USB btw. but
for all sorts of other drivers as wel. Have a look at code which is
already there to ...
| Apr 19, 9:59 am 2010 |
| Jan Kara | Re: busy inodes -> ext3 umount crash
Hi,
I see several "Busy inodes on umount" messages from several filesystems
and then the complaint on dm-1 about ext3 orphan inodes on umount (which are
actually directories with i_nlink == 0). I guess these are actually caused by
the same bug - some leak in inode references. I think this is a bug
specific to mmotm since otherwise we'd be seeing much more reports of this.
Looking at the patches in mmotm,
vfs-fix-vfs_rename_dir-for-fs_rename_does_d_move-filesystems.patch caught
my eye but ...
| Apr 19, 7:11 am 2010 |
| Jiri Slaby | Re: busy inodes -> ext3 umount crash
The trigger for busy inodes is as simple as (I=initialization done only
once):
I> # dd if=/dev/zero of=/dev/shm/ext3 bs=1024 count=1 seek=$((100*1024))
I> # mkfs.ext3 -m 0 /dev/shm/ext3
# mount -oloop /dev/shm/ext3 /mnt/c
# umount /mnt/c
# dmesg|tail
VFS: Busy inodes after unmount of loop0. Self-destruct in 5 seconds.
Have a nice day...
I don't know, now I'm going to play with that as I have the trigger ;).
Will be back soon.
thanks,
--
js
--
| Apr 19, 7:33 am 2010 |
| Jiri Kosina | Re: [PATCH] hid: Add mappings for a few keys found on Lo ...
Applied. thanks.
--
Jiri Kosina
SUSE Labs, Novell Inc.
--
| Apr 19, 4:28 am 2010 |
| Mel Gorman | Re: Process-shared futexes on hugepages puts the kernel ...
anon_vma for hugetlb pages sounds overkill, what would it gain? In this
context, futex only appears to distinguish between whether the
references are private or shared.
Looking at the hugetlbfs code, I can't see a place where it actually cares
about the mapping as such. It's used to find shared pages in the page cache
(but not in the LRU) that are backed by the hugetlbfs file. For hugetlbfs
though, the mapping is mostly kept in page->private for reservation accounting
purposes.
I can't ...
| Apr 19, 4:43 am 2010 |
| Peter Zijlstra | Re: Process-shared futexes on hugepages puts the kernel ...
Yes, this seems perfectly adequate to me, that poison idea might be
worthwhile too :-)
--
| Apr 19, 4:52 am 2010 |
| Mel Gorman | Re: Process-shared futexes on hugepages puts the kernel ...
Are you ok with an Ack to this slightly-difference patch too? If so,
I'll forward it on to Andrew.
==== CUT HERE ====
Fix infinite loop in get_futex_key when backed by huge pages
If a futex key happens to be located within a huge page mapped MAP_PRIVATE,
get_futex_key() can go into an infinite loop waiting for a page->mapping
that will never exist. This was reported and documented in an external
bugzilla at
https://bugzilla.redhat.com/show_bug.cgi?id=552257
This patch makes ...
| Apr 19, 8:32 am 2010 |
| Andrea Arcangeli | Re: Process-shared futexes on hugepages puts the kernel ...
Cute indeed.
BTW, just in case I tested this on transparent hugepage and it works
fine (it uses no cpu and can be killed with C^c). I had to hack it
like below to allocate the semaphore on hugepages without
khugepaged. I verified 1 hugepage is allocated (thanks to memory
compaction there's an huge excess of hugepages compared to what my
regular apps can eat ;). Furthermore I found gcc bypasses malloc so a
small patch to gcc should move it all into hugepages. Then maybe we
can build the ...
| Apr 19, 8:48 am 2010 |
| Peter Zijlstra | Re: Process-shared futexes on hugepages puts the kernel ...
Wouldn't a longer poison be more recognisable? Also, shouldn't this use
POISON_POINTER_DELTA?
Something like:
#define HUGETBL_POISON ((void *) 0x00300300 + POISON_POINTER_DELTA)
--
| Apr 19, 8:45 am 2010 |
| Andrea Arcangeli | Re: Process-shared futexes on hugepages puts the kernel ...
The default at kernel config time sets only 4k as unmapped (I think
it's a very bad default for 64bit archs), so above 4k userland can map
it and you can have actual derefs with 0x00300300 but not with Mel's
preferred <0x1000 address. So the address must be <0x1000.
--
| Apr 19, 9:11 am 2010 |
| Peter Zijlstra | Re: Process-shared futexes on hugepages puts the kernel ...
Well, most poison values have that problem and still we have them. Also
on 64bit machines you can use POISON_POINTER_DELTA to map it outside the
virtual address range.
--
| Apr 19, 9:18 am 2010 |
| Mel Gorman | Re: Process-shared futexes on hugepages puts the kernel ...
I was looking for an address < 0x1000 because it would only be valid in very
rare cases. I wasn't so sure about any other pointer value and only x86-64
So have I, but it couldn't be too near the page boundary either and pretty
much any address can be valid. Still, architectures aren't stopped from
defining the delta and it is something we appear to rely on for the list
poisoning. I'd prefer a value below 0x1000 but matching list poisoning should
work for the most part.
How about?
==== ...
| Apr 19, 9:34 am 2010 |
| Darren Hart | Re: Process-shared futexes on hugepages puts the kernel ...
Thanks Mel, I'm also keen to keep hugetlb awareness out of futex.c, it's
crazy enough in there already!
Acked-by: Darren Hart <darren@dvhart.com>
r6144, would you consider taking a look at the futextest test suite and
letting me know where you think it might need improvement to catch what
you ran into in your tests. I'm thinking some options to futex_wait and
possibly other tests to tell it where to map the futex ...
| Apr 19, 9:04 am 2010 |
| Andrea Arcangeli | Re: Process-shared futexes on hugepages puts the kernel ...
That would better be fixed too to stay <4096 for higher chance of
We've thousands of magic values there, I don't see much benefit from
POISON_POINTER_DELTA other than being able to call it
0xdeadbeef+POISON_POINTER_DELTA ;). We always look the assembly to
find the actual real raw pointer value (without the field offset) so I
think using a range between 0xaaa and 0xbbb for the error pointers, is
functional enough, but it's up to you as long as it is a address range
that can't be used by ...
| Apr 19, 9:32 am 2010 |
| Miklos Szeredi | Re: CFQ read performance regression
Hi Corrado,
low_latency is set to zero in all tests.
The layout difference doesn't explain why setting the scheduler to
"noop" consistently speeds up read throughput in 8-thread tiobench to
almost twice. This fact alone pretty clearly indicates that the I/O
scheduler is the culprit.
There are other indications, see the attached btt output for both
traces. From there it appears that 2.6.16 does more and longer seeks,
yet it's getting an overall better performance.
I've also tested ...
| Apr 19, 4:46 am 2010 |
| John Kacur | Re: [RFC: PATCH v2] lockdep: Make MAX_STACK_TRACE_ENTRIE ...
Ingo, since nobody responded to my RFC, I am assuming that the change
is not controversial, would you please consider pulling this into tip
for 2.6.35?
What followed is v2 of the patch regenerated against the latest
tip/master
Thanks
John
From b47fcc543e55b6d1a89c5cdf0f3f7501728bb8e1 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Fri, 16 Apr 2010 13:24:02 +0200
Subject: [PATCH] lockdep: Make MAX_STACK_TRACE_ENTRIES configurable.
Cc: Ingo Molnar <mingo@elte.hu>,
...
| Apr 19, 9:51 am 2010 |
| Richard Kennedy | Re: [PATCH RFC] buffer_head: remove redundant test from ...
Hi Andrew,
I've tested your patches against 2.6.34-rc4 on lvm/ext4. I'm not seeing
any vm bugs, so it all looks good to me.
thanks
Richard
--
| Apr 19, 1:44 am 2010 |
| Ben Hutchings | Re: [PATCH]Add device drivers (GbE, Packet Hub) for Topcliff
[...]
Patches must be sent directly to the list for review, with few
exceptions.
The size limit for the list is 100 K. Given that none of your source
files are this larger, you should be able to split pch_gbe.patch into 3
or more groups of source files, each within this limit. The changes to
drivers/net/Kconfig and drivers/net/Makefile should be in the last part.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the ...
| Apr 19, 8:37 am 2010 |
| Masayuki Ohtake | Re: [PATCH]Add device drivers (GbE, Packet Hub) for Topcliff
Hi jon,
Thanks for your suggestion again.
I joined the netdev and send my patch to "netdev <netdev@vger.kernel.org>".
--
Hello netdev users,
I developed the device drivers for Linux kernel 2.6.33-1.
This time, I added the following drivers
- GbE device
- Packet HUB device
The GbE and Packet Hub device drivers are related with each other.
Because I send patch to LKML <linux-kernel@vger.kernel.org> and the netdev
<netdev@vger.kernel.org> mailing list.
Would you check them?
The ...
| Apr 19, 5:34 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCH 3/8] USB: gadget: __init and __exit tags removed
Yes, I understand that. I'm just clarifying the situation we are in
so maybe someone will came up with some better solution then the ones
already proposed.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał "mina86" Nazarewicz (o o)
ooo +---[mina86@mina86.com]---[mina86@jabber.org]---ooO--(_)--Ooo--
--
| Apr 19, 2:04 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCH 3/8] USB: gadget: __init and __exit tags removed
Are you referring to my previous patch by saying "then they get tweaked
to support a semi-dynamic state"? Those were just a proposal which was never
Yes, I agree. That's why in the first version I proposed the __usb_init,
__usb_exit, etc. tags which could be customized prior to including
composite related files.
I would still go with that solution but it was considered, let me
find the exact phrase, "Ick ick ick." :)
What's more, I don't see any other (that is cleaner) solution ...
| Apr 19, 12:57 am 2010 |
| Mike Frysinger | Re: [PATCH 3/8] USB: gadget: __init and __exit tags removed
i'm referring to the change that started triggering these section
mismatch warnings with 2.6.33. i dont recall seeing any such issues
seems like __usbgadget_xxx would be better naming, but i'm not
i dont have a problem with your current patch (since there are still
seciton mismatch warnings floating about that i imagine this is going
to fix), just with the general situation
-mike
--
| Apr 19, 1:02 am 2010 |
| Jan Blunck | Re: [GIT PULL] Preparation for BKL'ed ioctl removal
Any specific reason why the default llseek() is in this patch?
Regards,
Jan
--
Jan Blunck <jblunck@suse.de>
--
| Apr 19, 5:30 am 2010 |
| fweisbec | Re: [GIT PULL] Preparation for BKL'ed ioctl removal
Because this comes along the same kind of bkl preparation work
we want to do. The goal is to isolate default_llseek and deprecated_ioctl
and only enable them if CONFIG_BKL.
Hence we want their declaration in smp_lock.h
That said it is probably not needed to get the default_llseek declaration
here for this release.
I'm going to make a v2 and resend the pull request. Thanks.
--
| Apr 19, 5:52 am 2010 |
| Arnd Bergmann | Re: [GIT PULL] Preparation for BKL'ed ioctl removal
A later patch moves both default_llseek and deprecated_ioctl into the new
bkl.ko module, while this is just the minimal preparation for getting
all the users changed.
It was intentional but not important to do the move now.
Arnd
--
| Apr 19, 7:27 am 2010 |
| David Wagner | Re: [PATCH] fcntl.h: define AT_EACCESS
Can you share some justification why it's worth extending
faccessat() with new options?
Isn't faccessat() insecure in most use cases, due to TOCTTOU
(time-of-check to time-of-use) vulnerabilities? When faccessat()
returns 0, you learn that at some point in the past, the process had
permission to access a given file, though the process may or may not
have permission at the moment. Why is that a useful thing to know?
I'm sure you're familiar with all the standard arguments why using
access() ...
| Apr 19, 3:20 pm 2010 |
| Andrew Morton | Re: [PATCH] fcntl.h: define AT_EACCESS
On Fri, 16 Apr 2010 05:08:00 +0200
I'm all confused.
The affects sys_faccesat(), yes? But sys_faccesat() never gets passed
a `flags' argument so how does the behaviour which the FACCESSAT(2)
manpage describes get implemented?
This patch doesn't actually change kernel behaviour, so how can setting
AT_EACCESS change any syscall's actions?
It's a bit of a worry that the proposed value for AT_EACCESS duplicates
AT_REMOVEDIR. I guess that, despite apeparances, they're different
namespaces. ...
| Apr 19, 2:47 pm 2010 |
| maximilian attems | Re: [PATCH] fcntl.h: define AT_EACCESS
glibc fcntl.h defines AT_EACCESS in the same way as aboves patch,
concerning the implementation, others should know better.
the dash code calling faccessat has the 4 params,
klibc faccessat had only 3 args, guess nobody had used it before.
the relevant dash code reads:
#ifdef HAVE_FACCESSAT
static int test_file_access(const char *path, int mode)
{
return !faccessat(AT_FDCWD, path, mode, AT_EACCESS);
}
#else /* HAVE_FACCESSAT */
--
| Apr 19, 2:57 pm 2010 |
| Ulrich Drepper | Re: [PATCH] fcntl.h: define AT_EACCESS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The function is implemented at userlevel. The kernel code has the same
name but isn't a complete implementation. There is no point in defining
the symbol in the kernel headers.
- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - ...
| Apr 19, 3:10 pm 2010 |
| H. Peter Anvin | Re: [PATCH] fcntl.h: define AT_EACCESS
They should be added as a comment, at least, to avoid future conflicts.
-hpa
--
| Apr 19, 3:11 pm 2010 |
| Jan Blunck | Re: [PATCH 04/35] whiteout/NFSD: Don't return informatio ...
Bruce,
the alternative would be to include the check in the fs readdir()
implementation, and therefore prevent the call of the filler. I think this
patch would be even bigger.
--
| Apr 19, 5:37 am 2010 |
| David Woodhouse | Re: [PATCH 13/35] fallthru: ext2 fallthru support
I certainly asked whether you really need a real 'struct inode' for
whiteouts, and suggested that they should be represented _purely_ as a
dentry with type DT_WHT.
I don't much like the manifestation of that in this patch though,
especially with the made-up inode number. (ISTR I had other
jffs2-specific objections too, which I'll dig out and forward).
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel ...
| Apr 19, 6:02 am 2010 |
| David Woodhouse | Re: [PATCH 11/35] whiteout: jffs2 whiteout support
This doesn't seem to have incorporated my feedback from the attached...
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
| Apr 19, 6:03 am 2010 |
| Jan Blunck | Re: [PATCH 13/35] fallthru: ext2 fallthru support
Yes, this patches still have issues that Val and me are aware off. I can't
remember anything jffs2-specific though.
We return that inode number because we don't want to lookup the name on the
other filesystem during readdir. Therefore returning DT_UNKNOWN to let the
userspace decide if it needs to stat the file was the easiest workaround. I
know that POSIX requires d_ino and d_name but on the other hand it does not
require anything more on how long d_ino is valid.
If somebody has an idea ...
| Apr 19, 6:23 am 2010 |
| Jan Blunck | Re: [PATCH 13/35] fallthru: ext2 fallthru support
Hmm, why not. Or even the ino of the directory we are reading from ...
Regards,
Jan
--
Jan Blunck <jblunck@suse.de>
--
| Apr 19, 7:12 am 2010 |
| Valerie Aurora | Re: [PATCH 13/35] fallthru: ext2 fallthru support
I don't recall there being any technical reason not to look up the
real inode number. I just wrote it that we because I was lazy. So I
like returning the directory's d_ino better than a single magic
number, but I'd at least like to try returning the real inode number
too.
-VAL
--
| Apr 19, 7:23 am 2010 |
| Valerie Aurora | Re: [PATCH 11/35] whiteout: jffs2 whiteout support
Hm, I'm not sure whether I lost the patch in a rebase or didn't have
time to test it or what. I was hoping someone who actually knows
JFFS2 like Felix or you would get to it first - in general, I'd like
the underlying file system maintainers to implement whiteouts and
fallthrus since they know them best. Felix, if you implemented it and
I lost the patch, my apologies to you.
Thanks David,
--
| Apr 19, 7:26 am 2010 |
| Daisuke Nishimura | Re: mmotm 2010-04-15-14-42 uploaded (shmem, CGROUP_MEM_R ...
Thank you very much for your report.
I attach a fix patch.
===
From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
build fix for !CONFIG_SHMEM case.
CC mm/shmem.o
mm/shmem.c: In function 'mem_cgroup_get_shmem_target':
mm/shmem.c:2721: error: implicit declaration of function 'SHMEM_I'
mm/shmem.c:2721: warning: initialization makes pointer from integer without a cast
mm/shmem.c:2726: error: dereferencing pointer to incomplete type
mm/shmem.c:2727: error: implicit declaration of ...
| Apr 18, 6:49 pm 2010 |
| Randy Dunlap | Re: mmotm 2010-04-15-14-42 uploaded (shmem, CGROUP_MEM_R ...
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
--
~Randy
--
| Apr 18, 7:17 pm 2010 |
| KAMEZAWA Hiroyuki | error at compaction (Re: mmotm 2010-04-15-14-42 uploaded
mmotm 2010-04-15-14-42
When I tried
# echo 0 > /proc/sys/vm/compaction
I see following.
My enviroment was
2.6.34-rc4-mm1+ (2010-04-15-14-42) (x86-64) CPUx8
allocating tons of hugepages and reduce free memory.
What I did was:
# echo 0 > /proc/sys/vm/compact_memory
Hmm, I see this kind of error at migation for the 1st time..
my.config is attached. Hmm... ?
(I'm sorry I'll be offline soon.)
-Kame
==
Apr 19 18:55:04 localhost kernel: BUG: unable to handle kernel ...
| Apr 19, 3:01 am 2010 |
| Mel Gorman | Re: error at compaction (Re: mmotm 2010-04-15-14-42 uploaded
That's ok, thanks you for the report. I'm afraid I made little progress
as I spent most of the day on other bugs but I do have something for
you.
First, I reproduced the problem using your .config. However, the problem does
not manifest with the .config I normally use which is derived from the distro
kernel configuration (Debian Lenny). So, there is something in your .config
that triggers the problem. I very strongly suspect this is an interaction
between migration, compaction and page ...
| Apr 19, 11:14 am 2010 |
| Mel Gorman | Re: error at compaction (Re: mmotm 2010-04-15-14-42 uploaded
I unexpecedly had the time to dig into this. Does the following patch fix
your problem? It Worked For Me.
==== CUT HERE ====
mm,compaction: Map free pages in the address space after they get split for compaction
split_free_page() is a helper function which takes a free page from the
buddy lists and splits it into order-0 pages. It is used by memory
compaction to build a list of destination pages. If
CONFIG_DEBUG_PAGEALLOC is set, a kernel paging request bug is triggered
because ...
| Apr 19, 12:39 pm 2010 |
| Peter Zijlstra | Re: [RFC] perf_events: support for uncore a.k.a. nest units
Well, that's going to be a mighty large patch.
I'd rather see smaller patches, say one patch per removal of a weak
hw_perf interface, etc...
--
| Apr 19, 2:27 am 2010 |
| Lin Ming | Re: [RFC] perf_events: support for uncore a.k.a. nest units
Hi,
I have been also looking at this for some time.
I'll send a draft patch later this week to support multiple hw pmus.
Lin Ming
--
| Apr 19, 2:08 am 2010 |
| Don Zickus | Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
Ok, I'll continue that then. Thanks.
Cheers,
Don
--
| Apr 19, 2:51 pm 2010 |
| Don Zickus | Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
Hello all,
After making a bunch of cleanups, I am stuck debating whether to continue
updating this patch on the stale branch perf/nmi on Ingo's tree or just
repost the whole patch again (which isn't much bigger just adds the
arch/x86/kernel/apic/hw_nmi.c piece).
Part of the new patch series includes removing kernel/nmi_watchdog.c,
which seemed kinda silly because it was only an intermediate file until
things got shifted to kernel/watchdog.c
Thoughts?
Cheers,
Don
--
| Apr 19, 2:21 pm 2010 |
| Ingo Molnar | Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
I'd prefer relative patches as the current perf/nmi bits are tested quite
well.
Intermediate stages are not a problem: 90% of the code in the kernel's Git
history is 'intermediate' as well, in hindsight. What matters is that the
workflow that resulted was clean and that the patches were (and are) clean.
Ingo
--
| Apr 19, 2:35 pm 2010 |
| tip-bot for Paul E. ... | [tip:core/urgent] rcu: Make RCU lockdep check the lockde ...
Commit-ID: bc293d62b26ec590afc90a9e0a31c45d355b7bd8
Gitweb: http://git.kernel.org/tip/bc293d62b26ec590afc90a9e0a31c45d355b7bd8
Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
AuthorDate: Thu, 15 Apr 2010 12:50:39 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 19 Apr 2010 08:37:19 +0200
rcu: Make RCU lockdep check the lockdep_recursion variable
The lockdep facility temporarily disables lockdep checking by
incrementing the current->lockdep_recursion variable. ...
| Apr 19, 12:54 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
All of them? I though tsc stops in some mwait deep REM sleep thing.
So what do we need? test for both TSC_RELIABLE and NONSTOP_TSC? IMO
TSC_RELIABLE should imply NONSTOP_TSC.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:53 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Worrying. By the time we detect this the guest may already have gotten
confused by clocks going backwards.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:54 am 2010 |
| Glauber Costa | Re: [PATCH 1/5] Add a global synchronization point for pvclock
I think delta calculation introduces errors.
Marcelo can probably confirm it, but he has a nehalem with an appearently
very good tsc source. Even this machine warps.
It stops warping if we only write pvclock data structure once and forget it,
(which only updated tsc_timestamp once), according to him.
Obviously, we can't do that everywhere.
--
| Apr 19, 11:25 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Right, so on x86 we have:
X86_FEATURE_CONSTANT_TSC, which only states that TSC is frequency
independent, not that it doesn't stop in C states and similar fun stuff.
X86_FEATURE_TSC_RELIABLE, which IIRC should indicate the TSC is constant
and synced between cores.
--
| Apr 19, 3:46 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
atomic64_read() _is_ cmpxchg64b. Are you thinking of some clever
implementation for smp i386?
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:47 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Sockets and boards too? (IOW, how reliable is TSC_RELIABLE)?
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 3:49 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Fun, we also have:
X86_FEATURE_NONSTOP_TSC, which states the thing doesn't stop in C
states.
--
| Apr 19, 3:49 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
No, what I was suggesting was to rewrite that loop no to need the
initial read but use the cmpxchg result of the previous iteration.
Something like:
u64 last = 0;
/* more stuff */
do {
if (ret < last)
return last;
last = cmpxchg64(&last_value, last, ret);
} while (last != ret);
That only has a single cmpxchg8 in there per loop instead of two
(avoiding the atomic64_read() one).
--
| Apr 19, 3:56 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
ACCESS_ONCE() is your friend.
--
| Apr 19, 3:39 am 2010 |
| Jeremy Fitzhardinge | Re: [PATCH 1/5] Add a global synchronization point for pvclock
So you think they're drifting out of sync from an initially synced
state? If so, what would bound the drift?
J
--
| Apr 19, 9:19 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
and this maps to NONSTOP, so I think we're fine.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 4:35 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
The idea is that TSC will not stop ever (except s2r like stuff), not
Yeah, I think RELIABLE does imply NONSTOP and CONSTANT, but NONSTOP &&
CONSTANT does not make RELIABLE.
--
| Apr 19, 3:59 am 2010 |
| Zachary Amsden | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Upstream, we are marking the TSC unstable preemptively when hardware
which will eventually sync test is detected, so this should be fine.
Zach
--
| Apr 19, 11:35 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
No. On i386, the statement
last = last_value;
will be split by the compiler into two 32-bit loads. If a write
(atomic, using cmpxchg) on another cpu happens between those two loads,
then the variable last will have a corrupted value.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 19, 7:37 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Not sure, IIRC we clear that when the TSC sync test fails, eg when we
mark the tsc clocksource unusable.
--
| Apr 19, 3:51 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Right, do bear in mind that the x86 implementation of atomic64_read() is
terrifyingly expensive, it is better to not do that read and simply use
the result of the cmpxchg.
--
| Apr 19, 3:43 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Oh yes, just trying to avoid a patch with both atomic64_read() and
ACCESS_ONCE().
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 4:10 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Still have two cmpxchgs in the common case. The first iteration will
fail, fetching last_value, the second will work.
It will be better when we have contention, though, so it's worthwhile.
--
error compiling committee.c: too many arguments to function
--
| Apr 19, 4:13 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Right, another option is to put the initial read outside of the loop,
that way you'll have the best of all cases, a single LOCK'ed op in the
loop, and only a single LOCK'ed op for the fast path on sensible
architectures ;-)
last = atomic64_read(&last_value);
do {
if (ret < last)
return last;
last = atomic64_cmpxchg(&last_value, last, ret);
} while (unlikely(last != ret));
Or so.
--
| Apr 19, 4:19 am 2010 |
| Glauber Costa | Re: [PATCH 1/5] Add a global synchronization point for pvclock
you're mixing the private version of the patch you saw with this one.
there isn't any atomic reads in here. I'll use a barrier then
--
| Apr 19, 7:21 am 2010 |
| Glauber Costa | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Yes it is.
But as I said, this seem to be a very deep worst case scenario. Most of boxes
The offsets usually seem pretty small, under a microsecond. So I don't think
it has anything to do with tscs starting out of sync. Specially because the
delta-based calculation has the exact purpose of handling that case.
--
| Apr 19, 7:26 am 2010 |
| Glauber Costa | Re: [PATCH 1/5] Add a global synchronization point for pvclock
isn't a barrier enough here?
--
| Apr 19, 7:32 am 2010 |
| Avi Kivity | Re: [PATCH 1/5] Add a global synchronization point for pvclock
This patch writes last_value atomically, but reads it non-atomically. A
barrier is insufficient.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
--
| Apr 19, 7:33 am 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] Add a global synchronization point for pvclock
What avi says! :-)
On a 32bit machine a 64bit read are two 32bit reads, so
last = last_value;
becomes:
last.high = last_value.high;
last.low = last_vlue.low;
(or the reverse of course)
Now imagine a write getting interleaved with that ;-)
--
| Apr 19, 7:46 am 2010 |
| Jeremy Fitzhardinge | Re: [PATCH 1/5] Add a global synchronization point for pvclock
Well, on a 32b system, you can explicitly order the updates of low and
high, then do a high-low-checkhigh read. That would be much more
efficient than atomic64. If we really care about 32b.
J
--
| Apr 19, 9:11 am 2010 |
| Jeremy Fitzhardinge | Re: [PATCH 1/5] Add a global synchronization point for pvclock
You could explicitly do:
do {
h = last.high;
barrier();
l = last.low;
barrier();
} while (last.high != h);
This works because we expect last to be always increasing, so the only
worry is low wrapping and incrementing high, and is more efficient than
making the read fully atomic (the write is still cmpxchg64). But it's
pretty ugly to open code just for 32b architectures; its something that
might be useful to turn into a general abstraction (monotonic_read_64
FTW!). I ...
| Apr 19, 9:18 am 2010 |
| Herbert Xu | Re: [PATCH] Crypto: geode-aes: Fix some code style issues
Applied. Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| Apr 19, 6:03 am 2010 |
| Chase Douglas | Re: [PATCH 3/3] Stop tracing on a schedule bug
I just found what you were meaning here, since there's no
documentation yet about the traceon/traceoff filter command. This
would do exactly what we want for helping us fix bugs.
I'll write some info about the command in ftrace.txt and send a patch
for review so no one else is left out of the party :).
-- Chase
--
| Apr 19, 3:30 pm 2010 |
| Andrew Morton | Re: MacBookPro2,2 unable too boot with the latest HEAD
On Mon, 19 Apr 2010 14:36:31 -0700
hm. I wonder how you go from a bugzilla attachment back up tot he bug
to which it is attached?
Oh well. Alexey, I trust that patch is in the 2.6.34 queue?
Thanks.
--
| Apr 19, 2:57 pm 2010 |
| Justin P. Mattock | Re: MacBookPro2,2 unable too boot with the latest HEAD
cool thanks.. just pulled,
rebooted everything looks good.
cheers,
Justin P. Mattock
--
| Apr 19, 3:56 pm 2010 |
| Andrew Morton | Re: MacBookPro2,2 unable too boot with the latest HEAD
On Wed, 14 Apr 2010 08:12:57 -0700
Presumably acpi_ex_extract_from_field() fed zero into (the misnamed)
ACPI_ROUND_UP_TO().
I'll ask Rafael and Maciej to track this as a post-26.33 regression,
thanks.
--
| Apr 19, 2:28 pm 2010 |
| Justin P. Mattock | Re: MacBookPro2,2 unable too boot with the latest HEAD
the patch here fixes it for me:ACPI: EC: Limit burst to 64 bit
https://bugzilla.kernel.org/attachment.cgi?id=25962
Justin P. Mattock
--
| Apr 19, 2:36 pm 2010 |
| Justin P. Mattock | Re: MacBookPro2,2 unable too boot with the latest HEAD
I don't know.. maybe backwards thinking(me lefthanded people
cool..
Justin P. Mattock
--
| Apr 19, 3:09 pm 2010 |
| Thomas Backlund | Re: MacBookPro2,2 unable too boot with the latest HEAD
It's already in Linus tree, commit 2060c44576c79086ff24718878d7edaa7384a985
--
Thomas
--
| Apr 19, 3:02 pm 2010 |
| Dmitry Torokhov | Re: [PATCH 1/2] input: Add support of Synaptics Clickpad ...
Hi Takashi,
Instead of looking at the product id, can we check the number of
supported extended capabilities queries and act accordingly, like the
patch below?
Thanks.
--
Dmitry
Input: Add support of Synaptics Clickpad device
From: Takashi Iwai <tiwai@suse.de>
The new type of touchpads can be detected via a new query command 0x0c.
The clickpad flags are in cap[0]:4 and cap[1]:0 bits.
When the device is detected, the driver now reports only the left
button as the supported ...
| Apr 19, 1:32 am 2010 |
| Takashi Iwai | Re: [PATCH 1/2] input: Add support of Synaptics Clickpad ...
Hi Dmitry,
At Mon, 19 Apr 2010 01:32:22 -0700,
Here missing a newline, BTW.
thanks,
Takashi
--
| Apr 19, 3:29 am 2010 |
| Takashi Iwai | Re: [PATCH 2/2] input: Add LED support to Synaptics device
At Fri, 16 Apr 2010 10:00:20 +0200,
The revised patch with an addition of LED_TOUCHPAD is below.
thanks,
Takashi
===
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] input: Add LED support to Synaptics device
The new Synaptics devices have an LED on the top-left corner.
This is controlled via the command 0x0a with parameters 0x88 or 0x10.
The detection of the LED isn't clear yet. It should have been the new
capability bits that indicate the presence, but on real machines, ...
| Apr 19, 3:44 am 2010 |
| rd bairva | Re: Dmaengine query
Hi Dan,
My DMA controller supports device to device DMA transfers and we
need it in some of our drivers. Existing DMA engine framework doesn't
have support for device to device transfers.
Do you have any plans for device to device support in DMA engine?
Can you suggest me some other suggestion for doing this?
Regards
Ramdayal
--
| Apr 19, 3:26 am 2010 |
| Wolfram Sang | Re: Phylib polling when doing mdio_read will cause syste ...
Can't help with the details, but the patch seems to help here, too
(and not only because of the removed printk ;)).
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
| Apr 19, 12:21 am 2010 |
| Salman Qazi | Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping
I think I can see your point: there is potentially better information
about the power consumption of the CPU beyond the time it was busy.
But please clarify: is your complaint the lack of use of this
information or are you arguing for a deeper integration into the
scheduler (I.e. implementing it as part of the scheduler rather than
--
| Apr 19, 10:20 am 2010 |
| Peter Zijlstra | Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping
Right, so the IBM folks who were looking at power aware scheduling were
working on an interface to quantify the amount of power to save.
But their approach, was an extension of the regular power aware
load-balancer, which basically groups tasks onto sockets so that whole
sockets can go idle.
However Arjan explained to me that your approach, which idles the whole
machine, has the advantage that also memory banks can go into idle mode
and save power.
Still in the interest to cut back on ...
| Apr 19, 12:01 pm 2010 |
| Peter Zijlstra | Re: [REGRESSION 2.6.30][PATCH v3] sched: update load cou ...
To clarify, when I wrote that your patch was still below.. ;-)
--
| Apr 19, 11:56 am 2010 |
| Peter Zijlstra | Re: [REGRESSION 2.6.30][PATCH v3] sched: update load cou ...
OK, so what you're saying is that because we update calc_load_tasks from
entering idle, we decrease earlier than a regular 10 tick sample
interval would?
Hence you batch these early updates into _deferred and let the next 10
tick sample roll them over?
So the only early updates can come from
pick_next_task_idle()->calc_load_account_active(), so why not specialize
that callchain instead of the below?
Also, since its all NO_HZ, why not stick this in with the ILB? Once
people get around to ...
| Apr 19, 11:52 am 2010 |
| Chase Douglas | Re: [REGRESSION 2.6.30][PATCH v3] sched: update load cou ...
I understand everything until you move the calc_load_account_active
call to run_rebalance_domains. I take it that when CPUs go NO_HZ idle,
at least one cpu is left to monitor and perform updates as necessary.
Conceptually, it makes sense that this cpu should be handling the load
accounting updates. However, I'm new to this code, so I'm having a
hard time understanding all the cases and timings for when the
scheduler softirq is called. Is it guaranteed to be called during
every 10 tick load ...
| Apr 19, 1:16 pm 2010 |
| Peter Zijlstra | Re: [REGRESSION 2.6.30][PATCH v3] sched: update load cou ...
(stripped the ubuntu kernel-team list, since it is generating bounces
for each email)
Ah, I overlooked that trigger_load_balance() already has a jiffy delay.
I was ass-uming we triggered the softirq on each tick.
Yes, that needs a bit of a fix to get called at least every 10 ticks,
Right, so I didn't look too closely either, but was more or less going
for the structure than the details. I haven't read through the ILB stuff
current cpu is idle_at_tick, if not it will nominate another cpu ...
| Apr 19, 1:52 pm 2010 |
| Chase Douglas | Re: [REGRESSION 2.6.30][PATCH v3] sched: update load cou ...
I really don't feel comfortable with this code to know how to
implement either of these approaches myself. I have no issue how the
fix is implemented. However, I worry that using the ILB code may be
complex and/or require many little checks to ensure there are no
improper interactions. Will we be sure that further changes to the ILB
won't introduce new issues? In the end, what do we gain by using the
ILB, and is it worth it to introduce that complexity?
-- Chase
--
| Apr 19, 2:17 pm 2010 |
| Andrew Morton | Re: high iowait problem(Bug 12309 on bugzilla.kernel.org)
On Thu, 15 Apr 2010 00:58:05 -0500
Can you go through and revert them individually please?
--
| Apr 19, 2:31 pm 2010 |
| Stephane Eranian | Re: [PATCH 11/12] perf, x86: implement AMD IBS event con ...
Comments below:
What is the problem with directly using the period here, rejecting
I think you could define EVENT_IBS_CONSTRAINT() and shorten
the definitions here. You could pass FETCH or OP and the macro
would do the bit shifting. This is how it's done for fixed counters on Intel.
--
| Apr 19, 6:46 am 2010 |
| Robert Richter | Re: [PATCH 10/12] perf, x86: setup NMI handler for IBS
Peter,
please see my updated version below.
-Robert
---
From bcb2c4aec6bf09fc7c05f31dde9dacd57b9c679c Mon Sep 17 00:00:00 2001
From: Robert Richter <robert.richter@amd.com>
Date: Mon, 19 Apr 2010 15:32:37 +0200
Subject: [PATCH] perf, x86: setup NMI handler for IBS
This implements the perf nmi handler for ibs interrupts. The code was
copied from oprofile and should be merged somewhen.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/kernel/cpu/perf_event.c ...
| Apr 19, 9:04 am 2010 |
| Stephane Eranian | Re: [PATCH 12/12] perf, x86: implement the ibs interrupt ...
Robert,
Some comments below.
If you have both regular counter intr + IBS you will double-count
apic_perf_irqs.
I would do: if (handled2 && !handled) inc_irq_stat().
--
| Apr 19, 5:19 am 2010 |
| Mel Gorman | Re: [PATCH 3/6] change alloc function in alloc_slab_page
There should be a comment clarifing it now. I admit the naming fault is
mine. At the time, the intended meaning was "allocate pages from any node in
the fallback list and the caller knows exactly which node to start from". I
did not take into account that the meaning of "exact" depends on context.
With a comment clarifying the meaning, I do not think a rename is necessary.
However, I'd rather not see a mass renaming of functions like alloc_pages()
that have existed a long times. If nothing ...
| Apr 19, 2:05 am 2010 |
| Minchan Kim | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Hi, Tejun.
Let's tidy my table.
I made quick patch to show the concept with one example of pci-dma.
(Sorry but I attach patch since web gmail's mangling.)
On UMA, we can change alloc_pages with
alloc_pages_exact_node(numa_node_id(),....)
(Actually, the patch is already merged mmotm)
on NUMA, alloc_pages is some different meaning, so I don't want to change it.
on NUMA, alloc_pages_node means _ANY_NODE_.
So let's remove nid argument and change naming with alloc_pages_any_node.
Then, ...
| Apr 18, 5:03 pm 2010 |
| Christoph Lameter | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Its not awkward but an optimization. The page can be placed on any node
but the user would prefer a certain node. Most of the NUMA things are
there for optimization purposes and not for correctness. If you must have
an allocation on certain nodes for correctness (like SLAB) then
Its not clear to me that this renaming etc helps. You
must use GFP_THISNODE if allocation must occur from a certain node.
alloc_pages_exact_node results in more confusion because it does suggest
that fallback to other ...
| Apr 19, 10:38 am 2010 |
| Christoph Lameter | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
UMA does not have the concept of nodes. Whatever node you specify is
It means allocate on the indicated node if possible. Memory could come
This is very confusing. Because it is
alloc_pages_numa_node_id()
alloca_pages_any_node suggests that the kernel randomly picks a node?
| Apr 19, 10:45 am 2010 |
| Tejun Heo | Re: [PATCH 2/6] change alloc function in pcpu_alloc_pages
Hello, Christoph.
I can't see why alloc_pages_exact_node() exists at all. It's in the
mainline and if you look at the difference between alloc_pages_node()
and alloc_pages_exact_node(), it's almost silly. :-(
--
tejun
--
| Apr 19, 3:27 pm 2010 |
| Andy Lutomirski | Re: Low-Level and Long-Term Battery Control
On ThinkPads, tp_smapi (not in the kernel.org kernel) can do it. I'd
like to see this feature standardized in sysfs.
--Andy
--
| Apr 18, 9:31 pm 2010 |
| Daisuke Nishimura | Re: [RFC][BUGFIX][PATCH 2/2] memcg: fix file mapped unde ...
Hmm, before going further, will you explain why we need a new PCG_MIGRATION flag ?
What's the problem of v2 ?
Thanks,
Daisuke Nishimura.
--
| Apr 18, 8:42 pm 2010 |
| KAMEZAWA Hiroyuki | Re: [RFC][BUGFIX][PATCH 2/2] memcg: fix file mapped unde ...
On Mon, 19 Apr 2010 12:42:25 +0900
v2 can't handle migration-failure case of freed swapcache and the used page
was swapped-out case. I think.
All "page" in following is ANON.
mem_cgroup_prepare_migration()
charge against new page.
try_to_unmap()
-> mapcount goes down to 0.
-> an old page is unchaged
move_to_new_page()
-> may fail. (in some case.) ----(*1)
remap the old page to pte.
...
| Apr 18, 9:18 pm 2010 |
| Daisuke Nishimura | Re: [RFC][BUGFIX][PATCH 2/2] memcg: fix file mapped unde ...
Thank you for explaining in detail.
Anyway, I agree that current implementation is complicated and there might be
some cases we are missing. MIGRATION flag can make it simpler.
I have one concern for now. Reading the patch, the flag have influence on
only anonymous pages, so we'd better to note it and I feel it strange to
set(and clear) the flag of "old page" always(iow, even when !PageAnon)
in prepare_migration.
Thanks,
Daisuke Nishimura.
--
| Apr 19, 1:07 am 2010 |
| KAMEZAWA Hiroyuki | Re: [RFC][BUGFIX][PATCH 2/2] memcg: fix file mapped unde ...
On Mon, 19 Apr 2010 17:07:01 +0900
v2 doesn't charge. That was the bug.
"may hit OOM" is an explanation for why current implementation is used.
Hmm...Checking "Only Anon" is simpler ? It will have no meanings for migrating
file caches, but it may have some meanings for easy debugging.
I think "mark it always but it's used only for anonymous page" is reasonable
(if it causes no bug.)
Thanks,
-Kame
--
| Apr 19, 1:26 am 2010 |
| Nick Piggin | Re: [PATCH 1/2] mm: add context argument to shrinker callback
Why do you even need this context argument? Reclaim is not doing anything
smart about this, it would just call each call shrinker in turn.
Do you not have an easily traversable list of mountpoints? Can you just
make a list of them? It would be cheaper than putting a whole shrinker
structure into them anyway.
The main reason I would be against proliferation of dynamic shrinker
registration would be that it could change reclaim behaviour depending
on how they get ordered (in the cache the ...
| Apr 19, 7:00 am 2010 |
| Dave Chinner | Re: [PATCH] mm: disallow direct reclaim page writeback
Yes, I think that was introduced in 2.6.16/17, so it's definitely in
Realistically, I'm concerned about preventing the worst case
behaviour from occurring - making the background writes more
agressive without preventing writeback in LRU order simply means it
will be harder to test the VM corner case that triggers these
writeout patterns...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| Apr 18, 6:08 pm 2010 |
| Dave Chinner | Re: [PATCH] mm: disallow direct reclaim page writeback
I think that part of the problem is that at roughly the same time
writeback started on a long down hill slide as well, and we've
really only fixed that in the last couple of kernel releases. Also,
it tends to take more that just writing a few large files to invoke
the LRU-based writeback code is it is generally not invoked in
filesystem "performance" testing. Hence my bet is on the fact that
the effects of LRU-based writeback are rarely noticed in common
testing.
IOWs, low memory testing is ...
| Apr 18, 5:35 pm 2010 |
| Arjan van de Ven | Re: [PATCH] mm: disallow direct reclaim page writeback
On Mon, 19 Apr 2010 10:35:56 +1000
Would this also be the time where we started real dirty accounting, and
started playing with the dirty page thresholds?
Background writeback is that interesting tradeoff between writing out
to make the VM easier (and the data safe) and the chance of someone
either rewriting the same data (as benchmarks do regularly... not sure
about real workloads) or deleting the temporary file.
Maybe we need to do the background dirty writes a bit more ...
| Apr 18, 5:49 pm 2010 |
| tytso | Re: [PATCH] mm: disallow direct reclaim page writeback
I'd personally hope that this is solved long before the LSF/VM
workshops.... but if not, yes, we should definitely tackle it then.
- Ted
--
| Apr 18, 8:08 pm 2010 |
| Arjan van de Ven | Re: [PATCH] mm: disallow direct reclaim page writeback
On Mon, 19 Apr 2010 11:08:05 +1000
while I appreciate that the worst case should not be uber horrific...
I care a LOT about getting the normal case right... and am willing to
sacrifice the worst case for that.. (obviously not to infinity, it
needs to be bounded)
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Apr 18, 9:32 pm 2010 |
| Mel Gorman | Re: [PATCH] mm: disallow direct reclaim page writeback
Bah, Johannes corrected my literal mind. har de har har :)
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| Apr 19, 8:15 am 2010 |
| Mel Gorman | Re: [PATCH] mm: disallow direct reclaim page writeback
One machine has completed the test and the results are as expected. When
allocating huge pages under stress, your patch drops the success rates
significantly. On X86-64, it showed
STRESS-HIGHALLOC
stress-highalloc stress-highalloc
enable-directreclaim disable-directreclaim
Under Load 1 89.00 ( 0.00) 73.00 (-16.00)
Under Load 2 90.00 ( 0.00) 85.00 (-5.00)
At Rest 90.00 ( 0.00) 90.00 ( 0.00)
So with direct reclaim, it gets 89% of memory as ...
| Apr 19, 8:20 am 2010 |
| Minchan Kim | Re: vmalloc performance
Of course. It's not formal patch but for showing concept . :)
Thanks for consuming precious your time. :)
As Nick comments, I have to do further work.
Maybe Nick could do it faster than me.
Anyway, I hope it can solve your problem.
--
Kind regards,
Minchan Kim
--
| Apr 19, 7:12 am 2010 |
| Minchan Kim | Re: vmalloc performance
Firstly, I considered it which is used by mmap.
But I thought it might be overkill since vmalloc space isn't large
compared to mmaped addresses.
Good. I will add your requirements to TODO list.
But don't wait me. If you care to have a go, RUN!!!
I am looking forward to seeing your awesome patches. :)
Thanks for careful review, Nick.
--
Kind regards,
Minchan Kim
--
| Apr 19, 7:09 am 2010 |
| Nick Piggin | Re: vmalloc performance
Thanks, yep something like this is what I had in mind. Looks like you
I think I would prefer to be a little smarter about using lower
addresses first. I know the lazy TLB flushing works against this, but
that is an important speed tradeoff, wheras there is not really any
downside to trying hard to allocate low areas first. Keeping virtual
addresses dense helps with locality of reference of page tables, for
one.
So I would like to see:
- invalidating the cache in the case of vstart being ...
| Apr 19, 6:38 am 2010 |
| Steven Whitehouse | Re: vmalloc performance
Hi,
My results with this patch are:
vmalloc took 5419238 us
vmalloc took 5432874 us
vmalloc took 5425568 us
vmalloc took 5423867 us
So thats about a third of the time it took with my original patch, so
very much going in the right direction :-)
I did get a compile warning:
CC mm/vmalloc.o
mm/vmalloc.c: In function ‘__free_vmap_area’:
mm/vmalloc.c:454: warning: unused variable ‘prev’
....harmless, but it should be fixed before the final version,
Steve.
--
| Apr 19, 5:58 am 2010 |
| Steven Rostedt | Re: [PATCH] Fix inappropriate substraction on tracing_pa ...
I'm not maintaining a 2.6.27 kernel, but if someone else is, then feel
free to include this.
-- Steve
--
| Apr 19, 7:11 am 2010 |
| James Simmons | Re: [PATCH] vga16fb, drm: vga16fb->drm handoff
Not portable. Please use fb_is_primary_device(info) instead. It will also
make your code cleaner.
--
| Apr 19, 9:20 am 2010 |
| Zhang, Xiantao | RE: VM performance issue in KVM guests.
Gang-scheduling maybe the ideal solution to solve the issue, and has to change host's scheduler a lot to implement it, and it maybe hard to be upstream. So can we figure out an easy way(maybe not best) for this ?
Xiantao
--
| Apr 18, 6:32 pm 2010 |
| Jesse Barnes | Re: [RFC] Try a bit harder to get output on the screen a ...
On Fri, 9 Apr 2010 15:10:50 -0700
Linus, did you get a chance to try these at all? They're small, and if
they work for you I thought maybe they had a chance to get into 2.6.34.
Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
| Apr 19, 3:05 pm 2010 |
| Peter Zijlstra | Re: [PATCH 1/5] sched: fix capacity calculations for SMT4
That's the sort of thing you can use arch_scale_smt_power() for. But be
weary to not fall into the same trap I did with x86, where I confused
actual gain with capacity (When idle the actual gain is 0, but the
capacity is not).
--
| Apr 19, 7:49 am 2010 |
| Michael Neuling | Re: [PATCH 1/5] sched: fix capacity calculations for SMT4
Oops, yes of course :-)
Let me know if/when you come up this solution or if I can help.
Mikey
--
| Apr 19, 1:45 pm 2010 |
| Peter Zijlstra | Re: [PATCH 06/13] mm: Preemptible mmu_gather
[ patch to do very long queues ]
One thing that comes from having preemptible mmu_gather, and esp. when
we allow such very long gathers, is that we can potentially have a very
large amount of pages stuck on these lists.
So we'd need to hook into reclaim somehow to allow flushing of them when
we're falling short.
--
| Apr 19, 12:16 pm 2010 |
| Dave Chinner | Re: endless sync on bdi_sched_wait()? 2.6.33.1
So Jen's writeback tracing shows this for a normal cycle during a
large dd:
<...>-6030 [005] 604446.696454: writeback_sched: work=38c0, task=task
flush-253:16-6029 [002] 604446.696492: writeback_exec: work=38c0 pages=9223372036854775807, sb=0, kupdate=0, range_cyclic=-1 for_background=-1
flush-253:16-6029 [002] 604446.696493: writeback_clear: work=ffff88011f1a38c0, refs=1
flush-253:16-6029 [003] 604446.784240: writeback_pages_written: 1024
There were 100 of these ...
| Apr 18, 6:37 pm 2010 |
| Dave Chinner | Re: endless sync on bdi_sched_wait()? 2.6.33.1
This is food for thought. On XFS, the only difference between sync
and freeze is that freeze stops incoming writers:
$ dd if=/dev/zero of=/mnt/scratch/test bs=1024k count=8000 &
[1] 2565
$ sleep 5; time (sudo xfs_freeze -f /mnt/scratch ; sudo xfs_freeze -u /mnt/scratch)
real 0m2.536s
user 0m0.000s
sys 0m0.020s
$ sleep 5; time (sudo xfs_freeze -f /mnt/scratch ; sudo xfs_freeze -u /mnt/scratch)
real 0m2.251s
user 0m0.004s
sys 0m0.012s
$ sleep 5; time (sudo xfs_freeze ...
| Apr 19, 12:23 am 2010 |
| Lennart Sorensen | Re: Can we remove the Zone_DMA?
I have a 486 still running just fine with ISA (and VLB) only. Also LPC
is in fact ISA and is found in almost all modern PCs. Some even still
have parallel ports which I believe can do DMA, and they certainly could
Yeah that's still around too.
--
Len Sorensen
--
| Apr 19, 6:44 am 2010 |
| Will Deacon | Re: [Kgdb-bugreport] [PATCH 4/5] kgdb: Use atomic operat ...
As Dmitry pointed out here:
http://lkml.org/lkml/2010/4/8/214
This bit of code looks broken, especially since the comment has been left
alone by the patch. I think commit ae6bf53e should be reverted because
semantically all it does is remove the smp_wmb() above.
Please let me know what you think,
Will
--
| Apr 19, 8:21 am 2010 |
| Xin, Xiaohui | RE: [RFC][PATCH v2 0/3] Provide a zero-copy method on KV ...
Ok. What we have thought about now is to do something with skb_reserve().
--
| Apr 19, 3:05 am 2010 |
| Michael S. Tsirkin | Apr 19, 3:21 am 2010 | |
| Michal Hocko | Re: commit 9630bdd9 changes behavior of the poweroff - bug?
Are there any debug options I can turn on to provide some information?
Btw. what exactly does this mean? In what state is the laptop while it
is turned off and GPE is enabled?
--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
| Apr 19, 4:59 am 2010 |
| Rafael J. Wysocki | Re: commit 9630bdd9 changes behavior of the poweroff - bug?
We can only check what the kernel tells us before power off, but all that seems
If a GPE is enabled, then some part of the chipset has power provided so that
it can signal wakeup.
I'll look into it a bit more later today.
Thanks,
Rafael
--
| Apr 19, 8:19 am 2010 |
| Oleg Nesterov | Re: [PATCH v2 7/11] Uprobes Implementation
Srikar, sorry for delay...
Not sure I understand....
I meant, it is not safe to use next_thread(tsk) if tsk was already
Yes, but my point was, we probably need mb's on both sides. Of course,
this is only theoretical problem, but tracehook_report_clone() can read
current->utask == NULL before the result of copy_process()->list_add_tail()
Oh, I don't know. You are going to change this code anyway, I can't see
in advance.
I tried to read the next 8/11 patch, and I have a couple ...
| Apr 19, 12:31 pm 2010 |
| H. Peter Anvin | Re: [PATCH][RESEND] x86: Do not write to VGA memory spac ...
Hi Guenter,
I wanted to check where we are at... at the very least we should drop
messages issued before initialization when isVGA != 1.
Since serial ports require initialization, I really don't want to send
messages to the serial port before the port has been initialized, but
obviously it would be good to initialize earlyprintk as early as at all
possible.
-hpa
--
| Apr 19, 2:02 pm 2010 |
| Greg KH | Re: [stable] [PATCH] lockdep fix incorrect percpu usage
Ok, did a patch ever end up in Linus's tree for this that I can pull
into the -stable releases?
thanks,
greg k-h
--
| Apr 19, 11:29 am 2010 |
| Greg KH | Re: [stable] [PATCH] modules fix incorrect percpu usage
And I need to wait until it goes into Linus's tree before it can be
applied to the stable tree. This hasn't happened yet, right?
thanks,
greg k-h
--
| Apr 19, 11:28 am 2010 |
| Eric Anholt | Re: [RFC PATCH] drm/i915: Don't touch PORT_HOTPLUG_EN in ...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkvLn/sACgkQHUdvYGzw6vfWGQCglGH5/82Ca9T6fbxnbIT/ZElj
98AAn0+fXnPMdEB4v5OacPIVNYmblc+v
=yyJL
-----END PGP SIGNATURE-----
| Apr 18, 5:12 pm 2010 |
| Greg KH | Re: [stable] [PATCH 2.6.29.x - 2.6.31.1] module: fix __m ...
Ok, I'm totally confused now :(
What patch should I apply to a stable release, and which stable release?
thanks,
greg k-h
--
| Apr 19, 11:26 am 2010 |
| Serge E. Hallyn | Re: [PATCH 0/3] Taming execve, setuid, and LSMs
No responses for a month after this was sent. Really, thanks, I do
appreciate the work at another approach.
I'll be honest, I prefer option [1]. Though I think it's reasonable
to require privilege for prctl(PR_SET_NOSUID). Make it a separate
capability, and on most systems it should be safe to have a file
sitting in /bin with cap_set_nosuid+pe. If OTOH you know you have
legacy or poorly coded privileged programs which would not be safe
bc they don't verify that they have the needed privs, ...
| Apr 19, 10:26 am 2010 |
| Serge E. Hallyn | Re: [PATCH 0/3] Taming execve, setuid, and LSMs
Right, only to the UTS ns in which you live. See for instance
http://thread.gmane.org/gmane.linux.kernel.containers/15934 . It's
how we express for instance that root in a child user_namespace has
CAP_DAC_OVERRIDE over files in the container, but not over the host.
-serge
--
| Apr 19, 3:25 pm 2010 |
| Andrew Lutomirski | Re: [PATCH 0/3] Taming execve, setuid, and LSMs
Both approaches result in two kinds of exec: the normal kind that
respects setuid, file capabilities, and LSMs, and the restricted kind
that is supposed to be safe when programs have unshared namespaces and
other crazy things.
Eric's approach [1] adds a restricted kind of exec that ignores setuid
but still (AFAICT) respects file capabilities and LSM transitions. I
think this is a terrible idea for two reasons:
1. LSM transitions already scare me enough, and if anyone relies on
them ...
| Apr 19, 2:32 pm 2010 |
| Serge E. Hallyn | Re: [PATCH 0/3] Taming execve, setuid, and LSMs
hmm...
Absolutely these should not be ignored, and Eric didn't mean to ignore
I do not agree with deciding the admins are not competent to admin
their system and therefore we should bypass them and let users decide.
But it's moot, as I think you've convinced me with your point 1. above
Yes, but that's a reason to aim for targeted caps. Exec_nopriv or
Not sure what you mean by that last part - inside the sandbox, you won't
get capabilities, targeted or otherwise, but certainly ...
| Apr 19, 2:39 pm 2010 |
| Andrew Lutomirski | Re: [PATCH 0/3] Taming execve, setuid, and LSMs
Is a targeted cap something like "process A can call setdomainname,
Agreed.
What I want is a syscall that says "make me a sandbox" and then for
that program to be able to intercept and modify most (all?) syscalls
issued from inside the sandbox. But programs in the sandbox probably
need to call exec, and if the sandbox's owner can muck around with
exec'd programs, then exec had better have no security effect. Hence
a need for some kind of restricted exec. The sandbox owner would
then ...
| Apr 19, 3:02 pm 2010 |
| jassi brar | Re: [PATCH v2] PL330: Add PL330 DMA controller driver
As i said, I am working full time on it.
PL330 core and S3C DMA API driver is done and it'll be a day or two
before I am done testing them.
So, around this wednesday I plan to submit patches for PL330 core driver
and the S3C-DMA-API driver for S5P-6442, C1XX and V210
Once the PL330 core is accepted, we can freeze it's API and start work on
DMA engine API driver for it.
--
| Apr 18, 6:14 pm 2010 |
| Greg KH | Re: [Bugme-new] [Bug 15618] New: 2.6.18->2.6.32->2.6.33 ...
I have queued them all up for .33 and .32-stable kernel releases now.
thanks,
greg k-h
--
| Apr 19, 11:19 am 2010 |
| Christian Ehrhardt | Re: [RFC PATCH 0/3] Avoid the use of congestion_wait und ...
Sorry for replying that late, but after digging through another pile of tasks I'm happy to come back to this issue and I'll try to answer all open questions.
Fortunately I'm also able to add a few new insights that might resurrect this discussion^^
For the requested CFQ scheduler tuning, its deadline what is here :-)
So I can't apply all that. But in the past I was already able to show that all the "slowdown" occurs above the block device layer (read back through our threads if interessted about ...
| Apr 19, 5:22 am 2010 |
| Johannes Weiner | Re: [RFC PATCH 0/3] Avoid the use of congestion_wait und ...
Ok, so I am the idiot that got quoted on 'the active set is not too big, so
buffer heads are not a problem when avoiding to scan it' in eternal history.
But the threshold inactive/active ratio for skipping active file pages is
actually 1:1.
The easiest 'fix' is probably to change that ratio, 2:1 (or even 3:1?) appears
to be a bit more natural anyway? Below is a patch that changes it to 2:1.
Christian, can you check if it fixes your regression?
Additionally, we can always scan active file ...
| Apr 19, 2:44 pm 2010 |
| Greg KH | Re: [stable] [patch 114/123] dm ioctl: only issue uevent ...
Ok, it's now queued up, thanks for letting me know.
greg k-h
--
| Apr 19, 10:44 am 2010 |
| Lai Jiangshan | Re: INFO: suspicious rcu_dereference_check() usage - inc ...
Should be [tip:core/urgent]
Acked-by: Lai Jiangshan <laijs@cn.fujitsu.com>
--
| Apr 18, 8:45 pm 2010 |
| Eric Paris | Re: INFO: suspicious rcu_dereference_check() usage - in ...
So I'm back with another one even with this patch. Would people prefer
another thread?
[ 0.037175] ===================================================
[ 0.038003] [ INFO: suspicious rcu_dereference_check() usage. ]
[ 0.039003] ---------------------------------------------------
[ 0.040004] include/linux/cgroup.h:533 invoked rcu_dereference_check() without protection!
[ 0.041003]
[ 0.041004] other info that might help us debug this:
[ 0.041005]
[ 0.042004]
[ ...
| Apr 19, 11:26 am 2010 |
| Paul E. McKenney | Re: INFO: suspicious rcu_dereference_check() usage - inc ...
Yep, different code path to the same location. Does the following
patch help?
Thanx, Paul
------------------------------------------------------------------------
commit 2836f18139267ea918ed2cf39023fb0eb38c4361
Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Date: Mon Apr 19 15:59:50 2010 -0700
rcu: fix RCU lockdep splat on freezer_fork path
Add an RCU read-side critical section to suppress this false positive.
Located-by: Eric Paris ...
| Apr 19, 4:01 pm 2010 |
| kishore kadiyala | [PATCH v4] OMAP: Fix for bus width which improves SD car ...
From: Kishore Kadiyala <kishore.kadiyala@ti.com>
This patch improves low speeds for SD cards.
OMAP-MMC controller's can support maximum bus width of '8'.
when bus width is mentioned as "8" in controller data,the SD
stack will check whether bus width is "4" and if not it will
set bus width to "1" and there by degrading performance.
This patch fixes the issue and improves the performance of
SD cards.
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@ti.com>
Signed-off-by: Venkatraman S ...
| Apr 19, 8:36 am 2010 |
| kishore kadiyala | [PATCH v4] OMAP: Fix for bus width which improves SD car ...
The previous patch was Line wrapped , resending
correct patch.
NM, Sorry I miss spelled your name correcting this time.
Regards,
Kishore
From: Kishore Kadiyala <kishore.kadiyala@ti.com>
This patch improves low speeds for SD cards.
OMAP-MMC controller's can support maximum bus width of '8'.
when bus width is mentioned as "8" in controller data,the SD
stack will check whether bus width is "4" and if not it will
set bus width to "1" and there by degrading performance.
This patch fixes the ...
| Apr 19, 8:51 am 2010 |
| Matthew Garrett | Re: [RFC PATCH] use acpi_idle_enter_simple if bm_check & ...
Saves 40W or so on a dual-socket Nehalem system here. Is there a reason
it wasn't picked up?
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Apr 19, 10:47 am 2010 |
| Thomas Klein | [PATCH 2/2] ehea: fix possible DLPAR/mem deadlock
Force serialization of userspace-triggered DLPAR/mem operations
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
---
Patch created against 2.6.34-rc4
diff -Nurp linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h linux-2.6.34-rc4//drivers/net/ehea/ehea.h
--- linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h 2010-04-19 11:54:07.000000000 +0200
+++ linux-2.6.34-rc4//drivers/net/ehea/ehea.h 2010-04-19 12:00:14.000000000 +0200
@@ -40,7 +40,7 @@
#include <asm/io.h>
#define ...
| Apr 19, 5:08 am 2010 |
| previous day | today | next day |
|---|---|---|
| April 18, 2010 | April 19, 2010 | April 20, 2010 |
