test_nx.ko incompatible with x86 relative exception table,
which was added in commit 706276543b699d80f546e45f8b12574e7b18d952
also it conflicts with CONFIG_DEBUG_SET_MODULE_RONX=y, because it
wants to modify write-protected data.
--
To unsubscribe from this list: send the line unsubscribe
, Konstantin Khlebnikov wrote:
Hugh Dickins wrote:
If I boot with mem=900M (and 1G swap: either on hard disk sda, or
on Vertex II SSD sdb), and mmap anonymous 1000M (either MAP_PRIVATE,
or MAP_SHARED for a shmem object), and either cycle sequentially round
that making 5M touches (spaced a page
Hugh Dickins wrote:
On Thu, 4 Oct 2012, Konstantin Khlebnikov wrote:
Here results of my test. Workload isn't very realistic, but at least it
threaded: compiling linux-3.6 with defconfig in 16 threads on tmpfs,
512mb ram, dualcore cpu, ordinary hard disk. (test script in attachment)
average
This fixes bug introduced in commit mm: kill vma flag VM_CAN_NONLINEAR,
vma-vm_ops must be checked before checking vm_ops-remap_pages.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Reported-by: Sasha Levin levinsasha...@gmail.com
---
mm/fremap.c |2 +-
1 file changed, 1
I run into the same regression in s2ram between v3.5-rc6 and v3.5-rc7.
This patch helps. Thanks.
Tested-by: Konstantin Khlebnikov khlebni...@openvz.org
John Stultz wrote:
From: Thomas Gleixnert...@linutronix.de
Linus,
Since Thomas is on vacation I wanted to send you his fix to resolve
Naoya Horiguchi wrote:
On Thu, Mar 28, 2013 at 09:03:16PM +0400, Konstantin Khlebnikov wrote:
Naoya Horiguchi wrote:
Currently we fail to include any data on hugepages into coredump,
because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently
introduced by commit 314e51b98 mm
Konstantin Khlebnikov wrote:
Naoya Horiguchi wrote:
On Thu, Mar 28, 2013 at 09:03:16PM +0400, Konstantin Khlebnikov wrote:
Naoya Horiguchi wrote:
Currently we fail to include any data on hugepages into coredump,
because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently
BUMP. This is degradation from 3.8, so this patch must be in 3.9.
I still don't like this forced clearing bus-master bit. But this hack
definitely fixes problems in kexec, so there is reason to keep it here.
Konstantin Khlebnikov wrote:
This is fix for commit
Naoya Horiguchi wrote:
Hi,
Here is 2nd version of hugepage coredump fix.
See individual patches for more details.
Thanks,
Naoya Horiguchi
ACK to both patches
VM_* bits cleanup patchset was merged into v3.7, so only two recent stable
kernels needs this fix.
--
To unsubscribe from this
Vivek Goyal wrote:
On Wed, Mar 13, 2013 at 06:53:16PM +0400, Konstantin Khlebnikov wrote:
[..]
PCI: Don't try to disable Bus Master on disconnected PCI devices
From: Konstantin Khlebnikovkhlebni...@openvz.org
This is fix for commit 7897e6022761ace7377f0f784fca059da55f5d71 from v3.9-rc1
(PCI
one bug uncovers another:
-shutdown() callback might switch device to deep sleep state.
PCI config space no longer available after that.
Link: https://lkml.org/lkml/2013/3/12/529
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Reported-and-Tested-by: Vivek Goyal vgo...@redhat.com
Cc: Bjorn
Jiri Slaby wrote:
On 03/12/2013 06:17 PM, Borislav Petkov wrote:
On Mon, Mar 11, 2013 at 09:25:37PM +0100, Borislav Petkov wrote:
Yeah, it is already upstream. And yeah, it did trigger with it.
$ git describe
v3.9-rc2-112-g7c6baa304b84
But it somehow doesn't trigger with that same kernel
This patch improves readability of complicated expressions.
before:
Selected by: A AA AAA || B BB (BBB || ) || C CC CCC
after:
Selected by: A AA AAA
|| B BB (BBB || )
|| C CC CCC
Modules' config options usually comes first in these blocks.
Signed-off-by: Konstantin
optional dependencies without introducing new
kconfig symbol for each pair of connected kconfig options.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Andrew Morton a...@linux-foundation.org
Cc: Michal Marek mma...@suse.cz
Cc: linux-kbu...@vger.kernel.org
---
Documentation/kbuild
As proof of concept for new approach in managing cross-module dependencies this
patch resolves hard depencency between CONFIG_E1000E and CONFIG_PTP_1588_CLOCK.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/intel
module-A is available.
Objects from module_b-m will be linked only if CONFIG_MODULE_B=m.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Andrew Morton a...@linux-foundation.org
Cc: Michal Marek mma...@suse.cz
Cc: linux-kbu...@vger.kernel.org
---
Documentation/kbuild/makefiles.txt | 14
After this patch function ptp_clock_index(struct ptp_clock *ptp)
returns -1 if ptp is NULL or CONFIG_PTP_1588_CLOCK disabled.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Richard Cochran richardcoch...@gmail.com
---
drivers/net/ethernet/broadcom/tg3.c |5
Richard Cochran wrote:
On Thu, Mar 21, 2013 at 12:22:57PM +0400, Konstantin Khlebnikov wrote:
This patch adds new kind of dependencies between kconfig symbols,
and new kconfig keyword 'apply' for them.
'apply' works mostly like 'select', but it allows to disable target symbol.
Thus target
Naoya Horiguchi wrote:
Currently we fail to include any data on hugepages into coredump,
because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently
introduced by commit 314e51b98 mm: kill vma flag VM_RESERVED and
mm-reserved_vm counter. This looks to me a serious regression,
so
Greg Kroah-Hartman wrote:
3.8-stable review patch. If anyone has any objections, please let me know.
Vivek Goyal reported about problem caused by this improper fix.
https://lkml.org/lkml/2013/3/12/529
(this patch also pending to 3.0-stable and 3.4-stable)
--
From:
Konstantin Khlebnikov wrote:
Greg Kroah-Hartman wrote:
3.8-stable review patch. If anyone has any objections, please let me know.
Vivek Goyal reported about problem caused by this improper fix.
https://lkml.org/lkml/2013/3/12/529
(this patch also pending to 3.0-stable and 3.4-stable
Vivek Goyal wrote:
On Wed, Mar 13, 2013 at 11:46:29AM +0400, Konstantin Khlebnikov wrote:
[..]
Ok, some more observation.
- Problem seems to be in during shutdown path. Because older kernel 3.8
can kexec into newer kernel 3.9.rc1 but not vice-a-versa.
I did git bisecting and following
fix for a21813be23329e2788164eab532e79cb0e513cfc (linux-next)
procfs: improve scaling in proc
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Nathan Zimmer nzim...@sgi.com
Cc: Andrew Morton a...@linux-foundation.org
---
fs/proc/inode.c |3 ++-
1 file changed, 2 insertions
This patch fixes warning from lockdep caused by calling cancel_work_sync()
for uninitialized struct work. This path has been triggered by destructon
kmem-cache hierarchy via destroying its root kmem-cache.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Glauber Costa glom
This patch adds single WARN_ONCE() check for catching 'enable_cnt' imbalances.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: linux-...@vger.kernel.org
Cc: Bjorn Helgaas bhelg...@google.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
---
drivers/pci/pci.c |3 +++
1 file
like custom 'enable_wakeup' sign.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan bruce.w.al...@intel.com
---
drivers/net/ethernet/intel
This patch fixes some annoying messages like 'Error reading PHY register' and
'Hardware Erorr' and saves several seconds on reboot.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher
()
that means device alredy prepared for wakeup and probably no longer accessible.
Thus driver must either do all actions or leave all these tasks to PCI
subsystem.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: Bjorn Helgaas bhelg
in the -slot_reset() callback.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org # add comment
Cc: linux-...@vger.kernel.org
Cc: Bjorn Helgaas bhelg...@google.com
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
---
drivers/pci/pci-driver.c |4
1 file changed, 4 insertions(+)
diff --git
should leave here only warning and disable bus-mastering for each
driver individually in -shutdown() callback.
Link: https://lkml.org/lkml/2012/6/6/278
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: Bjorn Helgaas bhelg...@google.com
Cc
/147
---
Konstantin Khlebnikov (6):
e1000e: fix pci-device enable-counter balance
PCI: don't touch enable_cnt in pci_device_shutdown()
PCI: catch enable-counter underflows
e1000e: fix runtime power management transitions
PCI/PM: warn about incomplete actions
support (rev. 4)) in v2.6.35
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan bruce.w.al...@intel.com
---
drivers/net/ethernet/intel/e1000e
Hugh Dickins wrote:
On Sat, 2 Feb 2013, Konstantin Khlebnikov wrote:
Johannes Weiner wrote:
In shmem_find_get_pages_and_swap, use the faster radix tree iterator
construct from 78c1d78 radix-tree: introduce bit-optimized iterator.
Signed-off-by: Johannes Weinerhan...@cmpxchg.org
Hmm, ACK
Rafael J. Wysocki wrote:
On Monday, February 04, 2013 03:56:12 PM Konstantin Khlebnikov wrote:
Documentation/power/pci.txt says:
| It is expected that the device driver's pm-runtime_suspend() callback will
| not attempt to prepare the device for signaling wakeup or to put it into a
| low-power
Rafael J. Wysocki wrote:
On Tuesday, January 29, 2013 10:32:14 AM Konstantin Khlebnikov wrote:
Rafael J. Wysocki wrote:
On Monday, January 28, 2013 04:05:33 PM Bjorn Helgaas wrote:
[+cc Rafael, author of patch you cited]
On Fri, Jan 18, 2013 at 4:42 AM, Konstantin Khlebnikov
khlebni
Johannes Weiner wrote:
In shmem_find_get_pages_and_swap, use the faster radix tree iterator
construct from 78c1d78 radix-tree: introduce bit-optimized iterator.
Signed-off-by: Johannes Weinerhan...@cmpxchg.org
Hmm, ACK. shmem_unuse_inode() also can be redone in this way.
I did something
Rafael J. Wysocki wrote:
On Tuesday, January 29, 2013 12:55:15 PM Rafael J. Wysocki wrote:
On Tuesday, January 29, 2013 11:04:57 AM Konstantin Khlebnikov wrote:
Rafael J. Wysocki wrote:
On Monday, January 28, 2013 04:17:42 PM Bjorn Helgaas wrote:
[+cc Rafael]
On Fri, Jan 18, 2013 at 4:42 AM
Rafael J. Wysocki wrote:
On Saturday, February 02, 2013 09:58:45 PM Rafael J. Wysocki wrote:
On Saturday, February 02, 2013 04:12:03 PM Konstantin Khlebnikov wrote:
Rafael J. Wysocki wrote:
On Tuesday, January 29, 2013 12:55:15 PM Rafael J. Wysocki wrote:
On Tuesday, January 29, 2013 11:04
Waskiewicz Jr, Peter P wrote:
On 2/24/2013 9:19 PM, Konstantin Khlebnikov wrote:
This patch fixes some annoying messages like 'Error reading PHY register' and
'Hardware Erorr' and saves several seconds on reboot.
Any networking-related patches should also include net...@vger.kernel.org
Ben Hutchings wrote:
On Tue, 2013-02-26 at 14:03 +0400, Konstantin Khlebnikov wrote:
Waskiewicz Jr, Peter P wrote:
On 2/24/2013 9:19 PM, Konstantin Khlebnikov wrote:
This patch fixes some annoying messages like 'Error reading PHY register' and
'Hardware Erorr' and saves several seconds
schedule_delayed_work() available for non-GPL.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Tejun Heo t...@kernel.org
Cc: sta...@vger.kernel.org # 3.7
---
kernel/workqueue.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/workqueue.c b/kernel
Rafael J. Wysocki wrote:
On Monday, January 28, 2013 04:05:33 PM Bjorn Helgaas wrote:
[+cc Rafael, author of patch you cited]
On Fri, Jan 18, 2013 at 4:42 AM, Konstantin Khlebnikov
khlebni...@openvz.org wrote:
Bug was introduced in commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133
(e1000e
Bjorn Helgaas wrote:
[+cc Rafael @sisk.pl]
On Mon, Jan 28, 2013 at 4:09 PM, Bjorn Helgaasbhelg...@google.com wrote:
[+cc Rafael]
On Fri, Jan 18, 2013 at 4:42 AM, Konstantin Khlebnikov
khlebni...@openvz.org wrote:
__e1000_shutdown() calls pci_disable_device() at the end, thus __e1000_resume
Rafael J. Wysocki wrote:
On Monday, January 28, 2013 04:17:42 PM Bjorn Helgaas wrote:
[+cc Rafael]
On Fri, Jan 18, 2013 at 4:42 AM, Konstantin Khlebnikov
khlebni...@openvz.org wrote:
This patch effectively reverts commit 42eca2302146fed51335b95128e949ee6f54478f
(PCI: Don't touch card regs
faster than sequence
mm_take_all_locks() - mm_drop_all_locks(). mm_synchronize_all_locks() needs only
mmap_sem read-lock, but caller must lock mmap_sem for write at least once to
synchronize with the rest operations which are protected with mmap_sem
read-lock.
Signed-off-by: Konstantin Khlebnikov
.
But that commit renames only anon_vma_lock()
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Ingo Molnar mi...@kernel.org
Cc: Rik van Riel r...@redhat.com
---
include/linux/huge_mm.h |2 +-
include/linux/rmap.h|2 +-
mm/huge_memory.c|6 +++---
mm/mmap.c
---
Konstantin Khlebnikov (5):
e1000e: fix resuming from runtime-suspend
e1000e: fix pci device enable counter balance
PCI: revert preparing for wakeup in runtime-suspend finalization
PCI: don't touch enable_cnt in pci_device_shutdown()
PCI: catch enable-counter
Bug was introduced in commit 23606cf5d1192c2b17912cb2ef6e62f9b11de133
(e1000e / PCI / PM: Add basic runtime PM support (rev. 4)) in v2.6.35
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan
it as an exception. Its driver should set device state to D3cold and
the rest code will handle it properly.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: linux-...@vger.kernel.org
Cc: Bjorn Helgaas bhelg...@google.com
Cc: Dave Airlie airl...@redhat.com
---
drivers/pci/pci-driver.c |5
unconditionally and doesn't changes enable_cnt.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: linux-...@vger.kernel.org
Cc: Bjorn Helgaas bhelg...@google.com
Cc: Khalid Aziz khalid.a...@hp.com
---
drivers/pci/pci-driver.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
This patch adds single WARN_ONCE() check for catching 'enable_cnt' imbalances.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: linux-...@vger.kernel.org
Cc: Bjorn Helgaas bhelg...@google.com
---
drivers/pci/pci.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan bruce.w.al...@intel.com
---
drivers/net/ethernet/intel/e1000e/netdev.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net
Borislav Petkov wrote:
On Thu, Feb 14, 2013 at 10:17:46AM -0700, Bjorn Helgaas wrote:
On Thu, Feb 14, 2013 at 7:39 AM, Borislav Petkovb...@suse.de wrote:
On Sun, Feb 03, 2013 at 03:46:56PM +0100, Borislav Petkov wrote:
On Sun, Feb 03, 2013 at 12:04:46AM +0100, Rafael J. Wysocki wrote:
The
here some fixes for e1000e driver from:
https://lkml.org/lkml/2013/2/4/185
The rest patches from that patchset already committed.
---
Konstantin Khlebnikov (3):
e1000e: fix pci-device enable-counter balance
e1000e: fix runtime power management transitions
e1000e: fix accessing
support (rev. 4)) in v2.6.35
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan bruce.w.al...@intel.com
---
drivers/net/ethernet/intel/e1000e
like custom 'enable_wakeup' sign.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff Kirsher jeffrey.t.kirs...@intel.com
Cc: Bruce Allan bruce.w.al...@intel.com
---
drivers/net/ethernet
This patch fixes some annoying messages like 'Error reading PHY register' and
'Hardware Erorr' and saves several seconds on reboot.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com
Cc: e1000-de...@lists.sourceforge.net
Cc: Jeff
/linux-mm/msg41128.html
mine version uses system wide state rather than per-VMA counters.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Shaohua Li s...@kernel.org
Cc: Rik van Riel r...@redhat.com
Cc: Minchan Kim minc...@kernel.org
---
include/linux/page-flags.h |1 +
mm
Hugh Dickins wrote:
On Thu, 13 Sep 2012, Johannes Weiner wrote:
On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote:
root_mem_cgroup-info.nodeinfo is initialized when the system boots.
But NODE_DATA(nid) is null if the node is not onlined, so
This patchset kills some VM_* flags in vma-vm_flags,
as result there appears five free bits.
Changes since v2 [ https://lkml.org/lkml/2012/4/7/67 ]
* killing VM_EXECUTABLE combined back into single patch
* new (the biggest one) patch which kills VM_RESERVED
---
Konstantin Khlebnikov (8
to paddr conversion]
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
---
arch/x86/mm/pat.c
over the ownership of setting PAT specific vm_flag in the 'vma'.
[khlebni...@openvz.org: Clear checks in track_pfn_remap()]
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin
the VM_PAT flag as part of untrack_pfn_vma()]
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
- VM_ARCH_1 - -
And voila! One completely free bit.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
---
include/linux/mm.h | 34 +-
mm/huge_memory.c |2 +-
mm/ksm.c |7 ++-
3 files changed, 28
() handler under mm-mmap_sem write-lock, so it able to change
vma-vm_flags. Caller must set VM_MIXEDMAP at mmap time if it wants to call
this function from other places, for example from page-fault handler.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Peter Zijlstra a.p.zijls
this method and obtain nonlinear vma support.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Alexander Viro v...@zeniv.linux.org.uk
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
---
drivers/staging/android/ashmem.c |1 -
fs/9p/vfs_file.c |1
Some security modules and oprofile still uses VM_EXECUTABLE for retrieving
task's executable file, after this patch they will use mm-exe_file directly.
mm-exe_file protected with mm-mmap_sem, so locking stays the same.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Acked-by: Chris
mappings
VM_SPECIAL (VM_IO | VM_DONTEXPAND | VM_RESERVED | VM_PFNMAP)
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Jason Baron jba...@redhat.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Hugh Dickins hu...@google.com
---
fs/binfmt_elf.c|2 +-
include/linux/mm.h |2 +-
mm
into userspace directly,
it only reduces total_vm showed in proc.
Thus VM_RESERVED can be replaced with VM_IO or pair VM_DONTEXPAND | VM_DONTDUMP.
remap_pfn_range() and io_remap_pfn_range() set VM_IO|VM_DONTEXPAND|VM_DONTDUMP.
remap_vmalloc_range() set VM_DONTEXPAND | VM_DONTDUMP.
Signed-off-by: Konstantin
with mm-mmap_sem, because we want to change it
via new sys_prctl(PR_SET_MM_EXE_FILE). Also via this syscall task can change
its mm-exe_file and unpin mountpoint explicitly.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Matt Helsley matth...@us.ibm.com
Cc: Oleg Nesterov o
which kills VM_RESERVED
---
Konstantin Khlebnikov (8):
mm, x86, pat: rework linear pfn-mmap tracking
mm: introduce arch-specific vma flag VM_ARCH_1
mm: kill vma flag VM_INSERTPAGE
mm: kill vma flag VM_CAN_NONLINEAR
mm: use mm-exe_file instead of first VM_EXECUTABLE
to paddr conversion]
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
---
arch/x86/mm/pat.c
over the ownership of setting PAT specific vm_flag in the 'vma'.
[khlebni...@openvz.org: Clear checks in track_pfn_remap()]
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin
- VM_ARCH_1 - -
And voila! One completely free bit.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
---
include/linux/mm.h | 34 +-
mm/huge_memory.c |2 +-
mm/ksm.c |7 ++-
3 files changed, 28
this method and obtain nonlinear vma support.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Alexander Viro v...@zeniv.linux.org.uk
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
---
drivers/staging/android/ashmem.c |1 -
fs/9p/vfs_file.c |1
Some security modules and oprofile still uses VM_EXECUTABLE for retrieving
task's executable file, after this patch they will use mm-exe_file directly.
mm-exe_file protected with mm-mmap_sem, so locking stays the same.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Acked-by: Chris
with mm-mmap_sem, because we want to change it
via new sys_prctl(PR_SET_MM_EXE_FILE). Also via this syscall task can change
its mm-exe_file and unpin mountpoint explicitly.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Matt Helsley matth...@us.ibm.com
Cc: Oleg Nesterov o
into userspace directly,
it only reduces total_vm showed in proc.
Thus VM_RESERVED can be replaced with VM_IO or pair VM_DONTEXPAND | VM_DONTDUMP.
remap_pfn_range() and io_remap_pfn_range() set VM_IO|VM_DONTEXPAND|VM_DONTDUMP.
remap_vmalloc_range() set VM_DONTEXPAND | VM_DONTDUMP.
Signed-off-by: Konstantin
mappings
VM_SPECIAL (VM_IO | VM_DONTEXPAND | VM_RESERVED | VM_PFNMAP)
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Jason Baron jba...@redhat.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Hugh Dickins hu...@google.com
---
fs/binfmt_elf.c|2 +-
include/linux/mm.h |2 +-
mm
() handler under mm-mmap_sem write-lock, so it able to change
vma-vm_flags. Caller must set VM_MIXEDMAP at mmap time if it wants to call
this function from other places, for example from page-fault handler.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Peter Zijlstra a.p.zijls
the VM_PAT flag as part of untrack_pfn_vma()]
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Signed-off-by: Suresh Siddha suresh.b.sid...@intel.com
Cc: Venkatesh Pallipadi ve...@google.com
Cc: H. Peter Anvin h...@zytor.com
Cc: Nick Piggin npig...@kernel.dk
Cc: Ingo Molnar mi...@redhat.com
This patch removes hardcoded sysfs attributes manipulation and
converts them into generic pci_bus-dev_attrs. This saves several bytes.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
---
drivers/pci/pci-driver.c | 57 --
1 file changed, 10
hardware,
but such bugs blocks mine automatic testing for allmodconfig kernels.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Wim Van Sebroeck w...@iguana.be
Cc: linux-watch...@vger.kernel.org
Cc: Alan Cox a...@lxorguk.ukuu.org.uk
---
by default driver uses 10th irq, on my machine
Hugh Dickins wrote:
On Fri, 14 Dec 2012, Konstantin Khlebnikov wrote:
Content of non-uptodate pages completely random, we cannot expose them into
userspace. This leads to information leak and will crash userspace for sure.
Good find, yes, it's very wrong as is. But, sorry, I don't like your
Konstantin Khlebnikov wrote:
eurotechwdt hasn't any PCI-ID or DMI checks, thus is can be loaded on any
hardware. On my PC this leads to immediate reboot, because driver got irq right
after registering irq handler. This patch rejects interrupts until device
activation. There is no sense to load
Andrew Morton wrote:
On Mon, 17 Dec 2012 20:45:13 -0800 (PST)
Hugh Dickinshu...@google.com wrote:
On Fri, 14 Dec 2012, Konstantin Khlebnikov wrote:
This bio pool guarantees reclaiming progress for anonymous pages.
All avaliable bio in fs_bio_set may be borrowed by writeback which may
never
Konstantin Khlebnikov wrote:
Seems like it's unrelated to e1000e driver itself, because I tried to
revert all it's changes down to 3.6 one by one and it does not help.
Looks like regression somewhere in pci-bus irq or power-management.
because I see underflow of counter pci_dev-enable_cnt
Konstantin Khlebnikov wrote:
Konstantin Khlebnikov wrote:
Seems like it's unrelated to e1000e driver itself, because I tried to
revert all it's changes down to 3.6 one by one and it does not help.
Ouch, 3.6 also affected, seems like I was more lucky at that time and
bug never showed up.
root
-freq_table is NULL.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Rafael J. Wysocki r...@sisk.pl
Cc: cpufreq cpuf...@vger.kernel.org
Cc: linux-pm linux...@vger.kernel.org
---
1[ 363.116198] BUG: unable to handle kernel NULL pointer dereference at
(null)
1[ 363.116668] IP
()
drm_fb_helper_dpms()
mutex_lock(dev-mode_config.mutex)
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Andrew Morton a...@linux-foundation.org
Cc: David Airlie airl...@linux.ie
Cc: dri-de...@lists.freedesktop.org
---
drivers/gpu/drm/drm_fb_helper.c | 25 +
1 file changed
Content of non-uptodate pages completely random, we cannot expose them into
userspace. This leads to information leak and will crash userspace for sure.
Probably we can reuse hwpoison entries here, but tmpfs already too complex.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Original
on top of special fuse-based filesystem.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Andrew Morton a...@linux-foundation.org
Cc: Hugh Dickins hu...@google.com
---
mm/page_io.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/mm/page_io.c b/mm
()
global_clock_event-event_handler()
OOPS
Signed-off-by: Vladimir Davydov vdavy...@parallels.com
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Thomas Gleixner t...@linutronix.de
---
previous (failed) attempt of submitting this patch:
http
-by: Konstantin Khlebnikov khlebni...@openvz.org
Signed-off-by: Borislav Petkov b...@alien8.de
Signed-off-by: Jeff Garzik jgar...@redhat.com
---
Sep 27 13:48:23 buzz kernel: [ 63.815060] ACPI: PCI Interrupt Link [APSI]
enabled at IRQ 20
Sep 27 13:48:23 buzz kernel: [ 63.987035] scsi0 : pata_acpi
Sep
protection for loadable kernel modules)
thus fourth testcase can be enabled.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Arjan van de Ven ar...@linux.intel.com
Cc: H. Peter Anvin h...@zytor.com
Cc: x...@kernel.org
---
sample oops on module loading before this patch:
[2.343411
--verbose --ignore-remove
--ignore-install
#
# overriding priority: MODULES EXCLUDE_* = LOADED INCLUDE_*
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Cc: Jon Masters j...@redhat.com
Cc: linux-modu
CONFIG_DEBUG_OBJECTS_DRIVERS together with CONFIG_DEBUG_OBJECTS_FREE can catch
unloading device driver modules without proper unregistering.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Cc: Thomas Gleixner t...@linutronix.de
Using timer_pending() without additional syncronization is racy,
del_timer_sync() must be used here for waiting in-flight handler.
Bug caught with help from debug-objects during random insmod/rmmod.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Karsten Keil i...@linux-pingi.de
Cc
This patch forbids loading vme_pio2 module without specifing num_bus
parameter.
Otherwise on module unloading pio2_exit() calls vme_unregister_driver() for not
registered pio2_driver.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Martyn Welch martyn.we...@ge.com
Cc: Manohar
or cancel/wait pending
work on unloading, because this leads to deadlock on modules_mutex
between several modprobe processes.
Signed-off-by: Konstantin Khlebnikov khlebni...@openvz.org
Cc: Mauro Carvalho Chehab mche...@redhat.com
Cc: linux-me...@vger.kernel.org
---
drivers/media/rc/ir-raw.c
1 - 100 of 2011 matches
Mail list logo