* mmotm 2018-03-07-16-19 uploaded
@ 2018-03-08 0:20 akpm
2018-03-08 2:20 ` mmotm 2018-03-07-16-19 uploaded (UML & memcg) Randy Dunlap
0 siblings, 1 reply; 7+ messages in thread
From: akpm @ 2018-03-08 0:20 UTC (permalink / raw)
To: broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next,
mhocko, mm-commits, sfr
The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
http://www.ozlabs.org/~akpm/mmotm/
mmotm-readme.txt says
README for mm-of-the-moment:
http://www.ozlabs.org/~akpm/mmotm/
This is a snapshot of my -mm patch queue. Uploaded at random hopefully
more than once a week.
You will need quilt to apply these patches to the latest Linus release (4.x
or 4.x-rcY). The series file is in broken-out.tar.gz and is duplicated in
http://ozlabs.org/~akpm/mmotm/series
The file broken-out.tar.gz contains two datestamp files: .DATE and
.DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-ss,
followed by the base kernel version against which this patch series is to
be applied.
This tree is partially included in linux-next. To see which patches are
included in linux-next, consult the `series' file. Only the patches
within the #NEXT_PATCHES_START/#NEXT_PATCHES_END markers are included in
linux-next.
A git tree which contains the memory management portion of this tree is
maintained at git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git
by Michal Hocko. It contains the patches which are between the
"#NEXT_PATCHES_START mm" and "#NEXT_PATCHES_END" markers, from the series
file, http://www.ozlabs.org/~akpm/mmotm/series.
A full copy of the full kernel tree with the linux-next and mmotm patches
already applied is available through git within an hour of the mmotm
release. Individual mmotm releases are tagged. The master branch always
points to the latest release, so it's constantly rebasing.
http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/
To develop on top of mmotm git:
$ git remote add mmotm git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git
$ git remote update mmotm
$ git checkout -b topic mmotm/master
<make changes, commit>
$ git send-email mmotm/master.. [...]
To rebase a branch with older patches to a new mmotm release:
$ git remote update mmotm
$ git rebase --onto mmotm/master <topic base> topic
The directory http://www.ozlabs.org/~akpm/mmots/ (mm-of-the-second)
contains daily snapshots of the -mm tree. It is updated more frequently
than mmotm, and is untested.
A git copy of this tree is available at
http://git.cmpxchg.org/cgit.cgi/linux-mmots.git/
and use of this tree is similar to
http://git.cmpxchg.org/cgit.cgi/linux-mmotm.git/, described above.
This mmotm tree contains the following patches against 4.16-rc4:
(patches marked "*" will be included in linux-next)
origin.patch
i-need-old-gcc.patch
* hugetlb-fix-surplus-pages-accounting.patch
* bug-use-%pb-in-bug-and-stack-protector-failure.patch
* bug-exclude-non-bug-warn-exceptions-from-report_bug.patch
* mm-gup-teach-get_user_pages_unlocked-to-handle-foll_nowait.patch
* mm-memblock-hardcode-the-end_pfn-being-1.patch
* mm-memblock-hardcode-the-end_pfn-being-1-fix.patch
* mm-memblock-hardcode-the-end_pfn-being-1-fix-fix.patch
* mm-page_alloc-fix-memmap_init_zone-pageblock-alignment.patch
* selftests-vm-run_vmtests-adjust-hugetlb-size-accroding-to-nr_cpus.patch
* selftests-vm-run_vmtests-adjust-hugetlb-size-accroding-to-nr_cpus-v2.patch
* zboot-fix-stack-protector-in-compressed-boot-phase.patch
* test_kmod-fix-limit-check-on-number-of-test-devices-created.patch
* lockdep-fix-fs_reclaim-warning.patch
* arm-arch-arm-include-asm-pageh-needs-personalityh.patch
* prctl-add-pr_et_pdeathsig_proc.patch
* tile-pci_gx-make-setup_pcie_rc_delay-__init.patch
* ocfs2-use-osb-instead-of-ocfs2_sb.patch
* ocfs2-use-oi-instead-of-ocfs2_i.patch
* ocfs2-clean-up-some-unused-function-declaration.patch
* ocfs2-keep-the-trace-point-consistent-with-the-function-name.patch
* ocfs2-dlm-dont-handle-migrate-lockres-if-already-in-shutdown.patch
* ocfs2-dlm-dont-handle-migrate-lockres-if-already-in-shutdown-v3.patch
* ocfs2-remove-unnecessary-null-pointer-check-before-kmem_cache_destroy.patch
* ocfs2-clean-up-two-unused-functions-in-suballocc.patch
* ocfs2-dlm-clean-unrelated-comment.patch
* ocfs2-get-rid-of-ocfs2_is_o2cb_active-function.patch
* ocfs2-move-some-definitions-to-header-file.patch
* ocfs2-fix-some-small-problems.patch
* ocfs2-add-kobject-for-online-file-check.patch
* ocfs2-add-duplicative-ino-number-check.patch
* ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery.patch
* ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes.patch
* block-restore-proc-partitions-to-not-display-non-partitionable-removable-devices.patch
* dentry-fix-kmemcheck-splat-at-take_dentry_name_snapshot.patch
mm.patch
* slab-mark-kmalloc-machinery-as-__ro_after_init.patch
* slab-fixup-calculate_alignment-argument-type.patch
* slab-make-kmalloc_index-return-unsigned-int.patch
* slab-make-kmalloc_size-return-unsigned-int.patch
* slab-make-create_kmalloc_cache-work-with-32-bit-sizes.patch
* slab-make-create_boot_cache-work-with-32-bit-sizes.patch
* slab-make-kmem_cache_create-work-with-32-bit-sizes.patch
* slab-make-size_index-array-u8.patch
* slab-make-size_index_elem-unsigned-int.patch
* slub-make-remote_node_defrag_ratio-unsigned-int.patch
* slub-make-max_attr_size-unsigned-int.patch
* slub-make-red_left_pad-unsigned-int.patch
* slub-make-reserved-unsigned-int.patch
* slub-make-align-unsigned-int.patch
* slub-make-inuse-unsigned-int.patch
* slub-make-cpu_partial-unsigned-int.patch
* slub-make-offset-unsigned-int.patch
* slub-make-object_size-unsigned-int.patch
* slub-make-size-unsigned-int.patch
* slab-make-kmem_cache_flags-accept-32-bit-object-size.patch
* kasan-make-kasan_cache_create-work-with-32-bit-slab-cache-sizes.patch
* slab-make-usercopy-region-32-bit.patch
* slub-make-slab_index-return-unsigned-int.patch
* slub-make-struct-kmem_cache_order_objects-x-unsigned-int.patch
* slub-make-size_from_object-return-unsigned-int.patch
* slab-use-32-bit-arithmetic-in-freelist_randomize.patch
* mm-ksm-make-function-stable_node_dup-static.patch
* mm-always-print-rlimit_data-warning.patch
* mm-migrate-change-migration-reason-mr_cma-as-mr_contig_range.patch
* mm-hugetlbfs-move-hugetlbfs_i-outside-ifdef-config_hugetlbfs.patch
* mm-memfd-split-out-memfd-for-use-by-multiple-filesystems.patch
* mm-memfd-remove-memfd-code-from-shmem-files-and-use-new-memfd-files.patch
* mm-swap_slots-use-conditional-compilation-for-swap_slotsc.patch
* mm-initialize-pages-on-demand-during-boot.patch
* mm-initialize-pages-on-demand-during-boot-fix-3.patch
* mm-initialize-pages-on-demand-during-boot-fix-4.patch
* mm-initialize-pages-on-demand-during-boot-fix-4-fix.patch
* mm-thp-fix-potential-clearing-to-referenced-flag-in-page_idle_clear_pte_refs_one.patch
* mm-memory_hotplug-enforce-block-size-aligned-range-check.patch
* x86-mm-memory_hotplug-determine-block-size-based-on-the-end-of-boot-memory.patch
* x86-mm-memory_hotplug-determine-block-size-based-on-the-end-of-boot-memory-v4.patch
* mm-uninitialized-struct-page-poisoning-sanity-checking.patch
* mm-uninitialized-struct-page-poisoning-sanity-checking-v4.patch
* mm-memory_hotplug-optimize-probe-routine.patch
* mm-memory_hotplug-dont-read-nid-from-struct-page-during-hotplug.patch
* mm-memory_hotplug-dont-read-nid-from-struct-page-during-hotplug-v5.patch
* mm-memory_hotplug-optimize-memory-hotplug.patch
* mm-memory_hotplug-optimize-memory-hotplug-v5.patch
* mm-hwpoison-disable-memory-error-handling-on-1gb-hugepage.patch
* mm-page_alloc-extend-kernelcore-and-movablecore-for-percent.patch
* mm-page_alloc-extend-kernelcore-and-movablecore-for-percent-fix.patch
* mm-page_alloc-move-mirrored_kernelcore-to-__meminitdata.patch
* mm-re-use-define_show_attribute-macro.patch
* mm-re-use-define_show_attribute-macro-v2.patch
* mm-fix-races-between-address_space-dereference-and-free-in-page_evicatable.patch
* mm-page_ref-use-atomic_set_release-in-page_ref_unfreeze.patch
* mm-huge_memoryc-reorder-operations-in-__split_huge_page_tail.patch
* z3fold-limit-use-of-stale-list-for-allocation.patch
* mmvmscan-dont-pretend-forward-progress-upon-shrinker_rwsem-contention.patch
* mm-swap-clean-up-swap-readahead.patch
* mm-swap-clean-up-swap-readahead-fix.patch
* mm-swap-unify-cluster-based-and-vma-based-swap-readahead.patch
* mm-page_alloc-skip-over-regions-of-invalid-pfns-on-uma.patch
* mm-page_alloc-skip-over-regions-of-invalid-pfns-on-uma-fix.patch
* mm-kmemleak-make-kmemleak_boot_config-__init.patch
* mm-page_owner-make-early_page_owner_param-__init.patch
* mm-page_poison-make-early_page_poison_param-__init.patch
* mm-make-should_failslab-always-available-for-fault-injection.patch
* mm-compaction-drain-pcps-for-zone-when-kcompactd-fails.patch
* mm-free_pcppages_bulk-update-pcp-count-inside.patch
* mm-free_pcppages_bulk-do-not-hold-lock-when-picking-pages-to-free.patch
* mm-free_pcppages_bulk-prefetch-buddy-while-not-holding-lock.patch
* mm-sparse-add-a-static-variable-nr_present_sections.patch
* mm-sparsemem-defer-the-ms-section_mem_map-clearing.patch
* mm-sparse-add-a-new-parameter-data_unit_size-for-alloc_usemap_and_memmap.patch
* mm-sparse-optimize-memmap-allocation-during-sparse_init.patch
* mm-gupc-fixed-coding-style-issues.patch
* mm-powerpc-use-vma_kernel_pagesize-in-vma_mmu_pagesize.patch
* mm-hugetlbfs-introduce-pagesize-to-vm_operations_struct.patch
* device-dax-implement-pagesize-for-smaps-to-report-mmupagesize.patch
* mm-provide-consistent-declaration-for-num_poisoned_pages.patch
* direct-io-minor-cleanups-in-do_blockdev_direct_io.patch
* direct-io-minor-cleanups-in-do_blockdev_direct_io-fix.patch
* mm-introduce-nr_indirectly_reclaimable_bytes.patch
* mm-treat-indirectly-reclaimable-memory-as-available-in-memavailable.patch
* dcache-account-external-names-as-indirectly-reclaimable-memory.patch
* mm-fix-races-between-swapoff-and-flush-dcache.patch
* mm-fix-races-between-swapoff-and-flush-dcache-fix.patch
* zsmalloc-introduce-zs_huge_class_size-function.patch
* zram-drop-max_zpage_size-and-use-zs_huge_class_size.patch
* mm-nommu-remove-description-of-alloc_vm_area.patch
* mm-swap-remove-cold-parameter-description-for-release_pages.patch
* mm-kernel-doc-add-missing-parameter-descriptions.patch
* block_invalidatepage-only-release-page-if-the-full-page-was-invalidated.patch
* mm-swap-make-bool-enable_vma_readahead-and-function-swap_vma_readahead-static.patch
* mm-swap-fix-race-between-swapoff-and-some-swap-operations.patch
* mm-swap-fix-race-between-swapoff-and-some-swap-operations-v6.patch
* mmvmscan-mark-register_shrinker-as-__must_check.patch
* list_lru-prefetch-neighboring-list-entries-before-acquiring-lock.patch
* list_lru-prefetch-neighboring-list-entries-before-acquiring-lock-fix.patch
* mm-oom-refactor-the-oom_kill_process-function.patch
* mm-implement-mem_cgroup_scan_tasks-for-the-root-memory-cgroup.patch
* mm-oom-cgroup-aware-oom-killer.patch
* mm-oom-cgroup-aware-oom-killer-fix.patch
* mm-oom-introduce-memoryoom_group.patch
* mm-oom-introduce-memoryoom_group-fix.patch
* mm-oom-add-cgroup-v2-mount-option-for-cgroup-aware-oom-killer.patch
* mm-oom-docs-describe-the-cgroup-aware-oom-killer.patch
* mm-oom-docs-describe-the-cgroup-aware-oom-killer-fix.patch
* mm-oom-docs-describe-the-cgroup-aware-oom-killer-fix-2.patch
* mm-oom-docs-describe-the-cgroup-aware-oom-killer-fix-2-fix.patch
* cgroup-list-groupoom-in-cgroup-features.patch
* mm-add-strictlimit-knob-v2.patch
* mm-page_alloc-dont-reserve-zone_highmem-for-zone_movable-request.patch
* mm-cma-manage-the-memory-of-the-cma-area-by-using-the-zone_movable.patch
* mm-cma-remove-alloc_cma.patch
* arm-cma-avoid-double-mapping-to-the-cma-area-if-config_highmem-=-y.patch
* mm-dont-expose-page-to-fast-gup-before-its-ready.patch
* mm-swap-make-pointer-swap_avail_heads-static.patch
* mm-numa-rework-do_pages_move.patch
* mm-migrate-remove-reason-argument-from-new_page_t.patch
* mm-unclutter-thp-migration.patch
* mm-page_owner-align-with-pageblock_nr_pages.patch
* mm-make-count-list_lru_one-nr_items-lockless.patch
* mm-page_owner-align-with-pageblock_nr-pages.patch
* kasan-slub-fix-handling-of-kasan_slab_free-hook.patch
* kasan-slub-fix-handling-of-kasan_slab_free-hook-v2.patch
* kasan-fix-invalid-free-test-crashing-the-kernel.patch
* kasan-disallow-compiler-to-optimize-away-memset-in-tests.patch
* mm-kasan-dont-vfree-nonexistent-vm_area.patch
* procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps.patch
* procfs-add-seq_put_hex_ll-to-speed-up-proc-pid-maps-v3.patch
* procfs-optimize-seq_pad-to-speed-up-proc-pid-maps.patch
* proc-get-rid-of-task-lock-unlock-pair-to-read-umask-for-the-status-file.patch
* proc-do-less-stuff-under-pde_unload_lock.patch
* proc-move-proc-sysvipc-creation-to-where-it-belongs.patch
* proc-faster-open-close-of-files-without-release-hook.patch
* proc-randomize-struct-pde_opener.patch
* proc-move-struct-pde_opener-to-kmem-cache.patch
* proc-account-struct-pde_opener.patch
* proc-add-seq_put_decimal_ull_width-to-speed-up-proc-pid-smaps.patch
* proc-add-seq_put_decimal_ull_width-to-speed-up-proc-pid-smaps-fix.patch
* proc-replace-seq_printf-on-seq_putc-to-speed-up-proc-pid-smaps.patch
* proc-optimize-single-symbol-delimiters-to-spead-up-seq_put_decimal_ull.patch
* proc-replace-seq_printf-by-seq_put_smth-to-speed-up-proc-pid-status.patch
* proc-check-permissions-earlier-for-proc-wchan.patch
* proc-use-set_puts-at-proc-wchan.patch
* fs-sysctl-fix-potential-page-fault-while-unregistering-sysctl-table.patch
* fs-sysctl-remove-redundant-link-check-in-proc_sys_link_fill_cache.patch
* proc-test-proc-self-wchan.patch
* proc-test-proc-self-syscall.patch
* proc-move-struct-proc_dir_entry-into-kmem-cache.patch
* proc-fix-proc-map_files-lookup-some-more.patch
* taint-convert-to-indexed-initialization.patch
* taint-consolidate-documentation.patch
* taint-add-taint-for-randstruct.patch
* uts-create-struct-uts_namespace-from-kmem_cache.patch
* lib-kconfigdebug-debug-lockups-and-hangs-keep-softlockup-options-together.patch
* test_bitmap-do-not-accidentally-use-stack-vla.patch
* vsprintf-remove-accidental-vla-usage.patch
* vsprintf-remove-accidental-vla-usage-fix.patch
* checkpatch-improve-parse_email-signature-checking.patch
* checkpatchpl-add-spdx-license-tag-check.patch
* checkpatch-add-crypto-on_stack-to-declaration_macros.patch
* checkpatch-add-sub-routine-get_stat_real.patch
* checkpatch-remove-unused-variable-declarations.patch
* checkpatch-add-sub-routine-get_stat_here.patch
* checkpatch-warn-for-use-of-%px.patch
* checkpatch-improve-get_quoted_string-for-trace_event-macros.patch
* checkpatch-two-spelling-fixes.patch
* init-ramdisk-use-pr_cont-at-the-end-of-ramdisk-loading.patch
* seq_file-delete-small-value-optimization.patch
* fork-unconditionally-clear-stack-on-fork.patch
* exec-pass-stack-rlimit-into-mm-layout-functions.patch
* exec-introduce-finalize_exec-before-start_thread.patch
* exec-pin-stack-limit-during-exec.patch
* kernel-downgrade-warning-for-unsafe-parameters.patch
* ipc-shm-introduce-shmctlshm_stat_any.patch
* ipc-sem-introduce-semctlsem_stat_any.patch
* ipc-msg-introduce-msgctlmsg_stat_any.patch
* proc-sysctl-fix-typo-in-sysctl_check_table_array.patch
* sysctl-add-kdoc-comments-to-do_proc_douintvec_minmax_conv_param.patch
* sysctl-add-flags-to-support-min-max-range-clamping.patch
* sysctl-add-flags-to-support-min-max-range-clamping-fix.patch
* sysctl-warn-when-a-clamped-sysctl-parameter-is-set-out-of-range.patch
* ipc-clamp-msgmni-and-shmmni-to-the-real-ipcmni-limit.patch
* ipc-clamp-semmni-to-the-real-ipcmni-limit.patch
linux-next.patch
linux-next-rejects.patch
linux-next-fixup.patch
linux-next-git-rejects.patch
* ipc-mqueue-add-missing-error-code-in-init_mqueue_fs.patch
* drivers-gpu-drm-i915-intel_guc_logc-work-around-gcc-444-union-initializer-issue.patch
* mm-introduce-map_fixed_safe.patch
* fs-elf-drop-map_fixed-usage-from-elf_map.patch
* elf-enforce-map_fixed-on-overlaying-elf-segments.patch
* xen-mm-allow-deferred-page-initialization-for-xen-pv-domains.patch
* linux-consth-prefix-include-guard-of-uapi-linux-consth-with-_uapi.patch
* linux-consth-move-ul-macro-to-include-linux-consth.patch
* linux-consth-refactor-_bitul-and-_bitull-a-bit.patch
* linux-consth-move-bit_ull-to-linux-consth-for-use-in-assembly.patch
* mm-memcg-remote-memcg-charging-for-kmem-allocations.patch
* fs-fsnotify-account-fsnotify-metadata-to-kmemcg.patch
* headers-untangle-kmemleakh-from-mmh.patch
* headers-untangle-kmemleakh-from-mmh-fix.patch
* fix-read-buffer-overflow-in-delta-ipc.patch
* sparc64-ng4-memset-32-bits-overflow.patch
make-sure-nobodys-leaking-resources.patch
releasing-resources-with-children.patch
kernel-forkc-export-kernel_thread-to-modules.patch
mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
workaround-for-a-pci-restoring-bug.patch
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 0:20 mmotm 2018-03-07-16-19 uploaded akpm
@ 2018-03-08 2:20 ` Randy Dunlap
2018-03-08 2:23 ` Randy Dunlap
2018-03-08 2:41 ` Andrew Morton
0 siblings, 2 replies; 7+ messages in thread
From: Randy Dunlap @ 2018-03-08 2:20 UTC (permalink / raw)
To: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next,
mhocko, mm-commits, sfr, Shakeel Butt
On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
> The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> mmotm-readme.txt says
>
> README for mm-of-the-moment:
>
> http://www.ozlabs.org/~akpm/mmotm/
>
> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> more than once a week.
UML on i386 and/or x86_64:
defconfig, CONFIG_MEMCG is not set:
../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
css_put(&group->memcg->css);
^
From: Shakeel Butt <shakeelb@google.com>
Subject: fs: fsnotify: account fsnotify metadata to kmemcg
--
~Randy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 2:20 ` mmotm 2018-03-07-16-19 uploaded (UML & memcg) Randy Dunlap
@ 2018-03-08 2:23 ` Randy Dunlap
2018-03-08 2:34 ` Shakeel Butt
2018-03-08 2:41 ` Andrew Morton
1 sibling, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2018-03-08 2:23 UTC (permalink / raw)
To: akpm, broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next,
mhocko, mm-commits, sfr, Shakeel Butt
On 03/07/2018 06:20 PM, Randy Dunlap wrote:
> On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
>> The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
>>
>> http://www.ozlabs.org/~akpm/mmotm/
>>
>> mmotm-readme.txt says
>>
>> README for mm-of-the-moment:
>>
>> http://www.ozlabs.org/~akpm/mmotm/
>>
>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>> more than once a week.
>
> UML on i386 and/or x86_64:
>
> defconfig, CONFIG_MEMCG is not set:
>
> ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
> ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
> css_put(&group->memcg->css);
> ^
>
> From: Shakeel Butt <shakeelb@google.com>
> Subject: fs: fsnotify: account fsnotify metadata to kmemcg
or x86 any time that CONFIG_MEMCG is not enabled.
--
~Randy
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 2:23 ` Randy Dunlap
@ 2018-03-08 2:34 ` Shakeel Butt
2018-03-08 2:41 ` Shakeel Butt
0 siblings, 1 reply; 7+ messages in thread
From: Shakeel Butt @ 2018-03-08 2:34 UTC (permalink / raw)
To: Randy Dunlap
Cc: Andrew Morton, broonie, linux-fsdevel, LKML, Linux MM, linux-next,
Michal Hocko, mm-commits, Stephen Rothwell
On Wed, Mar 7, 2018 at 6:23 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
> On 03/07/2018 06:20 PM, Randy Dunlap wrote:
>> On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
>>> The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> mmotm-readme.txt says
>>>
>>> README for mm-of-the-moment:
>>>
>>> http://www.ozlabs.org/~akpm/mmotm/
>>>
>>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>>> more than once a week.
>>
>> UML on i386 and/or x86_64:
>>
>> defconfig, CONFIG_MEMCG is not set:
>>
>> ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
>> ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
>> css_put(&group->memcg->css);
>> ^
>>
>> From: Shakeel Butt <shakeelb@google.com>
>> Subject: fs: fsnotify: account fsnotify metadata to kmemcg
>
>
>
> or x86 any time that CONFIG_MEMCG is not enabled.
>
>
Sorry about that. Replacing this with mem_cgroup_put(group->memcg)
should solve the issue on the mm tree.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 2:34 ` Shakeel Butt
@ 2018-03-08 2:41 ` Shakeel Butt
0 siblings, 0 replies; 7+ messages in thread
From: Shakeel Butt @ 2018-03-08 2:41 UTC (permalink / raw)
To: Randy Dunlap
Cc: Andrew Morton, broonie, linux-fsdevel, LKML, Linux MM, linux-next,
Michal Hocko, mm-commits, Stephen Rothwell
On Wed, Mar 7, 2018 at 6:34 PM, Shakeel Butt <shakeelb@google.com> wrote:
> On Wed, Mar 7, 2018 at 6:23 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
>> On 03/07/2018 06:20 PM, Randy Dunlap wrote:
>>> On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
>>>> The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
>>>>
>>>> http://www.ozlabs.org/~akpm/mmotm/
>>>>
>>>> mmotm-readme.txt says
>>>>
>>>> README for mm-of-the-moment:
>>>>
>>>> http://www.ozlabs.org/~akpm/mmotm/
>>>>
>>>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully
>>>> more than once a week.
>>>
>>> UML on i386 and/or x86_64:
>>>
>>> defconfig, CONFIG_MEMCG is not set:
>>>
>>> ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
>>> ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
>>> css_put(&group->memcg->css);
>>> ^
>>>
>>> From: Shakeel Butt <shakeelb@google.com>
>>> Subject: fs: fsnotify: account fsnotify metadata to kmemcg
>>
>>
>>
>> or x86 any time that CONFIG_MEMCG is not enabled.
>>
>>
>
> Sorry about that. Replacing this with mem_cgroup_put(group->memcg)
> should solve the issue on the mm tree.
Andrew, do you want me to extract mem_cgroup_put() API from Roman's
patches as a separate patch?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 2:20 ` mmotm 2018-03-07-16-19 uploaded (UML & memcg) Randy Dunlap
2018-03-08 2:23 ` Randy Dunlap
@ 2018-03-08 2:41 ` Andrew Morton
2018-03-08 5:06 ` Stephen Rothwell
1 sibling, 1 reply; 7+ messages in thread
From: Andrew Morton @ 2018-03-08 2:41 UTC (permalink / raw)
To: Randy Dunlap
Cc: broonie, linux-fsdevel, linux-kernel, linux-mm, linux-next,
mhocko, mm-commits, sfr, Shakeel Butt
On Wed, 7 Mar 2018 18:20:12 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
> On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
> > The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > mmotm-readme.txt says
> >
> > README for mm-of-the-moment:
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> > more than once a week.
>
> UML on i386 and/or x86_64:
>
> defconfig, CONFIG_MEMCG is not set:
>
> ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
> ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
> css_put(&group->memcg->css);
oops.
From: Andrew Morton <akpm@linux-foundation.org>
Subject: fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
fix CONFIG_MEMCG=n build
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Amir Goldstein <amir73il@gmail.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/notify/group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/notify/group.c~fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
+++ a/fs/notify/group.c
@@ -38,7 +38,7 @@ static void fsnotify_final_destroy_group
group->ops->free_group_priv(group);
if (group->memcg)
- css_put(&group->memcg->css);
+ mem_cgroup_put(group->memcg);
kfree(group);
}
_
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
2018-03-08 2:41 ` Andrew Morton
@ 2018-03-08 5:06 ` Stephen Rothwell
0 siblings, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2018-03-08 5:06 UTC (permalink / raw)
To: Andrew Morton
Cc: Randy Dunlap, broonie, linux-fsdevel, linux-kernel, linux-mm,
linux-next, mhocko, Shakeel Butt
[-- Attachment #1: Type: text/plain, Size: 2237 bytes --]
Hi Andrew,
On Wed, 7 Mar 2018 18:41:41 -0800 Andrew Morton <akpm@linux-foundation.org> wrote:
>
> On Wed, 7 Mar 2018 18:20:12 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
>
> > On 03/07/2018 04:20 PM, akpm@linux-foundation.org wrote:
> > > The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
> > >
> > > http://www.ozlabs.org/~akpm/mmotm/
> > >
> > > mmotm-readme.txt says
> > >
> > > README for mm-of-the-moment:
> > >
> > > http://www.ozlabs.org/~akpm/mmotm/
> > >
> > > This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> > > more than once a week.
> >
> > UML on i386 and/or x86_64:
> >
> > defconfig, CONFIG_MEMCG is not set:
> >
> > ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
> > ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
> > css_put(&group->memcg->css);
>
> oops.
>
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
>
> fix CONFIG_MEMCG=n build
>
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Amir Goldstein <amir73il@gmail.com>
> Cc: Christoph Lameter <cl@linux.com>
> Cc: David Rientjes <rientjes@google.com>
> Cc: Greg Thelen <gthelen@google.com>
> Cc: Jan Kara <jack@suse.cz>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> Cc: Mel Gorman <mgorman@suse.de>
> Cc: Michal Hocko <mhocko@kernel.org>
> Cc: Pekka Enberg <penberg@kernel.org>
> Cc: Shakeel Butt <shakeelb@google.com>
> Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
> Cc: Vlastimil Babka <vbabka@suse.cz>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> fs/notify/group.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/fs/notify/group.c~fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
> +++ a/fs/notify/group.c
> @@ -38,7 +38,7 @@ static void fsnotify_final_destroy_group
> group->ops->free_group_priv(group);
>
> if (group->memcg)
> - css_put(&group->memcg->css);
> + mem_cgroup_put(group->memcg);
>
> kfree(group);
> }
I have applied that to linux-next today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-03-08 5:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-08 0:20 mmotm 2018-03-07-16-19 uploaded akpm
2018-03-08 2:20 ` mmotm 2018-03-07-16-19 uploaded (UML & memcg) Randy Dunlap
2018-03-08 2:23 ` Randy Dunlap
2018-03-08 2:34 ` Shakeel Butt
2018-03-08 2:41 ` Shakeel Butt
2018-03-08 2:41 ` Andrew Morton
2018-03-08 5:06 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).