On Thu, Aug 30, 2012 at 7:23 AM, Geanta Neag Horia Ioan-B05471
wrote:
>
> Besides these:
> 1. As Dan Williams mentioned, you should explain why you are using
> both spin_lock_bh and spin_lock_irqsave on the same lock.
It looks like talitos_process_pending() can be called from hardirq
context via
On Thu, Aug 30, 2012 at 11:18:26AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> Moving quiescent-state forcing into a kthread dispenses with the need
> for the ->n_rp_need_fqs field, so this commit removes it.
>
> Signed-off-by: Paul E. McKenney
Reviewed-by: Josh Triplett
>
This patch implements a userland-side API for generic deferrable timers,
per linux/timer.h:
* A deferrable timer will work normally when the system is busy, but
* will not cause a CPU to come out of idle just to service it; instead,
* the timer will be serviced when the CPU eventually wakes up
There is nothing hrtimer-specific inside the timerfd_tmrproc(), except
the function prototype. We're about to add other timer types, so factor
out generic timerfd_expire() helper from timerfd_tmrproc().
Signed-off-by: Anton Vorontsov
---
fs/timerfd.c | 8 ++--
1 file changed, 6 insertions(+)
This patch introduces timerfd_rearm(), this small helper is used to
forward and restart the hrtimer.
This small refactoring would be also useful if/when we'll add other
backend for timerfd (like deferrable timers), so we won't need to
duplicate the code more.
Signed-off-by: Anton Vorontsov
---
Two new functions: jiffies_to_ktime() and ktime_to_jiffies(), we'll use
them for timerfd deferred timers handling.
We fully reuse the logic from timespec implementations, so the functions
are pretty straightforward.
The only tricky part is in headers: we have to include jiffies.h after
we defined
Hi all,
This patch set implements a userland-side API for generic deferrable
timers, per linux/timer.h:
* A deferrable timer will work normally when the system is busy, but
* will not cause a CPU to come out of idle just to service it; instead,
* the timer will be serviced when the CPU eventua
于 2012年08月31日 22:02, Jeff Layton 写道:
> On Fri, 31 Aug 2012 13:40:16 +0800
> gchen wrote:
>
>> Hi linux-...@vger.kernel.org
>>
>> I have 1 question, and also 2 conclusions which need confirm.
>>
>>
>> 1) Question:
>>
>> Jeff Layton said in Red Hat Bugzilla (bug 848706):
>> "Have configuration where
On Thu, Aug 30, 2012 at 11:18:25AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> RCU quiescent-state forcing is currently carried out without preemption
> points, which can result in excessive latency spikes on large systems
> (many hundreds or thousands of CPUs). This patch ther
1) NLA_PUT* --> nla_put_* conversion got one case wrong in
nfnetlink_log, fix from Patrick McHardy.
2) Missed error return check in ipw2100 driver, from Julia Lawall.
3) PMTU updates in ipv4 were setting the expiry time incorrectly, fix
from Eric Dumazet.
4) SFC driver erroneously reverse
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-wm8350.c | 19 +--
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/drivers/gpio/gpio-wm8350.c b/drivers/gpio/gpio-wm8350.c
index a06af51..fb42938 100644
--- a/drivers/gpio/gpio-wm8350.c
+++ b/drivers/gpio/gpio-wm8350.c
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-wm831x.c | 19 +--
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio/gpio-wm831x.c
index e56a216..b6eda35 100644
--- a/drivers/gpio/gpio-wm831x.c
+++ b/drivers/gpio/gpio-wm831x.c
Dm-cache is a generic device mapper cache target developed by Dr. Ming
Zhao and his VISA research lab at Florida International University.
In collaboration with CloudVPS, a leading European cloud provider,
dm-cache is now deployed in the clouds. Free Linux VMs will be offered
to users who are inte
On Thu, Aug 30, 2012 at 11:18:23AM -0700, Paul E. McKenney wrote:
> From: Dimitri Sivanich
>
> The fields in the rcu_state structure that are protected by the
> root rcu_node structure's ->lock can share a cache line with the
> fields protected by ->onofflock. This can result in excessive
> memo
From: Alan Ott
Date: Sat, 1 Sep 2012 11:57:05 -0400
> v3 of this patch changes skb_copy() to skb_clone() in patch #1 at the
> recommendation of Eric Dumazet
>
> Alan Ott (2):
> 6lowpan: Make a copy of skb's delivered to 6lowpan
> 6lowpan: handle NETDEV_UNREGISTER event
All applied to net-n
On Sat, Sep 01, 2012 at 07:02:54PM +0200, Jean Delvare wrote:
> Hi Andrew, Guenter,
>
> On Fri, 31 Aug 2012 12:38:12 -0700, Andrew Morton wrote:
> > On Fri, 31 Aug 2012 08:02:19 -0700
> > Guenter Roeck wrote:
> >
> > > DIV_ROUND_CLOSEST returns a bad result for negative dividends:
> > > DIV_RO
On Thu, Aug 30, 2012 at 11:18:22AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> In kernels built with CONFIG_RCU_FAST_NO_HZ=y, CPUs can accumulate a
> large number of lazy callbacks, which as the name implies will be slow
> to be invoked. This can be a problem on small-memory sy
On Thu, Aug 30, 2012 at 11:18:21AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> Then rcu_gp_kthread() function is too large and furthermore needs to
> have the force_quiescent_state() code pulled in. This commit therefore
> breaks up rcu_gp_kthread() into rcu_gp_init() and rcu_g
On Thu, Aug 30, 2012 at 11:18:20AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> Earlier versions of RCU invoked the RCU core from the CPU_DYING notifier
> in order to note a quiescent state for the outgoing CPU. Because the
> CPU is marked "offline" during the execution of the C
On Thu, Aug 30, 2012 at 11:18:19AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> RCU grace-period cleanup is currently carried out with interrupts
> disabled, which can result in excessive latency spikes on large systems
> (many hundreds or thousands of CPUs). This patch therefor
On Thu, Aug 30, 2012 at 11:18:18AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> As a first step towards allowing grace-period cleanup to be preemptible,
> this commit moves the RCU grace-period cleanup into the same kthread
> that is now used to initialize grace periods. This is
On Thu, Aug 30, 2012 at 11:18:17AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> RCU grace-period initialization is currently carried out with interrupts
> disabled, which can result in 200-microsecond latency spikes on systems
> on which RCU has been configured for 4096 CPUs. Th
On Thu, Aug 30, 2012 at 11:18:16AM -0700, Paul E. McKenney wrote:
> From: "Paul E. McKenney"
>
> As the first step towards allowing grace-period initialization to be
> preemptible, this commit moves the RCU grace-period initialization
> into its own kthread. This is needed to keep large-system s
On Sat, 2012-09-01 at 20:35 +0530, devendra.aaru wrote:
> Hello,
> This is a very big patch. It will be difficult for reviewers to review.
Hello, this is a carelessly large reply quoting all 100K of
the original patch for your three sentences. Don't do that.
Thanks
--
To unsubscribe from this
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-adp5588.c | 14 +-
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c
index ae5d7f1..eeedad4 100644
--- a/drivers/gpio/gpio-adp5588.c
+++ b/drivers/gpio/gpio-adp5588.c
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-bt8xx.c |2 +-
drivers/gpio/gpio-sodaville.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c
index 92d555d..7d9d7cb 100644
--- a/drivers/gpio/gpio-bt8xx.c
+++ b/dr
I'd suspect it's something with the actual radix tree code, Ccing
linux-mm in case they know more.
On Mon, Aug 27, 2012 at 11:00:10AM -0400, Justin Piszcz wrote:
> Hi,
>
> Moving ~276GB of files (mainly large backups) and everything has
> seemed to lockup on the client moving data to the server,
Signed-off-by: Yann Cantin
---
drivers/input/misc/Kconfig | 22 ++
drivers/input/misc/Makefile |1 +
drivers/input/misc/ebeam.c | 750 +++
3 files changed, 773 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
diff --git a/drivers/inpu
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec "interactive solution" NP01Wi1 & NP01Wi2 for video-projectors.
There's others devices (includind re-branded ones) in the wild that
should be supported out
Signed-off-by: Yann Cantin
---
drivers/hid/hid-core.c |3 +++
drivers/hid/hid-ids.h |3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 8bf8a64..b4b0baf 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1907,6 +
The kernel summit is over, and most people have either returned or are
returning from San Diego.
Probably as a result of lots of maintainers having been away, it's
been pretty quiet - despite it being ten days (rather than the usual
week) since -rc3.
The statistics look a bit unusual, too, likely
bcm_init() does not have proper error handling of usb_register().
The patch implements one.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/staging/bcm/InterfaceInit.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(
Fix spelling in tmem.c:
Transcedent -> Transcendent
Signed-off-by: Marcus Karlsson
---
drivers/staging/zcache/tmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/zcache/tmem.c b/drivers/staging/zcache/tmem.c
index eaa9021..56c8e60 100644
--- a/drivers/stagi
2012/8/31 Borislav Petkov :
> On Fri, Aug 31, 2012 at 06:52:46AM -0300, Marcos Souza wrote:
>> Nothing is wrong with access /sys, but I thought there was another
>> way, like an API or something else.
>
> Ah, there's no API, AFAICT.
>
> Also, tools/power/cpupower/ uses sysfs too - you could reuse t
Error handling of parport_register_driver() in ppdev_init()
is broken because it deallocates all resources but still
returns zero.
Currently parport_register_driver() always succeeds.
Nevertheless it is worth to fix the issue.
Found by Linux Driver Verification project (linuxtesting.org).
Signed
On Sat, Sep 1, 2012 at 1:01 PM, Shentino wrote:
> On Sat, Sep 1, 2012 at 12:30 PM, Xin Tong wrote:
>> When a process is created in Linux, corresponding page table is
>> implemented. In the current x86 linux, the page table is a multi-level
>> page table and CR3 points to the first level of the pa
Hi,
Looks good though if you call ntfs_truncate() rather than ntfs_truncate_vfs()
you can use it to return an error code in the case that ntfs_truncate() fails.
That could be done as a separate patch of course.
You can add my Reviewed-by: or Signed-off-by: to this patch.
Best regards,
On Sat, Sep 1, 2012 at 12:30 PM, Xin Tong wrote:
> When a process is created in Linux, corresponding page table is
> implemented. In the current x86 linux, the page table is a multi-level
> page table and CR3 points to the first level of the page table. I
> have 2 questions.
>
> 1. is the value i
I'v also post question here
http://serverfault.com/questions/423565/western-digital-caviar-black-ext4-fs-error
On Sat, Sep 1, 2012 at 11:48 PM, Azat Khuzhin wrote:
> Recently I update my HDD on desktop machine, and bought WD Caviar Black.
> But after I format & copy information to it (using dd),
If register_virtio_driver() fails, virtio-ports class is not destroyed.
The patch adds error handling of register_virtio_driver().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/char/virtio_console.c | 12 +++-
1 file chang
Recently I update my HDD on desktop machine, and bought WD Caviar Black.
But after I format & copy information to it (using dd), and fix
partitions size: I have next errors in kern.log:
Aug 28 01:49:03 home-spb kernel: [183245.030897] EXT4-fs error (device
sdc2): ext4_mb_generate_buddy:739: group
Most MT drivers perform the same actions on frame synchronization.
Some actions, like dropping unseen contacts, are also unnecessarily
complex. Collect common frame synchronization tasks in a new function,
input_mt_sync_frame(). Depending on the flags set, it drops unseen
contacts and performs poin
By sending a full frame of events at the same time, the irqsoff
latency at heavy load is brought down from 200 us to 100 us.
Signed-off-by: Henrik Rydberg
---
drivers/input/evdev.c | 68 +++
1 file changed, 47 insertions(+), 21 deletions(-)
diff -
On heavy event loads, such as a multitouch driver, the irqsoff latency
can be as high as 250 us. By accumulating a frame worth of data
before passing it on, the latency can be dramatically reduced. As a
side effect, the special EV_SYN handling can be removed, since the
frame is now atomic.
This
With the INPUT_MT_TRACK flag set, the function input_mt_assign_slots()
can be used to match a new set of contacts against the currently used
slots. The algorithm used is based on Lagrange relaxation, and performs
very well in practice; slower than mtdev for a few corner cases, but
faster in most co
Some devices use an internal key for tracking which cannot be directly
mapped to slots. This patch provides a key-to-slot mapping, which can
be used by drivers of such devices.
Signed-off-by: Henrik Rydberg
---
drivers/input/input-mt.c | 32
include/linux/input/m
The logical scale was previously used to produce special width values
to userspace, and its only present use is to put "pressure" hysteresis
on a common scale. However, bcm5974 trackpads are very accurate and
work well without hysteresis.
This patch simplifies the driver and device data by removin
Going through the motions of printing the debug message information
takes a long time; using the keyboard can lead to a 160 us irqsoff
latency. This patch skips hid_dump_input() when there are no open
handles, which brings latency down to 100 us.
Signed-off-by: Henrik Rydberg
---
drivers/hid/hid
Move all MT-related things to a separate place. This saves some
bytes for non-mt input devices, and prepares for new MT features.
Signed-off-by: Henrik Rydberg
---
drivers/input/evdev.c| 10 ++
drivers/input/input-mt.c | 47 +++
drivers/inp
The events-per-packet estimate has so far been used by MT devices
only. This patch adjusts the packet buffer size to also accomodate the
KEY and MSC events. Keyboards normally send one or two keys at a
time. MT devices normally send a number of button keys along with the
MT information. The buffe
Hi Dmitry, Jiri,
Here is the third version of the patchset for 3.7. I think we are
getting close. Changes in short:
Patch 2: Folded the size estimate removal into this patch, since the
other estimates are still needed for MT-A devices.
Patch 5: Reworked to handle SYN_MT events the 'old' way.
Pat
Preparing to split event filtering and event passing, move the
autorepeat function to the point where the event is actually passed.
Signed-off-by: Henrik Rydberg
---
drivers/input/input.c | 46 +-
1 file changed, 25 insertions(+), 21 deletions(-)
diff
With the input_mt_sync_frame() function in place, there is no longer
any need to keep the full touch state in the driver. This patch
removes the slot state and replaces the lookup code with the input-mt
equivalent.
Cc: Benjamin Tissoires
Signed-off-by: Henrik Rydberg
---
drivers/hid/hid-multito
Some devices report the number of contacts via the CONTACTCOUNT usage,
rather than using the CONTACTMAX feature. Without this patch, such
devices will be capped to ten fingers, the default maximum. Fixes a
long-standing regression on 3M and similar panels.
Cc: Benjamin Tissoires
Signed-off-by: He
A hid device may create several input devices, and a driver may need
to prepare or finalize the configuration per input device. Currently,
there is no sane way for a driver to know when a device has been
configured. This patch adds a callback providing that information.
Signed-off-by: Henrik Rydbe
With the input_configured() callback in place, the setup and frame
synchronization can be simplified. The input device initialization is
moved to mt_input_configured(), to make sure the full HID report has been
seen.
Cc: Benjamin Tissoires
Signed-off-by: Henrik Rydberg
---
drivers/hid/hid-multi
Use of the in-kernel tracking code to convert the driver to MT-B.
With ten fingers on the pad, the in-kernel tracking adds approximately
25 us to the maximum irqsoff latency. Under normal workloads, however,
the tracking has no measurable effect.
Signed-off-by: Henrik Rydberg
---
drivers/input/
The ABS_PRESSURE and ABS_WIDTH have special scales, and were initially
added solely for thumb and palm recognition in the synaptics driver.
This never really get used, however, and userspace quickly moved to
MT solutions instead. This patch drops the unused events.
Signed-off-by: Henrik Rydberg
-
Rename touch properties to match established nomenclature, and define
the maximum number of fingers.
Signed-off-by: Henrik Rydberg
---
drivers/input/mouse/bcm5974.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/drivers/input/mouse/bcm5974.c b/dri
The early generations with this trackpad used the separate mouse
interface to produce button events. With the introduction of the
button pads, this information was moved to the trackpad interface,
leaving the mouse interface unused. The driver is still setting up
both interfaces, which has not caus
Preparing to move more repeated code into the mt core, add a flags
argument to the input_mt_slots_init() function.
Signed-off-by: Henrik Rydberg
---
drivers/hid/hid-magicmouse.c | 2 +-
drivers/hid/hid-multitouch.c | 2 +-
drivers/input/input-mt.c | 4 +++-
For some EV_KEY types, sending a larger-than-one value causes the
input state to oscillate. This patch makes sure this cannot happen,
clearing up the autorepeat bypass logic in the process.
Signed-off-by: Henrik Rydberg
---
drivers/input/input.c | 20 +---
1 file changed, 13 inse
When a process is created in Linux, corresponding page table is
implemented. In the current x86 linux, the page table is a multi-level
page table and CR3 points to the first level of the page table. I
have 2 questions.
1. is the value in CR3 virtual address or physical address ?
2. can the addres
On Fri, Aug 31, 2012 at 2:52 PM, Mathieu Poirier
wrote:
> On 12-08-30 05:01 PM, Dmitry Torokhov wrote:
>> Hi Matthieu,
>>
>> On Thu, Aug 30, 2012 at 04:30:54PM -0600, mathieu.poir...@linaro.org wrote:
>>> From: "Mathieu J. Poirier"
>>>
>>> This patch adds keyreset functionality to the sysrq drive
And this pointer helps other workers know the progress of idle-rebinding.
when gcwq->idle_rebind is not NULL, it means the idle-rebinding is still
in progress.
and idle_worker_rebind() is split.
Signed-off-by: Lai Jiangshan
---
kernel/workqueue.c | 67 ++---
Currently is single pass, we can wait on idle_done instead wait on rebind_hold.
So we can remove rebind_hold and make the code simpler.
Signed-off-by: Lai Jiangshan
---
kernel/workqueue.c | 35 +++
1 files changed, 11 insertions(+), 24 deletions(-)
diff --git a
WORKER_REBIND is not used for other purpose,
idle_worker_rebind() can directly clear it.
Signed-off-by: Lai Jiangshan
---
kernel/workqueue.c | 13 ++---
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 55864d1..9466d91 100644
busy_worker_rebind_fn() can't return until all idle workers are rebound,
the code of busy_worker_rebind_fn() ensure this.
So we can change the order of the code of rebind_workers(),
and make it is a single pass to do the rebind_workers().
It makes the code much clean and better readability(still
If hotplug code grabbed the manager_mutex and worker_thread try to create
a worker, the manage_worker() will return false and worker_thread go to
process work items. Now, on the CPU, all workers are processing work items,
no idle_worker left/ready for managing. It breaks the concept of workqueue
an
Current idle_worker_rebind() has a bug.
idle_worker_rebind() path HOTPLUG path
online
rebind_workers()
wait_event(gcwq->rebind_hold)
woken up but no scheduled
By the help of @idle_rebind.ref_done, the life time of idle_rebind
is expanded enough and it can include the whole reference-time
of @rebind_hold, so we can move @rebind_hold from gcwq to idle_rebind.
Also we change it to completion instead. we need to ease the pain of
WORKER_REBIND.
Signed-off-
When hotplug happens, the plug code will also grab the manager_mutex,
it will break too_many_workers()'s assumption, and make too_many_workers()
ugly(kick the timer wrongly, no found bug).
To avoid assumption-coruption, we add the original POOL_MANAGING_WORKERS back.
Signed-off-by: Lai Jiangshan
busy_worker_rebind_fn() can't return until all idle workers are rebound.
This order is ensured by rebind_workers() currently.
We use synchronize_all_idles_rebound() to wait for all idle workers
to be rebound. this is an explicit way and it will ease the pain of
the rebind_workers().
The sleeping
The compiler may compile this code into TWO write/modify instructions.
worker->flags &= ~WORKER_UNBOUND;
worker->flags |= WORKER_REBIND;
so the other CPU may see the temporary of worker->flags which has
not WORKER_UNBOUND nor WORKER_REBIND, it will wrongly do local
Patch 1~4 fix possible bugs.
Patch 1 fix possible double-write bug
Patch 2,5,6 makes the waiting logic more clear
Patch 3,4 fix bugs from manage VS hotplug
Patch 7,8,9,10 explicit logic to wait in busy-work-rebind and make
rebind_workers()
single pass.
Change from V3.
A ne
On Sat, Sep 01, 2012 at 07:16:45PM +0200, Andi Kleen wrote:
> > I think that there should be a comment why the symbol needs to be
> > visible (just copy the reasoning from the changelog). Otherwise someone
> > might attempt to do a cleanup a few years later, noticing that there is
> > no assembler
> I think that there should be a comment why the symbol needs to be
> visible (just copy the reasoning from the changelog). Otherwise someone
> might attempt to do a cleanup a few years later, noticing that there is
> no assembler code calling get_random_int().
Ok. On hindsight maybe it's better t
Hi Andrew, Guenter,
On Fri, 31 Aug 2012 12:38:12 -0700, Andrew Morton wrote:
> On Fri, 31 Aug 2012 08:02:19 -0700
> Guenter Roeck wrote:
>
> > DIV_ROUND_CLOSEST returns a bad result for negative dividends:
> > DIV_ROUND_CLOSEST(-2, 2) = 0
> >
> > Most of the time this does not matter. Howev
This is a Chinese translated version of
Documentation/video4linux/v4l2-framework.txt
Signed-off-by: Fu Wei
---
Documentation/zh_CN/video4linux/v4l2-framework.txt | 983
1 file changed, 983 insertions(+)
create mode 100644 Documentation/zh_CN/video4linux/v4l2-framework.txt
From: Julia Lawall
devm free functions should not have to be explicitly used.
A semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
@@
(
* devm_kfree(...);
|
* devm_free_irq(...);
|
* devm_iounmap(...);
|
* devm_release_region(...);
|
* devm_release_mem_re
From: Julia Lawall
devm free functions should not have to be explicitly used.
A semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
@@
(
* devm_kfree(...);
|
* devm_free_irq(...);
|
* devm_iounmap(...);
|
* devm_release_region(...);
|
* devm_release_mem_re
From: Julia Lawall
devm free functions should not have to be explicitly used.
The only thing left that is useful in the function mpc5121_nfc_free is the
call to clk_disable, which is moved to the call sites.
This function also incorrectly called iounmap on devm_ioremap allocated
data.
Use devm
From: Julia Lawall
devm free functions should not have to be explicitly used.
A semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
//
@@
@@
(
* devm_kfree(...);
|
* devm_free_irq(...);
|
* devm_iounmap(...);
|
* devm_release_region(...);
|
* devm_release_mem_re
Drop frees of devm_ alloc'd data.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Before, it was impossible to remove a wpan device which had lowpan
attached to it.
Signed-off-by: Alan Ott
---
net/ieee802154/6lowpan.c | 44 +---
1 files changed, 37 insertions(+), 7 deletions(-)
diff --git a/net/ieee802154/6lowpan.c b/net/ieee802154/6
Since lowpan_process_data() modifies the skb (by calling skb_pull()), we
need our own copy so that it doesn't affect the data received by other
protcols (in this case, af_ieee802154).
Signed-off-by: Alan Ott
---
net/ieee802154/6lowpan.c |9 -
1 files changed, 8 insertions(+), 1 delet
v3 of this patch changes skb_copy() to skb_clone() in patch #1 at the
recommendation of Eric Dumazet
Alan Ott (2):
6lowpan: Make a copy of skb's delivered to 6lowpan
6lowpan: handle NETDEV_UNREGISTER event
net/ieee802154/6lowpan.c | 53 +++---
1 file
Dne 19.8.2012 04:56, Andi Kleen napsal(a):
> From: Andi Kleen
>
> The vsyscall code is compiled without LTO. This also includes
> its init function. The function which are called by it have
> to be visible, otherwise they could be optimized away
>
> Signed-off-by: Andi Kleen
> ---
> drivers/ch
Dne 19.8.2012 04:56, Andi Kleen napsal(a):
> From: Andi Kleen
>
> Mark 32bit dotraplinkage functions as __visible for LTO.
> 64bit already is using asmlinkage which includes it.
You can make it __visible on both 32bit and 64bit, the result is the same.
Michal
--
To unsubscribe from this list: s
I have a known-broken WD15EADS, which has the hilariously terrible
1000ms IO response time. Yes, that's the right number of zeros. I'm
using it as a convenient way to hunt down a general feeling of
unresponsiveness under disk load
In this case, the failing drive is mounted to /backup, and I'm co
Hi Tejun,
On 09/01/2012 09:05 AM, Tejun Heo wrote:
> On Fri, Aug 31, 2012 at 01:15:09PM +0800, Tao Ma wrote:
>> From: Tao Ma
>>
>> Currently, if the IO is throttled by io-throttle, the SA has no idea of
>
> What's SA?
system admin.
>
>> the situation and can't report it to the real application u
On Sat, Sep 01, 2012 at 06:32:29AM +0530, Vinod Koul wrote:
> On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote:
> > On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote:
> > > >> Yes, this was the problem. Since the SPI driver now depends on
> > > >> CONFIG_TI_EDMA for basic operation may be sel
Sep 1 14:14:53 kernel: [ 6.382864] [ cut here ]
Sep 1 14:14:53 kernel: [ 6.383018] WARNING: at block/genhd.c:1570
disk_clear_events+0xbf/0xd0()
Sep 1 14:14:53 kernel: [ 6.383018] Hardware name: CLE266-8235
Sep 1 14:14:53 kernel: [ 6.383018] Modules linked in: fuse a
Silas Boyd-Wickizer writes:
> Hello,
>
> This is the second version of the patches to fix races described in:
>
> https://groups.google.com/forum/?fromgroups#!topic/linux.kernel/iSUDr94Qehc
>
> The changes in this version are:
>
> * fix commit log typo;
> * prevent a race in via_cputemp_exi
On Fri, Aug 31, 2012 at 09:34:17AM +0200, Paul Rolland wrote:
> Hello,
>
> I've just found this error in my logs. It occured once so far, but I never
> got it before with 3.5.0, so I'm reporting it.
>
> [drm] capturing error event; look for more information
> in /debug/dri/0/i915_error_state
> i
Hi Roland,
On Wed, Aug 22, 2012 at 7:19 PM, Roland Stigge wrote:
> @@ -2016,6 +2030,8 @@ pl022_probe(struct amba_device *adev, co
> pl022->master_info = platform_info;
> pl022->adev = adev;
> pl022->vendor = id->data;
> + /* Point chipselects to allocated memory beyo
On Sat, Sep 1, 2012 at 11:44 AM, Axel Lin wrote:
> Signed-off-by: Axel Lin
Applied.
Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-in
On Sat, Sep 1, 2012 at 11:34 AM, Axel Lin wrote:
> Signed-off-by: Axel Lin
Applied.
Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-in
On Sat, Sep 1, 2012 at 8:11 AM, Axel Lin wrote:
> This driver can be built as a module, set the missing owner field of
> struct gpio_chip to prevent removal of modules exporting active GPIOs.
>
> Signed-off-by: Axel Lin
Applied.
Thanks,
Linus Walleij
--
To unsubscribe from this list: send the
Signed-off-by: Axel Lin
---
drivers/gpio/gpio-tps65912.c | 17 -
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c
index 79e66c0..99106d1 100644
--- a/drivers/gpio/gpio-tps65912.c
+++ b/drivers/gpio/gpio-tp
1 - 100 of 121 matches
Mail list logo