Re: [Devel] [RFC PATCH 2/2] autofs: sent 32-bit sized packet for 32-bit process

2017-08-31 Thread Dmitry V. Levin
On Thu, Aug 31, 2017 at 05:57:11PM +0400, Stanislav Kinsburskiy wrote: > The structure autofs_v5_packet (except name) is not aligned by 8 bytes, which > lead to different sizes in 32 and 64-bit architectures. > Let's form 32-bit compatible packet when daemon has 32-bit addressation. > > Signed-off

[Devel] [PATCH RHEL7 COMMIT] mm: Count list_lru_one::nr_items lockless

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 6fd774dbf6fd05eca8cfa192753bf35dac694368 Author: Kirill Tkhai Date: Thu Aug 31 18:25:20 2017 +0300 mm: Count li

[Devel] [PATCH RHEL7 COMMIT] mm: Make list_lru_node::memcg_lrus RCU protected

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 5db3da0bf7112c551ca9ce90b1c0e8a2bcad9ac1 Author: Kirill Tkhai Date: Thu Aug 31 18:25:20 2017 +0300 mm: Make lis

[Devel] [PATCH RHEL7 COMMIT] mm: Add rcu field to struct list_lru_memcg

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit b3b3ea1125f07f57ea0f95b29ad368934cc7bb53 Author: Kirill Tkhai Date: Thu Aug 31 18:25:19 2017 +0300 mm: Add rcu

[Devel] [PATCH RHEL7 COMMIT] tcache: Cleanup unused expression from tcache_lru_isolate()

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 389f1b056f987726601af0399791b18f107436c5 Author: Kirill Tkhai Date: Thu Aug 31 18:18:18 2017 +0300 tcache: Clea

[Devel] [PATCH RHEL7 COMMIT] tcache: Make tcache_lru_isolate() keep ni->lock less

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 05e159ab7e5981fc76950e8e999d5f855d9313f7 Author: Kirill Tkhai Date: Thu Aug 31 18:18:20 2017 +0300 tcache: Make

[Devel] [PATCH RHEL7 COMMIT] tcache: Use ni->lock only for inserting and erasing from rbtree.

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 342e800a8b114e74c372374268812ce2612a26aa Author: Kirill Tkhai Date: Thu Aug 31 18:18:22 2017 +0300 tcache: Use

[Devel] [PATCH RHEL7 COMMIT] tcache: Remove excess variable from tcache_lru_isolate()

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit e6c8082f25609c977202364e85e72f6c2442d4b5 Author: Kirill Tkhai Date: Thu Aug 31 18:18:19 2017 +0300 tcache: Remo

[Devel] [PATCH RHEL7 COMMIT] tcache: Cache rb_first() of reclaim tree in tcache_nodeinfo::rb_first

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 5a95787003bdb2cbd00fa9111a3ef67aec05468c Author: Kirill Tkhai Date: Thu Aug 31 18:18:20 2017 +0300 tcache: Cach

[Devel] [PATCH RHEL7 COMMIT] tcache: Add tcache_pool_nodeinfo::lock

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 13afaf53ede5cb733a5dba3319bcffea95fe9f48 Author: Kirill Tkhai Date: Thu Aug 31 18:18:18 2017 +0300 tcache: Add

[Devel] [PATCH RHEL7 COMMIT] tcache: Move add/sub out of pni->lock

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 673358de1fce85596dcd17e1bde8b7a9639fcc1c Author: Kirill Tkhai Date: Thu Aug 31 18:18:22 2017 +0300 tcache: Move

[Devel] [PATCH RHEL7 COMMIT] tcache: Decrement removed from LRU pages out of __tcache_lru_del()

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit eb34be224b7ca575751cc6f9752a7f8171c5c4f7 Author: Kirill Tkhai Date: Thu Aug 31 18:18:17 2017 +0300 tcache: Decr

[Devel] [PATCH RHEL7 COMMIT] tcache: Make tcache_nodeinfo::nr_pages atomic_long_t

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 89f8a885e1deeff230554cf1c4dcd323fcbaa9ea Author: Kirill Tkhai Date: Thu Aug 31 18:18:21 2017 +0300 tcache: Make

[Devel] [PATCH RHEL7 COMMIT] tcache: Move erase-insert logic out of tcache_check_events()

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit e6e93d14b403bd4176358427d6f7f0e1c252ea5e Author: Kirill Tkhai Date: Thu Aug 31 18:18:21 2017 +0300 tcache: Move

[Devel] [PATCH RHEL7 COMMIT] Revert "autofs: fix autofs_v5_packet structure for compat mode"

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit a24e586ec36bf182a3261a9608e8515d424b242e Author: Konstantin Khorenko Date: Thu Aug 31 17:56:44 2017 +0300 Rever

Re: [Devel] [PATCH RHEL7 COMMIT] ms/mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp

2017-08-31 Thread Konstantin Khorenko
Please consider to prepare a ReadyKernel patch for it. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/31/2017 05:51 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://sr

[Devel] [PATCH RHEL7 COMMIT] ms/mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit f5b413ea4e53d819c8b4e4a4927fb563bd3ec24f Author: Keno Fischer Date: Thu Aug 31 17:51:25 2017 +0300 ms/mm/huge_m

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for coredump event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit b6d449038da008a26835e1ae16292869b1fe80aa Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:36 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: take number of listeners and per-cpu conters from VE

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 06bed1f6e4442906e11d86763920b00f107a2112 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:40 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: store all private data on VE structure

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit a74b5b56cac3c2212351dbc1e9ca957789221347 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:28 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for comm event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 5e8a090a6347dc8364c23612aaf6a225254a0c53 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:36 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: add VE SS hook

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 07e77673691685713f04bd6b84fc0e07eae57158 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:45 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: send events to both VEs if not in VE#0

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 4ba0afbe02d33bf2e906209521bb59e7fa0def73 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:43 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: add pid namespace awareness

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit d53ad1ca8439459567dbb732ea568ae75cb9a6b3 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:38 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: take VE from socket upon callback

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit d7f362627da257bcb656a806fa0ece3743371fd4 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:44 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] connector: use device stored in VE

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 0773323bf46b0b99e6095a74cc1e1cd46dd18752 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:30 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: pass VE to event fillers

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 472f0bf7498a2c07fb5e3764cda8036314497bf9 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:40 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: call proc-related init and fini routines explicitly

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 33a6978beb7622e8e97837904db45d7432776bb5 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:39 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: take namespaces from VE

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit ea9dfef19a855fe11f8caab1aaee1ca8263176fe Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:41 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: introduce VE-aware get_cdev() helper

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 1dd02e8904050497fc1eb9c74485c526184679b0 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:28 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: use per-ve netlink sender helper

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit df6a3526acfae69476e008569e659ac52374950c Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:42 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: add per-ve init and fini foutines

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit ed6801f36adefd236c8d87418518763e876fb1ad Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:38 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: remove redundant input callback from cn_dev

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit b36f8c16abd69f33268c7b57613f529252a28075 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:27 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: generic proc_event_connector() helper introduced

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit b4a281062d0770311132bc2a19b6797f63abe161 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:32 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: containerize "connector" proc entry

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 2100a680437f0c26d65ab4e304cc274399ccbcf3 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:43 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for id event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 34e9dc939d3adba763404a3e97b38a4255dd1e02 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:34 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: per-ve helpers intoruduced

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 596e20e4cfc9660a390027c3d5b5d2d9fc61b203 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:30 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for exit event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 72677a7d7de095a6c32f7f1c41e32fc3173337fd Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:37 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for sid event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 9de4dc2591367ad8b7276ba1b8c723cb9960e9e9 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:34 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for ptrace event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit c4c0ba8521053013532de1e7db5ec3b5d27276c2 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:35 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for exec event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit ea2114f455580db5ab66460c31c19efbb7f716b2 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:33 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: take cn_already_initialized from VE

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit a66190eb61ac389d0060e3cff22f76cff0bf4c3d Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:31 2017 +0300 con

[Devel] [PATCH RHEL7 COMMIT] proc connector: use generic event helper for fork event

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit b9b0ba3dfa697a80078cbef06b13caf3c14ec249 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:32 2017 +0300 pro

[Devel] [PATCH RHEL7 COMMIT] connector: per-ve init and fini helpers introduced

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 37c6a11416ce88290d381482e0b8bf568dc59e97 Author: Stanislav Kinsburskiy Date: Thu Aug 31 17:40:29 2017 +0300 con

[Devel] [RFC PATCH 2/2] autofs: sent 32-bit sized packet for 32-bit process

2017-08-31 Thread Stanislav Kinsburskiy
The structure autofs_v5_packet (except name) is not aligned by 8 bytes, which lead to different sizes in 32 and 64-bit architectures. Let's form 32-bit compatible packet when daemon has 32-bit addressation. Signed-off-by: Stanislav Kinsburskiy --- fs/autofs4/waitq.c | 11 +-- 1 file ch

[Devel] [RFC PATCH 1/2] autofs: set compat flag on sbi when daemon uses 32bit addressation

2017-08-31 Thread Stanislav Kinsburskiy
Signed-off-by: Stanislav Kinsburskiy --- fs/autofs4/inode.c | 16 1 file changed, 16 insertions(+) diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index b23cf2a..989ac38 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c @@ -217,6 +217,7 @@ int autofs4_fill_super(st

[Devel] [RFC PATCH 0/2] autofs: add "compat" support

2017-08-31 Thread Stanislav Kinsburskiy
The idea is simple: reduce autofs_v5_packet for 32bit damon on 64bit architectures. --- Stanislav Kinsburskiy (2): autofs: set compat flag on sbi when daemon uses 32bit addressation autofs: sent 32-bit sized packet for 32-bit process fs/autofs4/inode.c | 16 fs/a

Re: [Devel] [PATCH rh7] tswap: Add support for zero-filled pages

2017-08-31 Thread Andrey Ryabinin
On 08/03/2017 12:54 PM, Kirill Tkhai wrote: > static int tswap_frontswap_store(unsigned type, pgoff_t offset, >struct page *page) > { > swp_entry_t entry = swp_entry(type, offset); > + int zero_filled = -1, err = 0; > struct page *cache_page; > -

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Stanislav Kinsburskiy
31.08.2017 15:05, Dmitry V. Levin пишет: > On Thu, Aug 31, 2017 at 02:40:23PM +0300, Dmitry V. Levin wrote: >> On Thu, Aug 31, 2017 at 01:48:27PM +0300, Stanislav Kinsburskiy wrote: >>> >>> >>> 31.08.2017 13:38, Dmitry V. Levin пишет: On Thu, Aug 31, 2017 at 02:11:34PM +0400, Stanislav Kinsb

Re: [Devel] [PATCH rh7 2/2] mm/memcg: reclaim only kmem if kmem limit reached.

2017-08-31 Thread Andrey Ryabinin
On 08/31/2017 12:58 PM, Konstantin Khorenko wrote: > Do we want to push it to mainstream as well? > I don't think so. Distributions are slowly moving towards v2 cgroup, where kmem limit simply doesn't exists. And for legacy cgroup v1 lack of reclaim on kmem limit hit wasn't a mistake but a del

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Dmitry V. Levin
On Thu, Aug 31, 2017 at 02:40:23PM +0300, Dmitry V. Levin wrote: > On Thu, Aug 31, 2017 at 01:48:27PM +0300, Stanislav Kinsburskiy wrote: > > > > > > 31.08.2017 13:38, Dmitry V. Levin пишет: > > > On Thu, Aug 31, 2017 at 02:11:34PM +0400, Stanislav Kinsburskiy wrote: > > >> Due to integer variabl

Re: [Devel] [PATCH rh7] tswap: Add support for zero-filled pages

2017-08-31 Thread Konstantin Khorenko
Andrey, please review the patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/03/2017 12:54 PM, Kirill Tkhai wrote: This patch makes tswap to do not allocate a new page, if swapped page is zero-filled, and to use ZERO_PAGE() pointer to decode it instead. The same op

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Dmitry V. Levin
On Thu, Aug 31, 2017 at 01:48:27PM +0300, Stanislav Kinsburskiy wrote: > > > 31.08.2017 13:38, Dmitry V. Levin пишет: > > On Thu, Aug 31, 2017 at 02:11:34PM +0400, Stanislav Kinsburskiy wrote: > >> Due to integer variables alignment size of struct autofs_v5_packet in 300 > >> bytes in 32-bit arch

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Stanislav Kinsburskiy
31.08.2017 13:38, Dmitry V. Levin пишет: > On Thu, Aug 31, 2017 at 02:11:34PM +0400, Stanislav Kinsburskiy wrote: >> Due to integer variables alignment size of struct autofs_v5_packet in 300 >> bytes in 32-bit architectures (instead of 304 bytes in 64-bits >> architectures). >> >> This may lead

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Dmitry V. Levin
On Thu, Aug 31, 2017 at 02:11:34PM +0400, Stanislav Kinsburskiy wrote: > Due to integer variables alignment size of struct autofs_v5_packet in 300 > bytes in 32-bit architectures (instead of 304 bytes in 64-bits architectures). > > This may lead to memory corruption (64 bits kernel always send 304

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Stanislav Kinsburskiy
Yes 31.08.2017 13:37, Konstantin Khorenko пишет: > Will you send it to mainstream as well? > > -- > Best regards, > > Konstantin Khorenko, > Virtuozzo Linux Kernel Team > > On 08/31/2017 01:11 PM, Stanislav Kinsburskiy wrote: >> Due to integer variables alignment size of struct autofs_v5_packe

Re: [Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Konstantin Khorenko
Will you send it to mainstream as well? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/31/2017 01:11 PM, Stanislav Kinsburskiy wrote: Due to integer variables alignment size of struct autofs_v5_packet in 300 bytes in 32-bit architectures (instead of 304 bytes in 64-bit

[Devel] [PATCH RHEL7 COMMIT] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit e484b0abe8af8793f58e6434060a3779261d3151 Author: Stanislav Kinsburskiy Date: Thu Aug 31 13:36:59 2017 +0300 aut

Re: [Devel] [PATCH RHEL7 COMMIT] ms/workqueue: fix ghost PENDING flag while doing MQ IO

2017-08-31 Thread Konstantin Khorenko
Please consider to release it as a ReadyKernel patch. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/31/2017 01:28 PM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src

[Devel] [PATCH RHEL7 COMMIT] ms/workqueue: fix ghost PENDING flag while doing MQ IO

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit f24bbb53d5035c7b13b5ecb61728d5f12240f139 Author: Roman Pen Date: Thu Aug 31 13:28:46 2017 +0300 ms/workqueue: f

[Devel] [PATCH RHEL7 COMMIT] fs-writeback: add endless writeback debug

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 1069e544ff85161d41fd3679c3d3b47dc3af5139 Author: Dmitry Monakhov Date: Fri Aug 25 13:16:52 2017 +0400 fs-writeb

[Devel] [PATCH] autofs: fix autofs_v5_packet structure for compat mode

2017-08-31 Thread Stanislav Kinsburskiy
Due to integer variables alignment size of struct autofs_v5_packet in 300 bytes in 32-bit architectures (instead of 304 bytes in 64-bits architectures). This may lead to memory corruption (64 bits kernel always send 304 bytes, while 32-bit userspace application expects for 300). https://jira.sw.r

[Devel] [PATCH RHEL7 COMMIT] mm/memcg: reclaim only kmem if kmem limit reached

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit aa84e9472d88646f993f8bf1f2eb03a6abad93cd Author: Andrey Ryabinin Date: Thu Aug 31 13:03:24 2017 +0300 mm/memcg:

[Devel] [PATCH RHEL7 COMMIT] ms/mm: use sc->priority for slab shrink targets

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 5a99b388025b5981f44c29588a22dc37607f990c Author: Josef Bacik Date: Thu Aug 31 13:03:23 2017 +0300 ms/mm: use sc

Re: [Devel] [PATCH rh7 2/2] mm/memcg: reclaim only kmem if kmem limit reached.

2017-08-31 Thread Konstantin Khorenko
Do we want to push it to mainstream as well? -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/25/2017 06:38 PM, Andrey Ryabinin wrote: If kmem limit on memcg reached, we go into memory reclaim, and reclaim everything we can, including page cache and anon. Reclaiming page

[Devel] [PATCH] zdtm: fix package memory allocation in autofs.c

2017-08-31 Thread Stanislav Kinsburskiy
Plus some cleanup. https://jira.sw.ru/browse/PSBM-71078 Signed-off-by: Stanislav Kinsburskiy --- test/zdtm/static/autofs.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/zdtm/static/autofs.c b/test/zdtm/static/autofs.c index 8d917ee..882289f 100644

Re: [Devel] [PATCH RHEL7 COMMIT] ms/block: Check for gaps on front and back merges

2017-08-31 Thread Konstantin Khorenko
Please consider to release a RK patch for it. https://readykernel.com/ -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/31/2017 11:59 AM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.

[Devel] [PATCH RHEL7 COMMIT] ms/block: Check for gaps on front and back merges

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 36178f3003689a99f0b58b6c12e235186952d9a9 Author: Maxim Patlasov Date: Thu Aug 31 11:59:13 2017 +0300 ms/block:

Re: [Devel] [PATCH RHEL7 COMMIT] mm/memcg: add missing kmem charge

2017-08-31 Thread Konstantin Khorenko
Please consider to release it as a ReadyKernel patch. https://readykernel.com/ (required only for vz7.33.22 kernel) -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/31/2017 11:52 AM, Konstantin Khorenko wrote: The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.

[Devel] [PATCH RHEL7 COMMIT] mm/memcg: add missing kmem charge

2017-08-31 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 --> commit 822bec288dcaf5f69c1ed3e64734230320c798ba Author: Andrey Ryabinin Date: Thu Aug 31 11:52:13 2017 +0300 mm/memcg: