hmc6352: Add driver for the HMC6352 compass
Am Mittwoch, 16. Juni 2010 14:16:14 schrieb Alan Cox: + msleep(10); /* sending 0x41 cmd we need to wait for 7-10 milli seconds */ + ret = i2c_transfer(client->adapter, msg1, 1); + if (ret != 1) { + dev_warn(dev, "i2c read data cmd failed\n"); + return ret; ... 17 Jun 2010 12:18
oom: use same_thread_group instead comparing ->mm
On 06/16, KOSAKI Motohiro wrote: Now, oom are using "child->mm != p->mm" check to distinguish subthread. Heh. is it true??? I never undestood what oom_kill_process()->list_for_each_entry() is supposed to do. But It's incorrect. vfork() child also have the same ->mm. Yes. This patch change to use ... 16 Jun 2010 22:08
[PATCH] cred - synchronize rcu before releasing cred
hi, BZ 591015 - kernel BUG at kernel/cred.c:168 https://bugzilla.redhat.com/show_bug.cgi?id=591015 Above bugzilla reported bug during the releasing of old cred structure. There is reproducer attached to the bugzilla. The issue is caused by releasing old cred struct while other kernel path might be still ... 16 Jun 2010 08:51
linux-next: manual merge of the battery tree with the arm-current tree
On Tue, Jun 15, 2010 at 02:54:58PM +0800, Eric Miao wrote: On Tue, Jun 15, 2010 at 10:55 AM, Stephen Rothwell <sfr(a)canb.auug.org.au> wrote: Hi Anton, Today's linux-next merge of the battery tree got a conflict in drivers/power/z2_battery.c between commit 56b925fccc58cd43fc553a8302dbbdd440aef... 16 Jun 2010 08:51
[PATCH] MAINTAINERS: some Atmel drivers change maintainer
I take over the maintenance of SPI, USART, Ethernet and USB gadget drivers. Those drivers are found in Atmel microcontrollers, both AT32/AVR32 and AT91/ARM. Signed-off-by: Nicolas Ferre <nicolas.ferre(a)atmel.com> Acked-by: Haavard Skinnemoen <haavard.skinnemoen(a)atmel.com> --- MAINTAINERS | 10 +++++----- 1 f... 16 Jun 2010 08:51
[GIT PULL] OMAP DSS fixes for 2.6.35-rc4
Hi Linus, Please pull these two fixes for the OMAP framebuffer driver. Tomi The following changes since commit 67a3e12b05e055c0415c556a315a3d3eb637e29e: Linus Torvalds (1): Linux 2.6.35-rc1 are available in the git repository at: git://gitorious.org/linux-omap-dss2/linux.git for-linus ... 16 Jun 2010 08:51
[PATCH 4/9] oom: oom_kill_process() need to check p is unkillable
When oom_kill_allocating_task is enabled, an argument of oom_kill_process is not selected by select_bad_process(), but just out_of_memory() caller task. It mean the task can be unkillable. check it first. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kill.c | 11 +++++++++++ 1 f... 16 Jun 2010 07:45
[PATCH 6/9] oom: use same_thread_group instead comparing ->mm
Now, oom are using "child->mm != p->mm" check to distinguish subthread. But It's incorrect. vfork() child also have the same ->mm. This patch change to use same_thread_group() instead. Cc: Oleg Nesterov <oleg(a)redhat.com> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kill.c | 4... 16 Jun 2010 07:45
[PATCH 7/9] oom: unify CAP_SYS_RAWIO check into other superuser check
Now, CAP_SYS_RAWIO check is very strange. if the user have both CAP_SYS_ADMIN and CAP_SYS_RAWIO, points will makes 1/16. Superuser's 1/4 bonus worthness is quite a bit dubious, but considerable. However 1/16 is obviously insane. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kil... 16 Jun 2010 07:45
[PATCH 8/9] oom: cleanup has_intersects_mems_allowed()
Now has_intersects_mems_allowed() has own thread iterate logic, but it should use while_each_thread(). It slightly improve the code readability. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> --- mm/oom_kill.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git ... 16 Jun 2010 07:45