since we only care about the availability of the MSR on the
> host
> here and not about specific CPUID bits.
>
> Fixes: e7c587da1252 ("x86/speculation: Use synthetic bits for
> IBRS/IBPB/STIBP")
> Cc: sta...@vger.kernel.org
> Reported-by: Denis V. Lunev
> Signed-of
+0x57/0xd0
cpuidle_idle_call+0xde/0x230
arch_cpu_idle+0xe/0xc0
cpu_startup_entry+0x14a/0x1e0
start_secondary+0x1f7/0x270
start_cpu+0x5/0x14
Signed-off-by: Denis V. Lunev
CC: Konstantin Khorenko
CC: Faisal Latif
CC: Shiraz Saleem
CC: Doug Ledford
CC: Jason Gunthorpe
C
On 12/06/2017 07:39 PM, Jan Dakinevich wrote:
> On Wed, 6 Dec 2017 10:06:48 -0500
> Konrad Rzeszutek Wilk wrote:
>
>> On Wed, Dec 06, 2017 at 02:43:01PM +0300, Jan Dakinevich wrote:
>>> w2k16 essentials fails to boot if underlying hypervisor lacks of
>>> support for LBR
On 12/06/2017 07:39 PM, Jan Dakinevich wrote:
> On Wed, 6 Dec 2017 10:06:48 -0500
> Konrad Rzeszutek Wilk wrote:
>
>> On Wed, Dec 06, 2017 at 02:43:01PM +0300, Jan Dakinevich wrote:
>>> w2k16 essentials fails to boot if underlying hypervisor lacks of
>>> support for LBR MSRs. To workaround the
e
> was originally added in 2.6.34.
>
> Fixes: 9564e138b1f6 ("virtio: Add memory statistics reporting to the balloon
> driver (V4)")
> Signed-off-by: Arnd Bergmann <a...@arndb.de>
Reviewed-by: Denis V. Lunev <d...@openvz.org>
> ---
> drivers/virtio/vi
e
> was originally added in 2.6.34.
>
> Fixes: 9564e138b1f6 ("virtio: Add memory statistics reporting to the balloon
> driver (V4)")
> Signed-off-by: Arnd Bergmann
Reviewed-by: Denis V. Lunev
> ---
> drivers/virtio/virtio_balloon.c | 2 ++
> 1 file changed, 2
This patch adds balloon size check at the end of the probe to match
original behaviour.
Signed-off-by: Konstantin Neumoin <kneum...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
---
drivers/virtio/virtio_balloon.c |
size check at the end of the probe to match
original behaviour.
Signed-off-by: Konstantin Neumoin
Signed-off-by: Denis V. Lunev
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 2 ++
1 file changed, 2 insertions(+)
Changes from v1:
- fixed description
- removed update_balloon_size() call
on. Original code with wait_event_interruptible
checked the condition before start waiting and started balloon operations
if necessary.
Right now balloon is not inflated if ballon target is set before the
driver is loaded.
Signed-off-by: Konstantin Neumoin <kneum...@virtuozzo.com>
Signed-off-
checked the condition before start waiting and started balloon operations
if necessary.
Right now balloon is not inflated if ballon target is set before the
driver is loaded.
Signed-off-by: Konstantin Neumoin
Signed-off-by: Denis V. Lunev
CC: "Michael S. Tsirkin"
---
drivers/virtio/virtio
target.
Signed-off-by: Konstantin Neumoin <kneum...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
---
drivers/virtio/virtio_balloon.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/virtio/vi
-by: Konstantin Neumoin
Signed-off-by: Denis V. Lunev
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 4e7003d..253bf05 100644
--- a/drivers/virtio
rtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
---
drivers/virtio/virtio_balloon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 476c0e3..f
than taken, and raise a "BUG" in balloon_page_dequeue when page list
will be empty.
So, the simplest solution would be to check that the number of releases
pages is less or equal to the number taken pages.
Signed-off-by: Konstantin Neumoin
Signed-off-by: Denis V. Lunev
CC: Michael
On 02/23/2016 06:53 PM, Michael S. Tsirkin wrote:
On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote:
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:
From: Igor Redko <red...@virtuozzo.com>
Add a new
On 02/23/2016 06:53 PM, Michael S. Tsirkin wrote:
On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote:
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:
From: Igor Redko
Add a new field, VIRTIO_BALLOON_S_AVAIL
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:
From: Igor Redko <red...@virtuozzo.com>
Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
statistics protocol, corresponding to 'Available' in /proc/m
On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote:
On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote:
From: Igor Redko
Add a new field, VIRTIO_BALLOON_S_AVAIL, to virtio_balloon memory
statistics protocol, corresponding to 'Available' in /proc/meminfo.
It indicates
istics interface (in a followup
patch).
Signed-off-by: Igor Redko <red...@virtuozzo.com>
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
CC: Andrew Morton <a...@linux-foundation.
patch).
Signed-off-by: Igor Redko
Reviewed-by: Roman Kagan
Signed-off-by: Denis V. Lunev
CC: Michael S. Tsirkin
CC: Andrew Morton
---
fs/proc/meminfo.c | 31 +--
include/linux/mm.h | 1 +
mm/page_alloc.c| 43 +++
3
software to improve memory management
of different VMs under overcommit.
Signed-off-by: Igor Redko <red...@virtuozzo.com>
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
CC: A
software to improve memory management
of different VMs under overcommit.
Signed-off-by: Igor Redko
Reviewed-by: Roman Kagan
Signed-off-by: Denis V. Lunev
CC: Michael S. Tsirkin
CC: Andrew Morton
Igor Redko (2):
calculate 'available' memory in the separate function
virtio_balloon: export
ed-off-by: Igor Redko <red...@virtuozzo.com>
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Michael S. Tsirkin <m...@redhat.com>
CC: Andrew Morton <a...@linux-foundation.org>
---
drivers/virtio/virtio_balloon.
Reviewed-by: Roman Kagan
Signed-off-by: Denis V. Lunev
CC: Michael S. Tsirkin
CC: Andrew Morton
---
drivers/virtio/virtio_balloon.c | 6 ++
include/uapi/linux/virtio_balloon.h | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers
On 11/12/2015 08:35 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Wednesday, November 11, 2015 11:16 PM
To: KY Srinivasan
Cc: rka...@virtuozzo.com; de...@linuxdriverproject.org; linux-
ker...@vger.kernel.org; Andrey Smetanin ;
Haiyang
On 11/12/2015 08:35 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Wednesday, November 11, 2015 11:16 PM
To: KY Srinivasan <k...@microsoft.com>
Cc: rka...@virtuozzo.com; de...@linuxdriverproject.org; linux-
ker...@vger.kernel.org;
On 11/02/2015 10:42 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Monday, November 2, 2015 3:34 AM
Cc: rka...@virtuozzo.com; de...@linuxdriverproject.org; linux-
ker...@vger.kernel.org; Andrey Smetanin ; KY
Srinivasan ; Haiyang Zhang
On 11/02/2015 10:42 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Monday, November 2, 2015 3:34 AM
Cc: rka...@virtuozzo.com; de...@linuxdriverproject.org; linux-
ker...@vger.kernel.org; Andrey Smetanin <asmeta...@virtuozzo.com&g
inux guest drivers
Signed-off-by: Denis V. Lunev
---
drivers/hv/hv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
index 6341be8..68d0701 100644
--- a/drivers/hv/hv.c
+++ b/drivers/hv/hv.c
@@ -139,7 +139,7 @@ static cycle_t read_hv_clock_
icrosoft.com>
CC: Haiyang Zhang <haiya...@microsoft.com>
CC: Vitaly Kuznetsov <vkuzn...@redhat.com>
TARGET: Microsoft Hyper-V Linux guest drivers
Signed-off-by: Denis V. Lunev <d...@openvz.org>
---
drivers/hv/hv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -
On 10/08/2015 08:28 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Thursday, October 8, 2015 10:20 AM
To: KY Srinivasan ; gre...@linuxfoundation.org; linux-
ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de
On 10/08/2015 05:01 AM, K. Y. Srinivasan wrote:
From: Denis V. Lunev
K.Y.,
there is one subtle thing in this submission. You have changed "From:"
field in comparison with the original letter. I have submitted
the patch with "From: Andrey Smetanin "
In this case Author:
On 10/08/2015 05:01 AM, K. Y. Srinivasan wrote:
From: Denis V. Lunev <d...@openvz.org>
K.Y.,
there is one subtle thing in this submission. You have changed "From:"
field in comparison with the original letter. I have submitted
the patch with "From: Andrey Smetanin <
On 10/08/2015 08:28 PM, KY Srinivasan wrote:
-Original Message-
From: Denis V. Lunev [mailto:d...@openvz.org]
Sent: Thursday, October 8, 2015 10:20 AM
To: KY Srinivasan <k...@microsoft.com>; gre...@linuxfoundation.org; linux-
ker...@vger.kernel.org; de...@linuxdriverproject.
() at each vcpu to get a chance
to free allocated resources by hypervisor per synic.
This patch does appropriate cleanup in case of vmbus_connect() failure.
Signed-off-by: Andrey Smetanin
Signed-off-by: Denis V. Lunev
CC: "K. Y. Srinivasan"
CC: Haiyang Zhang
CC: Vitaly Kuznetsov
---
setup by call hv_synic_cleanup() at each vcpu to get a chance
to free allocated resources by hypervisor per synic.
This patch does appropriate cleanup in case of vmbus_connect() failure.
Signed-off-by: Andrey Smetanin <asmeta...@virtuozzo.com>
Signed-off-by: Denis V. Lunev <d...@openvz
.
Signed-off-by: Andrey Smetanin
Signed-off-by: Denis V. Lunev
CC: Nick Meier
CC: K. Y. Srinivasan
CC: Haiyang Zhang
---
arch/x86/include/asm/mshyperv.h | 1 +
arch/x86/kernel/cpu/mshyperv.c | 1 +
drivers/hv/vmbus_drv.c | 4 ++--
3 files changed, 4 insertions(+), 2 deletions
register instead of EDX.
Signed-off-by: Andrey Smetanin asmeta...@virtuozzo.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Nick Meier nme...@microsoft.com
CC: K. Y. Srinivasan k...@microsoft.com
CC: Haiyang Zhang haiya...@microsoft.com
---
arch/x86/include/asm/mshyperv.h | 1 +
arch/x86
-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC: Michael S. Tsirkin
--
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
From: Raushaniya Maksudova
This value would be useful in the next patch to provide the amount of
the freed memory for OOM killer.
Signed-off-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 5 -
1 file
.
Allocate virtio feature bit for this: it is not set by default,
the the guest will not deflate virtio balloon on OOM without explicit
permission from host.
Signed-off-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c
killer to run.
Allocate virtio feature bit for this: it is not set by default,
the the guest will not deflate virtio balloon on OOM without explicit
permission from host.
Signed-off-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Rusty Russell
From: Raushaniya Maksudova rmaksud...@parallels.com
This value would be useful in the next patch to provide the amount of
the freed memory for OOM killer.
Signed-off-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Rusty Russell ru
-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Rusty Russell ru...@rustcorp.com.au
CC: Michael S. Tsirkin m...@redhat.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
From: Raushaniya Maksudova
This value would be useful in the next patch to provide the amount of
the freed memory for OOM killer.
Signed-off-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 5 -
1 file
for implementation of virtio_balloon
callback, so now leak_balloon() function returns number of freed pages.
Patch 2 implements virtio_balloon callback itself.
Changes from v1:
- minor cosmetic tweaks suggested by rusty@
Signed-off-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC
-off-by: Raushaniya Maksudova
Signed-off-by: Denis V. Lunev
CC: Rusty Russell
CC: Michael S. Tsirkin
---
drivers/virtio/virtio_balloon.c | 48 +
1 file changed, 48 insertions(+)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio
killer to run.
Signed-off-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Rusty Russell ru...@rustcorp.com.au
CC: Michael S. Tsirkin m...@redhat.com
---
drivers/virtio/virtio_balloon.c | 48 +
1 file
From: Raushaniya Maksudova rmaksud...@parallels.com
This value would be useful in the next patch to provide the amount of
the freed memory for OOM killer.
Signed-off-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev d...@openvz.org
CC: Rusty Russell ru
for implementation of virtio_balloon
callback, so now leak_balloon() function returns number of freed pages.
Patch 2 implements virtio_balloon callback itself.
Changes from v1:
- minor cosmetic tweaks suggested by rusty@
Signed-off-by: Raushaniya Maksudova rmaksud...@parallels.com
Signed-off-by: Denis V. Lunev
Acked-by: Denis V. Lunev <[EMAIL PROTECTED]>
On Mon, 2008-02-11 at 14:33 +0100, Peter Zijlstra wrote:
> On Mon, 2008-02-11 at 15:09 +0300, Denis V. Lunev wrote:
>
> Curious, I hadn't yet seen it... Does the below fix it?
>
> > BUG: sleeping function called from invalid
Acked-by: Denis V. Lunev [EMAIL PROTECTED]
On Mon, 2008-02-11 at 14:33 +0100, Peter Zijlstra wrote:
On Mon, 2008-02-11 at 15:09 +0300, Denis V. Lunev wrote:
Curious, I hadn't yet seen it... Does the below fix it?
BUG: sleeping function called from invalid context
at /home/den/src/linux
Hello, Ingo!
I am seeing the following calltrace every day I am connecting to my test
host by the gnome-panel:
ssh -Y test.host gnome-terminal
BUG: sleeping function called from invalid context
at /home/den/src/linux-netns26/kernel/mutex.c:209
in_atomic():1, irqs_disabled():0
no locks held by
Hello, Ingo!
I am seeing the following calltrace every day I am connecting to my test
host by the gnome-panel:
ssh -Y test.host gnome-terminal
BUG: sleeping function called from invalid context
at /home/den/src/linux-netns26/kernel/mutex.c:209
in_atomic():1, irqs_disabled():0
no locks held by
path.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
include/net/ip_fib.h |2 +-
net/ipv4/fib_frontend.c |2 +-
net/ipv4/fib_semantics.c |6 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index c
fib_sync_down can be called with an address and with a device. In reality
it is called either with address OR with a device. The codepath inside is
completely different, so lets separate it into two calls for these two
cases.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
inclu
The namespace is available when required except rtm_to_ifaddr. Add
namespace argument to it.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
net/ipv4/devinet.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/net/ipv4/devinet.c b/net/ipv4/dev
This is required to make fib_info lookups namespace aware. In the other case
initial namespace devices are marked as dead in the local routing table
during other namespace stop.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
include/net/ip_fib.h |1 +
net/ipv4/fib_seman
net->ipv4.fib_table_hash is not freed when fib4_rules_init failed. The problem
has been introduced by the following commit.
commit c8050bf6d84785a7edd2e81591e8f833231477e8
Author: Denis V. Lunev <[EMAIL PROTECTED]>
Date: Thu Jan 10 03:28:24 2008 -0800
Signed-off-by: Denis V. Lune
Remove error code assignment inside brackets on failure. The code looks better
if the error is assigned before condition check. Also, the compiler treats this
better.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
net/ipv4/devinet.c | 21 -
1 files chan
oticed the problem.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
include/net/raw.h |3 ++-
net/ipv4/raw.c|8
net/ipv6/raw.c|2 +-
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/include/net/raw.h b/include/net/raw.h
index c7ea7a2..18
Different hashtables are used for IPv6 and IPv4 raw sockets, so no need to
check the socket family in the iterator over hashtables. Clean this out.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
include/net/raw.h |4 +---
net/ipv4/raw.c| 12
net/ipv6/raw.c
There is no need to use 128 bytes on the stack at all. Clean the code in
the IPv6 style.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
net/ipv4/raw.c | 24 +++-
1 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
ct due to it.
This series of patches fixes original problem and slightly cleanups the
code around.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More m
to it.
This series of patches fixes original problem and slightly cleanups the
code around.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
There is no need to use 128 bytes on the stack at all. Clean the code in
the IPv6 style.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
net/ipv4/raw.c | 24 +++-
1 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index
the problem.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
include/net/raw.h |3 ++-
net/ipv4/raw.c|8
net/ipv6/raw.c|2 +-
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/include/net/raw.h b/include/net/raw.h
index c7ea7a2..1828f81 100644
--- a/include
Different hashtables are used for IPv6 and IPv4 raw sockets, so no need to
check the socket family in the iterator over hashtables. Clean this out.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
include/net/raw.h |4 +---
net/ipv4/raw.c| 12
net/ipv6/raw.c|2
fib_sync_down can be called with an address and with a device. In reality
it is called either with address OR with a device. The codepath inside is
completely different, so lets separate it into two calls for these two
cases.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
include/net
The namespace is available when required except rtm_to_ifaddr. Add
namespace argument to it.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
net/ipv4/devinet.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index
This is required to make fib_info lookups namespace aware. In the other case
initial namespace devices are marked as dead in the local routing table
during other namespace stop.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
include/net/ip_fib.h |1 +
net/ipv4/fib_semantics.c |8
net-ipv4.fib_table_hash is not freed when fib4_rules_init failed. The problem
has been introduced by the following commit.
commit c8050bf6d84785a7edd2e81591e8f833231477e8
Author: Denis V. Lunev [EMAIL PROTECTED]
Date: Thu Jan 10 03:28:24 2008 -0800
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED
Remove error code assignment inside brackets on failure. The code looks better
if the error is assigned before condition check. Also, the compiler treats this
better.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
net/ipv4/devinet.c | 21 -
1 files changed, 8
path.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
include/net/ip_fib.h |2 +-
net/ipv4/fib_frontend.c |2 +-
net/ipv4/fib_semantics.c |6 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index cb0df37..90d1175
Christoph Hellwig wrote:
> On Wed, Jan 30, 2008 at 02:41:34PM +0300, Denis V. Lunev wrote:
>> The pid of the locking daemon can be substituted with a task struct
>> without a problem. Namely, the value if filled in the context of the lockd
>> thread and used i
is guaranteed by the RCU, i.e. task can't
disappear without passing a quiscent state.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
fs/lockd/svc.c | 38 +-
1 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
is guaranteed by the RCU, i.e. task can't
disappear without passing a quiscent state.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
fs/lockd/svc.c | 38 +-
1 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c
index
Debugfs is not compiled without CONFIG_SYSFS in net-2.6 tree. Move
kobject_create_and_add under appropriate ifdef. The fix looks correct
from a first glance, but may be the dependency should be added into
the Kconfig.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
---
fs/debugfs/i
Debugfs is not compiled without CONFIG_SYSFS in net-2.6 tree. Move
kobject_create_and_add under appropriate ifdef. The fix looks correct
from a first glance, but may be the dependency should be added into
the Kconfig.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
---
fs/debugfs/inode.c |2
could you, plz, check patch sent by Eric above in this thread.
I have tried it on my test node and it works for module you have
provided. The problem exists without it.
Regards,
Den
Petr Vandrovec wrote:
> Eric W. Biederman wrote:
>> Ultimately to implement /proc perfectly we need an
could you, plz, check patch sent by Eric above in this thread.
I have tried it on my test node and it works for module you have
provided. The problem exists without it.
Regards,
Den
Petr Vandrovec wrote:
Eric W. Biederman wrote:
Ultimately to implement /proc perfectly we need an
Andrew Morton wrote:
> On Fri, 07 Dec 2007 04:51:37 + David Woodhouse <[EMAIL PROTECTED]> wrote:
>
>> On Mon, 2007-11-26 at 15:17 -0700, Eric W. Biederman wrote:
>>> Well I clearly goofed when I added the initial network namespace support
>>> for /proc/net. Currently things work but there
Andrew Morton wrote:
On Fri, 07 Dec 2007 04:51:37 + David Woodhouse [EMAIL PROTECTED] wrote:
On Mon, 2007-11-26 at 15:17 -0700, Eric W. Biederman wrote:
Well I clearly goofed when I added the initial network namespace support
for /proc/net. Currently things work but there are odd
you have changed the behavior of revalidation by shadows. I think it
will be better to restore it and keep new one for shadows (and below)
only, which has been done by my yesterday patch.
Regards,
Den
Eric W. Biederman wrote:
> If the dcache path to a mount point is ever broken it
you have changed the behavior of revalidation by shadows. I think it
will be better to restore it and keep new one for shadows (and below)
only, which has been done by my yesterday patch.
Regards,
Den
Eric W. Biederman wrote:
If the dcache path to a mount point is ever broken it becomes
/proc/sys/fs/binfmt_misc dentry disappeared during d_revalidate.
d_revalidate only dentries from shadowed one and below.
http://bugzilla.kernel.org/show_bug.cgi?id=9504
CC: Eric W. Biederman <[EMAIL PROTECTED]>
CC: Marcus Better <[EMAIL PROTECTED]>
Signed-off-by: Denis V. Lunev <[
/proc/sys/fs/binfmt_misc dentry disappeared during d_revalidate.
d_revalidate only dentries from shadowed one and below.
http://bugzilla.kernel.org/show_bug.cgi?id=9504
CC: Eric W. Biederman [EMAIL PROTECTED]
CC: Marcus Better [EMAIL PROTECTED]
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED
Andrew Morton wrote:
> On Mon, 3 Dec 2007 16:52:47 +0300
> "Denis V. Lunev" <[EMAIL PROTECTED]> wrote:
>
>> There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code
>> paths:
>>
>> drop_pagecache
>> spin_lock(_lock);
&
Andrew Morton wrote:
On Mon, 3 Dec 2007 16:52:47 +0300
Denis V. Lunev [EMAIL PROTECTED] wrote:
There is a AB-BA deadlock regarding drop_caches sysctl. Here are the code
paths:
drop_pagecache
spin_lock(inode_lock);
invalidate_mapping_pages
try_to_release_page
s sane as inode hold should not gone from the
list and should not change its place.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
--
diff --git a/fs/drop_caches.c b/fs/drop_caches.c
index 59375ef..4ac80d8 100644
--- a/fs/drop_caches.c
+++ b/fs/drop_caches.c
@@ -14,15 +14,27 @@ int sysctl
tries to address the issue - it drops inode_lock before digging into
invalidate_inode_pages. This seems sane as inode hold should not gone from the
list and should not change its place.
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
--- ./fs/drop_caches.c.marker 2006-09-20 07:42:06.000
Patrick McHardy wrote:
> Adrian Bunk wrote:
>> On Sun, Dec 02, 2007 at 09:03:56PM +0100, Patrick McHardy wrote:
>>
>>> For all I care binary modules can break, but frankly I don't see
>>> how encapsulating a couple of structures and pointers in a new
>>> structure and adding a new argument to
Patrick McHardy wrote:
Adrian Bunk wrote:
On Sun, Dec 02, 2007 at 09:03:56PM +0100, Patrick McHardy wrote:
For all I care binary modules can break, but frankly I don't see
how encapsulating a couple of structures and pointers in a new
structure and adding a new argument to existing functions
. This seems sane as inode hold should not gone from the
list and should not change its place.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
--
diff --git a/fs/drop_caches.c b/fs/drop_caches.c
index 59375ef..4ac80d8 100644
--- a/fs/drop_caches.c
+++ b/fs/drop_caches.c
@@ -14,15 +14,27 @@ int
(inode_lock);
The patch tries to address the issue - it drops inode_lock before digging into
invalidate_inode_pages. This seems sane as inode hold should not gone from the
list and should not change its place.
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
--- ./fs/drop_caches.c.marker 2006-09-20 07
This patch:
- makes .gitignore files visible to git
- makes arch/x86/kernel/vsyscall_32.lds and arch/i386/boot invisible
Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]>
diff --git a/.gitignore b/.gitignore
index 27c3e83..22fb8fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,6
This patch:
- makes .gitignore files visible to git
- makes arch/x86/kernel/vsyscall_32.lds and arch/i386/boot invisible
Signed-off-by: Denis V. Lunev [EMAIL PROTECTED]
diff --git a/.gitignore b/.gitignore
index 27c3e83..22fb8fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,6 +26,7 @@ vmlinux
David Miller wrote:
> From: "Denis V. Lunev" <[EMAIL PROTECTED]>
> Date: Mon, 08 Oct 2007 10:34:23 +0400
>
>> OK. I am installing Fedora 7 right now...
>
> You don't need to install Fedora, just read the code! :-)
>
> The bug is obvious and it's
David Miller wrote:
> From: Herbert Xu <[EMAIL PROTECTED]>
> Date: Mon, 8 Oct 2007 14:19:42 +0800
>
>> On Sun, Oct 07, 2007 at 11:16:08PM -0700, David Miller wrote:
>>> diff --git a/net/ipv6/route.c b/net/ipv6/route.c
>>> index a7db84c..7109ad6 100644
>>> --- a/net/ipv6/route.c
>>> +++
David Miller wrote:
From: Herbert Xu [EMAIL PROTECTED]
Date: Mon, 8 Oct 2007 14:19:42 +0800
On Sun, Oct 07, 2007 at 11:16:08PM -0700, David Miller wrote:
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index a7db84c..7109ad6 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@
1 - 100 of 123 matches
Mail list logo