On Wed, Nov 14, 2012 at 05:07:37PM +0530, Kumar Amit Mehta wrote:
> Inspect the return value of put_user() and return -EFAULT on error.
>
> Signed-off-by: Kumar Amit Mehta
> ---
> drivers/staging/dgrp/dgrp_tty.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff
On 11/14/2012 08:15 AM, Stephan Mueller wrote:
I agree with the argument of correlation.
So, if the reduction of values with a known lack of entropy is of
interest, why not change the jiffies variable type too? There we know
that only the lower 32 bits are really relevant. Therefore, wouldn't
On Wed, Nov 14, 2012 at 12:12:01PM -0500, Richard Retanubun wrote:
> On 10/11/12 09:30 AM, Johan Hovold wrote:
> Hi Johan,
>
> > There was a reference-count fix for the probe error path that went in to
> > v3.5. Haven't read all the details on how you trigger your leak, but at
> > the face of it,
On Wed, Nov 14, 2012 at 04:59:21PM +0100, Benjamin Tissoires wrote:
> Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones)
> computed by the hardware itself. This value is global to the frame and is
> not specific to the multitouch protocol.
>
> Signed-off-by: Benjamin
Hi Henrik and all,
As I know, currently there is no synaptics RMI4 touchscreen driver in the
main tree. In order to support our customers effectively, is it able to merge
staging ste_rmi4 driver into the main kernel.org tree? If it is accepted, should
I send a patch for this change?
Any advice
On Thu, Nov 15, 2012 at 01:55:51AM +0900, Joonsoo Kim wrote:
> In current implementation, we used ARM-specific flag, that is,
> VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area.
> The purpose of static mapped area is to re-use static mapped area when
> entire physical
On Wed, Nov 14, 2012 at 07:19:43PM +0400, Cyrill Gorcunov wrote:
> We will need this helper in the next patch to
> provide a file handle for inotify marks in
> /proc/pid/fdinfo output.
>
> The patch is rather providing the way to use inodes
> directly when dentry is not available (like in case
>
On 11/04, Ananth N Mavinakayanahalli wrote:
>
> On Sat, Nov 03, 2012 at 05:33:01PM +0100, Oleg Nesterov wrote:
> >
> > [PATCH] uprobes: flush cache after xol write
> >
> > From: Rabin Vincent
> >
> > Flush the cache so that the instructions written to the XOL area are
> > visible.
> >
> >
Robert, thanks.
I have such message again, and load avg up to 30, and the increase up
to 40, after to 50.
I found this https://bugzilla.kernel.org/show_bug.cgi?id=14733
and I after I compile kernel with this patch write message about results.
Also I want to note that after I suspend laptop to
Hi Henrik,
> > @@ -367,50 +371,33 @@ static int synpatics_rmi4_touchpad_report(struct
> synaptics_rmi4_data *pdata,
> > data_offset, data,
> > data_reg_blk_size);
> > if (retval !=
During reviewing the source code, I found a comment which mention that
after f_op->mmap(), vma's start address can be changed.
I didn't verify that it is really possible, because there are so many
f_op->mmap() implementation. But if there are some mmap() which change
vma's start address, it is
On Wednesday, November 14, 2012 09:08:52 AM Joe Perches wrote:
> On Wed, 2012-11-14 at 18:18 +0200, Vladimir Kondratiev wrote:
> > And, here it goes (can I call it PATCH?):
> Don't see why not.
>
> > From: Vladimir Kondratiev
>
> []
>
> > Introduce debug_hex_dump() that can be dynamically
On Wed, 14 Nov 2012 06:25:56 -0800 tip-bot for Peter Zijlstra
wrote:
> mm: Count the number of pages affected in change_protection()
>
> This will be used by three kinds of purposes:
>
> - to optimize mprotect()
>
> - to speed up working set scanning for working set areas that
>have
> From: Peter Zijlstra
>
> Note: The scan period is much larger than it was in the original patch.
> The reason was because the system CPU usage went through the roof
> with a sample period of 500ms but it was unsuitable to have a
> situation where a large process could stall
On Wed, Nov 14, 2012 at 5:10 PM, Rob Herring wrote:
> On 11/14/2012 10:11 AM, Grant Likely wrote:
>> On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin
>> wrote:
>>> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added
>>> empty stubs into of_mdio.h which were not static, this
On Tue, Nov 13, 2012 at 10:56 PM, Andrew Morton
wrote:
>
> That solves one problem, but I still need to route around the numa
> stuff when preparing the 3.8-rc1 merge. Again!
Btw - and this is tangential/unrelated - I really think that your
should strive to *not* base -mm on top of next, but
> Maybe you can remove all these computations and set the flag
> en_core_tk_irqen for the driver ? That will be handled by the cpuidle
> framework, no ?
>
> Same comment for the intel_idle driver.
Yeah, I thought about that, too. I was a little too afraid of touching
the
On 11/13/2012 06:12 AM, Mel Gorman wrote:
From: Andrea Arcangeli
When we split a transparent hugepage, transfer the NUMA type from the
pmd to the pte if needed.
Signed-off-by: Andrea Arcangeli
Signed-off-by: Mel Gorman
Reviewed-by: Rik van Riel
--
All rights reversed
--
To unsubscribe
> This backlight problem appears only when I run linux with KMS framebuffer,
> when I run linux without KMS framebuffer, the backlight is always on.
>
> Yes, I have ACPI enabled and ACPI backlight enabled, but running:
> echo 100 > /sys/class/backlight/psb-bl/brightness
psb-bl/backlight willbe
On 10/11/12 09:30 AM, Johan Hovold wrote:
Hi Johan,
There was a reference-count fix for the probe error path that went in to
v3.5. Haven't read all the details on how you trigger your leak, but at
the face of it, it could be related.
Have a look at 0658a3366db7e27fa ("usb: use usb_serial_put
On 11/14/2012 10:11 AM, Grant Likely wrote:
> On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin
> wrote:
>> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added
>> empty stubs into of_mdio.h which were not static, this causes build errors
>> when these symbols were defined
On Wed, Nov 14, 2012 at 04:59:22PM +0100, Benjamin Tissoires wrote:
> This patch extracts the test (slot->frame == mt->frame) so that it can
> be used in third party drivers.
>
> Signed-off-by: Benjamin Tissoires
> ---
> drivers/input/input-mt.c | 2 +-
> include/linux/input/mt.h | 6 ++
>
Hi, Minchan.
2012/11/14 Minchan Kim :
> On Tue, Nov 13, 2012 at 11:12:28PM +0900, JoonSoo Kim wrote:
>> 2012/11/13 Minchan Kim :
>> > On Tue, Nov 13, 2012 at 09:30:57AM +0900, JoonSoo Kim wrote:
>> >> 2012/11/3 Minchan Kim :
>> >> > Hi Joonsoo,
>> >> >
>> >> > On Sat, Nov 03, 2012 at 04:07:25AM
On Wed, 2012-11-14 at 18:18 +0200, Vladimir Kondratiev wrote:
> And, here it goes (can I call it PATCH?):
Don't see why not.
> From: Vladimir Kondratiev
[]
> Introduce debug_hex_dump() that can be dynamically controlled, similar to
> pr_debug.
>
> Also, make print_hex_dump_bytes() dynamically
On 11/14/2012 03:13 AM, Hugh Dickins wrote:
Please, Ingo, stop trying to force this in ahead of time, yet again.
People are still reviewing and comparing competing solutions.
Maybe this latest will prove to be closest to the right answer,
maybe it will not. It's, what, about two days old
This adds the marvel phy which is present on the ml507 board.
Without this ethtool causes kernel-oopses.
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
arch/powerpc/boot/dts/virtex440-ml507.dts |6 ++
1 file changed, 6 insertions(+)
diff --git
A static mapped area is ARM-specific, so it is better not to use
generic vmalloc data structure, that is, vmlist and vmlist_lock
for managing static mapped area. And it causes some needless overhead and
reducing this overhead is better idea.
Now, we have newly introduced static_vm infrastructure.
In current implementation, we used ARM-specific flag, that is,
VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area.
The purpose of static mapped area is to re-use static mapped area when
entire physical address range of the ioremap request can be covered
by this area.
This
Now, there is no user for vmregion.
So remove it.
Signed-off-by: Joonsoo Kim
diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile
index 8a9c4cb..4e333fa 100644
--- a/arch/arm/mm/Makefile
+++ b/arch/arm/mm/Makefile
@@ -6,7 +6,7 @@ obj-y := dma-mapping.o extable.o
In current implementation, we used ARM-specific flag, that is,
VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area.
The purpose of static mapped area is to re-use static mapped area when
entire physical address range of the ioremap request can be covered
by this area.
This
On Wed, 2012-11-14 at 17:48 +0100, Frederic Weisbecker wrote:
> 2012/11/14 Steven Rostedt :
> > On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote:
> >> Prepending irq-unsafe vtime APIs with underscores was actually
> >> a bad idea as the result is a big mess in the API namespace that
>
Without this, the device is blocked in dmesg at:
hid-multitouch 0003:25AA:8883.000X: usb_submit_urb(ctrl) failed: -1
hid-multitouch 0003:25AA:8883.000X: timeout initializing reports
Signed-off-by: Benjamin Tissoires
---
Hi guys,
Even if Chris did not answered, I had the confirmation that this
Hi,
This is an RFC patchset to separate GTK GUI codes to a shared object,
called libperf-gtk.so and use it with libdl. It's in an early-stage
so probably has some rough edges, but I'd like to get some comments.
For now, the libperf-gtk.so (I'm open to a better name suggestion)
contains whole
Separate out GTK codes to a shared object called libperf-gtk.so.
In order to do that all objects are compiled as PIC like libtraceevent.
For now whole libperf and libtraceevent are built into it.
Cc: Andi Kleen
Cc: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/Makefile | 36
Run GTK hist browser using libdl.
Cc: Andi Kleen
Cc: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/Makefile |3 ++-
tools/perf/builtin-report.c | 16 +---
tools/perf/ui/gtk/gtk.h |5 +
tools/perf/util/hist.h | 13 -
4 files
Call setup/exit GTK browser function using libdl.
Cc: Andi Kleen
Cc: Pekka Enberg
Signed-off-by: Namhyung Kim
---
tools/perf/ui/gtk/gtk.h |3 +++
tools/perf/ui/setup.c | 51 +--
tools/perf/ui/ui.h | 12 +--
3 files changed, 53
From: Namhyung Kim
The ui_helpline__vshow() will be used for pr_* functions.
Signed-off-by: Namhyung Kim
---
tools/perf/ui/gtk/helpline.c | 23 ---
tools/perf/ui/helpline.c | 12
tools/perf/ui/helpline.h | 22 ++
From: Namhyung Kim
It is used everywhere so always build it regardless of ui engine.
Signed-off-by: Namhyung Kim
---
tools/perf/Makefile | 14 +-
tools/perf/ui/util.c| 10 ++
tools/perf/util/debug.c | 22 --
tools/perf/util/debug.h | 33
2012/11/14 Steven Rostedt :
> On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote:
>> Prepending irq-unsafe vtime APIs with underscores was actually
>> a bad idea as the result is a big mess in the API namespace that
>> is even waiting to be further extended. Also these helpers
>> are
Hi Alan,
first of all, thanks for your support.
> So the panel backlight register is set to indicate that the
> brightness
> will be handled by the firmware in some other way and not by the
> graphics.
> Do you have ACPI backlight support in your kernel ? Do you have the
> LVDS
> panel enabled in
On 14.11.2012 18:19, Stephen Warren wrote:
> I'd rather initialize it explicitly. If setting it to 216MHz works
> fine as Terje indicated, we may as well just do that.
I'd prefer explicit setting, too.
> I suspect the issue with the original code:
>
>> { "host1x", "pll_c",14400,
Hi Sasha,
Thanks for taking a look.
> So all the documentation I see in the VMCI Socket Programming Guide
> is about userspace programming, and the documentation in af_vsock.c
> is all around implementation considerations.
Agreed, we're sorely lacking in proper documentation for the internal
On Wed, 14 Nov 2012, Rafael J. Wysocki wrote:
> On Thursday, November 08, 2012 12:07:54 PM Alan Stern wrote:
> > On Thu, 8 Nov 2012, Rafael J. Wysocki wrote:
>
> [...]
>
> I'd like to revisit this for a while if you don't mind.
Not at all.
> > Your revised patch does do the job, except for a
On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote:
> Prepending irq-unsafe vtime APIs with underscores was actually
> a bad idea as the result is a big mess in the API namespace that
> is even waiting to be further extended. Also these helpers
> are always called from irq safe callers
On Wed, Nov 14, 2012 at 04:59:21PM +0100, Benjamin Tissoires wrote:
> Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones)
> computed by the hardware itself. This value is global to the frame and is
> not specific to the multitouch protocol.
>
> Signed-off-by: Benjamin
James Hogan wrote:
> The disintegration scripts strip out the #ifdef __KERNEL__ from the
> headers in both uapi/ and the old directories. However there are still a
> bunch of unexported headers through the tree which have #ifdef
> __KERNEL__ in them, usually guarding the entire file (just grep
>
Since id is u32 the comparsion < 0 will fail. The right way
would be to check the return value of of_property_read_u32
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
drivers/block/xsysace.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
Hi,
While working on full dynticks, I realized some more cleanups needed to be
done. Here is it. If no comment arise, I'll send a pull request to Ingo
in a week.
Thanks.
Frederic Weisbecker (4):
vtime: Remove the underscore prefix invasion
vtime: Explicitly account pending user time on
On ia64 and powerpc, vtime context switch only consists
in flushing system and user pending time, plus a few
arch housekeeping.
Consolidate that into a generic implementation. s390 is
a special case because pending user and system time accounting
there is hard to dissociate. So it's keeping its
vtime_account() is only called from irq entry. irqs
are always disabled at this point so we can safely
remove the irq disabling guards on that function.
Signed-off-by: Frederic Weisbecker
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Thomas Gleixner
Cc: Steven Rostedt
Cc: Paul Gortmaker
Cc: Tony
All vtime implementations just flush the user time on process
tick. Consolidate that in generic code by calling a user time
accounting helper. This avoids an indirect call in ia64 and
prepare to also consolidate vtime context switch code.
Signed-off-by: Frederic Weisbecker
Cc: Peter Zijlstra
Prepending irq-unsafe vtime APIs with underscores was actually
a bad idea as the result is a big mess in the API namespace that
is even waiting to be further extended. Also these helpers
are always called from irq safe callers except kvm. Just
provide a vtime_account_system_irqsafe() for this
On 11/14/2012 04:18 AM, Arnd Bergmann wrote:
Since we are in the review phase for two new architectures that we
should be merging into the mainline kernel, I think we need to
come up with a solution for making them use a proper 64-bit time_t.
Right now, the only 32-bit user space interface we
> On Sat, Nov 3, 2012 at 2:27 AM, Konrad Rzeszutek Wilk
> wrote:
> > On Wed, Oct 31, 2012 at 12:05:32PM -0500, Seth Jennings wrote:
> >> On 10/31/2012 10:07 AM, Dan Magenheimer wrote:
> >> > With the goal of allowing tmem backends (zcache, ramster, Xen tmem) to be
> >> > built/loaded as modules
On 11/14/2012 03:54 AM, Thierry Reding wrote:
> On Wed, Nov 14, 2012 at 12:23:42PM +0200, Terje Bergström wrote:
>> On 14.11.2012 10:49, Thierry Reding wrote:
>>> Can you find out how the host1x clock is setup without this
>>> change? I was told that freezes can occur when you try to
>>> access
On Wednesday, November 14, 2012 05:41:08 AM Joe Perches wrote:
> On Wed, 2012-11-14 at 14:17 +0200, Vladimir Kondratiev wrote:
> > Introduce debug_hex_dump() that can be dynamically controlled, similar to
> > pr_debug.
>
> (added Jason Baron, Jim Cromie, GregKH and lkml to cc's)
>
> []
>
> >
On 08.11.2012 12:47:08, +0100, Theodore Ts'o wrote:
Hi Theodore,
> On Thu, Nov 08, 2012 at 01:32:38AM +0100, Stephan Mueller wrote:
>>
>> However, due to the fact that jiffies provides very few entropy, the
>> event value provides (almost) none, the majority of entropy comes from
>> the
On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin wrote:
> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added
> empty stubs into of_mdio.h which were not static, this causes build errors
> when these symbols were defined across several objects.
>
> Fix it by marking those
On Wed, 14 Nov 2012, Huang Ying wrote:
> > What changes specifically do you mean to be precise?
>
> I mean the following changes from Alan's email.
>
> pm_runtime_set_suspended should fail if dev->power.runtime_auto
> is clear.
>
> pm_runtime_forbid should call
Hello.
On 11/14/2012 05:27 PM, Peter De Schrijver wrote:
> This patch implements ARM linux patch 6395/1 for Tegra. See commit
> 1a8e41cd672f894bbd74874eac601e6cedf838fb for details.
You should give some details in this commit too, like specifying that commit
summary in parens.
>
On Tue, 2012-11-13 at 19:34 -0800, Greg Kroah-Hartman wrote:
> On Tue, Nov 13, 2012 at 10:04:53PM -0500, Steven Rostedt wrote:
> > On Tue, 2012-11-13 at 19:25 -0700, Shuah Khan wrote:
> > > On Sun, 2011-12-04 at 13:54 -0500, Steven Rostedt wrote:
> > > > From: Roland Dreier
> > > >
> > > > When
Am Montag, 12. November 2012 schrieb Arnd Bergmann:
> On Monday 12 November 2012, Martin Steigerwald wrote:
> > Am Samstag, 10. November 2012 schrieb Arnd Bergmann:
>
> > > I would also recommend using flashbench to find out the optimum parameters
> > > for your device. You can download it from
>
On Sun, 7 Oct 2012 21:29:21 +0800, Wei Yongjun wrote:
> From: Wei Yongjun
>
> Remove duplicated include.
Applied, thanks.
> dpatch engine is used to auto generate this patch.
> (https://github.com/weiyj/dpatch)
Since I have to manually remove the above cruft from commit logs, can
you please
Quoting Tejun Heo (t...@kernel.org):
> From 6e405c1ae4018d813e8ed9e0bd463d6976aebfa8 Mon Sep 17 00:00:00 2001
> From: Tejun Heo
> Date: Tue, 13 Nov 2012 12:21:50 -0800
>
> clone_children is only meaningful for cpuset and will stay that way.
> Rename the flag to reflect that and update
On Wednesday 14 November 2012 12:34 AM, Samuel Ortiz wrote:
Hi Laxman,
On Tue, Nov 13, 2012 at 07:18:04PM +0530, Laxman Dewangan wrote:
This patch series convert the irq implementation to use the
irq domain.
Accordingly, gpio driver and rtc registration is updated.
Reposting the series and
TPS80031/ TPS80032 Fully Integrated Power Management with Power
Path and Battery Charger. The device provides five configurable
step-down converters, 11 general purpose LDOs, USB OTG Module,
ADC, RTC, 2 PWM, System Voltage Regulator/Battery Charger with
Power Path from USB, 32K clock generator.
Pefix "TPS80031" is added on all defines of tps80031 header
to avoid conflict with other header definitions.
Update the regualtor driver of tps80031 to use the same name.
Signed-off-by: Laxman Dewangan
---
Guennadi suggested to have the names of register and its field prefix
by TPS80031 to avoid
On 2012-11-14 06:16, Selvan Mani wrote:
> Hi Jens,
>
> Another tiny patch.
>
> Removed __packed before the struct smart_attr and added __packed at end of
> the structure to fix padding issue.
Thanks, applied.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe
On Sat, Nov 10, 2012 at 1:08 PM, Ezequiel Garcia wrote:
> By replacing a kthread with a workqueue, the code is now a bit clearer.
> There's also a slight reduction of code size (numbers apply for x86):
> Before:
>textdata bss dec hex filename
>3248 36 03284
On Wed, Nov 14, 2012 at 05:29:33PM +0200, Terje Bergström wrote:
> On 14.11.2012 17:01, Thierry Reding wrote:
> > Funny. I just tested with this line removed and I also get the freeze.
> > With the line I don't get the freeze. Does the freeze only occur with
> > additional patches on top? If so I
On 14.11.2012 17:01, Thierry Reding wrote:
> Funny. I just tested with this line removed and I also get the freeze.
> With the line I don't get the freeze. Does the freeze only occur with
> additional patches on top? If so I think we should keep the line in for
> now because it is what most people
This allow us to print out eventpoll target file descriptor,
events and data, the /proc/pid/fdinfo/fd consists of
| pos: 0
| flags: 02
| tfd:5 events: 1d data: enabled: 1
[avagin@: fix for unitialized ret variable]
Signed-off-by: Cyrill Gorcunov
CC:
The sigmask is read in lockless manner for a sake of
code simplicity, thus if precise data needed here
the tasks which refer to the signalfd should be
stopped before read.
Signed-off-by: Cyrill Gorcunov
CC: Pavel Emelyanov
CC: Oleg Nesterov
CC: Andrey Vagin
CC: Al Viro
CC: Alexey Dobriyan
This allow us to print out raw counter value.
The /proc/pid/fdinfo/fd output is
| pos: 0
| flags: 04002
| eventfd-count: 5a
Signed-off-by: Cyrill Gorcunov
CC: Pavel Emelyanov
CC: Oleg Nesterov
CC: Andrey Vagin
CC: Al Viro
CC: Alexey Dobriyan
CC: Andrew Morton
CC:
This routine will be used to generate a file handle in fdinfo
output for inotify subsystem, where if no s_export_op present
the general export_encode_fh should be used. Thus add
a test if s_export_op present inside exportfs_encode_fh itself.
Signed-off-by: Cyrill Gorcunov
CC: Pavel Emelyanov
We will need this helper in the next patch to
provide a file handle for inotify marks in
/proc/pid/fdinfo output.
The patch is rather providing the way to use inodes
directly when dentry is not available (like in case
of inotify system).
Signed-off-by: Cyrill Gorcunov
CC: Pavel Emelyanov
CC:
This allow us to print out fsnotify details such as
watchee inode, device, mask and optionally a file handle.
For inotify objects if kernel compiled with exportfs support
the output will be
| pos: 0
| flags: 0200
| inotify wd:3 ino: 9e7e sdev: 800013 mask:
This patch brings ability to print out auxiliary data associated
with file in procfs interface /proc/pid/fdinfo/fd.
In particular further patches make eventfd, evenpoll, signalfd
and fsnotify to print additional information complete enough
to restore these objects after checkpoint.
To simplify
Hello guys, here is updated series for fdinfo via procfs. The main
change is that we've dropped carrying fhandle with inotify mark
but provide it on demand. This is achieved by adding a small helper
into exportfs code. Please review, thanks a lot for all earlier
comments!
Cyrill
--
To
This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated per network namespace.
Note: this hash can be allocated in per-net operations. But it looks
better to allocate it on nfsd state start and thus don't waste resources
if server is not running.
On 2012-11-14 02:02, Lukáš Czerner wrote:
> On Tue, 13 Nov 2012, Jens Axboe wrote:
>
>> Date: Tue, 13 Nov 2012 09:42:58 -0700
>> From: Jens Axboe
>> To: Lukas Czerner
>> Cc: linux-kernel@vger.kernel.org, linux-fsde...@vger.kernel.org,
>> jmo...@redhat.com, a...@linux-foundation.org
>>
This hash holds established sessions state and closely associated with
nfs4_clients info, which are network namespace aware. So let's make it
allocated per network namespace too.
Note: this hash can be allocated in per-net operations. But it looks
better to allocate it on nfsd state start and
This hash holds file lock owners and closely associated with nfs4_clients info,
which are network namespace aware. So let's make it allocated per network
namespace too.
Note: this hash can be allocated in per-net operations. But it looks
better to allocate it on nfsd state start and thus don't
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/nfs4state.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 37b19f7..743c622 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2281,7 +2281,7 @@
This patch moves laundromat_work to nfsd per-net context, thus allowing to run
multiple laundries.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h |2 ++
fs/nfsd/nfs4state.c | 21 +
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git
This list holds nfs4 clients (open) stateowner queue for last close replay,
which are network namespace aware. So let's make this list per network
namespace too.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h |6 ++
fs/nfsd/nfs4state.c | 20 +++-
2 files
Passing net context looks as overkill.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/nfs4recover.c | 14 ++
fs/nfsd/nfs4state.c |8 +++-
fs/nfsd/state.h |2 +-
3 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/fs/nfsd/nfs4recover.c
This patch replaces init_net by SVC_NET(), where possible and also passes
proper context to nested functions where required.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/nfs4proc.c | 13 +++
fs/nfsd/nfs4state.c | 63 +++
This list holds nfs4 clients queue for lease renewal, which are network
namespace aware. So let's make this list per network namespace too.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h |5 +
fs/nfsd/nfs4state.c | 16
2 files changed, 13 insertions(+), 8
This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated per network namespace.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h |4
fs/nfsd/nfs4state.c | 42 +++---
2 files changed, 23
This hash holds open owner state and closely associated with nfs4_clients
info, which are network namespace aware. So let's make it allocated per
network namespace too.
Note: this hash can be allocated in per-net operations. But it looks
better to allocate it on nfsd state start and thus don't
This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated per network namespace.
Note: this hash can be allocated in per-net operations. But it looks
better to allocate it on nfsd state start and thus don't waste resources
if server is not running.
This tree holds nfs4_clients info, which are network namespace aware.
So let's make it per network namespace.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h |4
fs/nfsd/nfs4state.c | 31 ---
2 files changed, 20 insertions(+), 15 deletions(-)
This hash holds nfs4_clients info, which are network namespace aware.
So let's make it allocated per network namespace.
Note: this hash is used only by legacy tracker. So let's allocate hash in
tracker init.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/netns.h | 12 ++
And use it's net where possible.
Signed-off-by: Stanislav Kinsbursky
---
fs/nfsd/nfs4callback.c |2 +-
fs/nfsd/nfs4recover.c |9 +++--
fs/nfsd/nfs4state.c| 15 +--
fs/nfsd/state.h|1 +
4 files changed, 14 insertions(+), 13 deletions(-)
diff --git
This patch set is my first attempt to containerize NFSv4 state - i.e. make it
works in networks namespace context.
I admit, that some of this new code could be partially rewritten during future
NFSd containerization.
But the overall idea look more or less correct to me.
So, the main things here
> -Original Message-
> From: Mike Turquette [mailto:mturque...@ti.com]
> Sent: Wednesday, November 14, 2012 12:55 AM
> To: Josh Cartwright; Michal Simek
> Cc: Soren Brinkmann; Rob Herring; linux-kernel@vger.kernel.org; linux-arm-
> ker...@lists.infradead.org; John Linn; a...@kernel.org
>
> -Original Message-
> From: Josh Cartwright [mailto:josh.cartwri...@ni.com]
> Sent: Tuesday, November 13, 2012 11:03 PM
> To: Soren Brinkmann; Michal Simek
> Cc: Mike Turquette; Rob Herring; linux-kernel@vger.kernel.org; linux-arm-
> ker...@lists.infradead.org; John Linn;
Quoting Kees Cook (keesc...@chromium.org):
> Stop using spinlocks in the read path. Add RCU list to handle the readers.
Looks good to me. BTW, kfree_rcu is neat :)
Reviewed-by: Serge E. Hallyn
> Signed-off-by: Kees Cook
> ---
> security/yama/yama_lsm.c | 43
On Wed, Nov 14, 2012 at 10:35:31AM +0200, Terje Bergström wrote:
> On 09.11.2012 15:20, Thierry Reding wrote:
> > This commit adds the host1x node along with its children to the Tegra20
> > DTSI. Furthermore the OF auxiliary data table is updated to have proper
> > names assigned to the platform
501 - 600 of 1642 matches
Mail list logo