Automatic NUMA Balancing V4
Subsystems (20)
Mel Gorman
reviewercover Automatic NUMA Balancing V4
tldr: Benchmarkers, only test patches 1-37. If there is instability,
it may be due to the native THP migration patch and test with 1-36. Please report any results or problems you find.
In terms of merging, I would also only consider patches 1-37.
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux-balancenuma.git mm-balancenuma-v4r38
This is another major drop and is still a bit rushed as I am spread quite thin on this project overall. I'm posting because I still very strongly believe that we should have a foundation with a relatively basic policy that can be used to develop and compare more complex policies -- e.g. schednuma and autonuma variants. This forces the foundation to be relatively lightweight and I'm taking code from both schednuma and autonuma very aggressively to do that. If the foundation is ok then in the event the placement policy on top finds a workload it cannot handle then the system will not fall apart. The ideal *worst-case* behaviour is that it is comparable to current mainline.
This series can be treated as 5 major stages.
1. TLB optimisations that we're likely to want unconditionally.
2. Basic foundation and core mechanics, initial policy that does very little
3. Full PMD fault handling, rate limiting of migration, two-stage migration filter to mitigate poor migration decisions. This will migrate pages on a PTE or PMD level using just the current referencing CPU as a placement hint
4. Native THP migration
5. CPU follows memory algorithm. Very broadly speaking the intention is that based on fault statistics a home node is identified and the process tries to remain on the home node. It's crude and a much more complete implementation is needed.
Very broadly speaking the TODOs that spring to mind are
1. Tunable to enable/disable from command-line and at runtime. It should be completely disabled if the machine does not support NUMA.
2. Better load balancer integration (current is based on an old version of schednuma)
3. Fix/replace CPU follows algorithm. Current one is a broken port from autonuma, it's very expensive and migrations are excessive. Either autonuma, schednuma or something else needs to be rebased on top of this properly. The broken implementation gives an indication where all the different parts should be plumbed in.
4. Depending on what happens with 6, fold page struct additions into page->flags
5. Revisit MPOL_NOOP and MPOL_MF_LAZY
6. Other architecture support or at least validation that it could be made work. I'm half-hoping that the PPC64 people are watching because they tend to be interested in this type of thing.
In this release two major news points of note are the move to change_protection (patch 22) and the THP native migration patch (patch 37). The move to change_protection will look odd because it's using a version of the pagetable helpers that resolves to one or two instructions. This needs architecture support and a consequence is that it no longer perfectly maps to PROT_NONE. It could move to actual PROT_NONE protection but then helpers like pte_numa become a lot heavier and it'd still need to detect shared pages. The tradeoff is performance vs looks nicer.
Otherwise, the important points to note about how it uses change_protection is to notice that avoids marking shared pages as they cannot be properly handled in this implementation and would need a sufficient smart placment policy before it's removed. Also note that it marks PMDs so regular PMDs can be handled as a fault and migrated (patch 30).
THe THP migration patch is also going to be very different from what is in schednuma and there might be mistakes in there due to the level of change and the timeframe it was implemened in. The biggest source of churn is that the migation code moved to mm/migrate.c and shared migration code with the regular PTE case. The locking and refcounting is a tad tricky to follow as a result. By keeping the THP migration patch at the end it can be evaluated if it is an optimisation or a requirement of the series.
I recognise that the series is quite large. In many cases I kept patches split-out so the progression can be seen and replacing individual components may be easier.
Otherwise some advantages of the series are;
1. It handles regular PMDs which reduces overhead in case where pages within a PMD are on the same node
2. It rate limits migrations to avoid saturating the bus and backs off PTE scanning (in a fairly heavy manner) if the node is rate-limited
3. It keeps major optimisations like THP towards the end to be sure I am not accidentally depending on them
4. It has some vmstats which allow a user to make a rough guess as to how much overhead the balancing is introducing
5. It implements a basic policy that acts as a second performance baseline. The three baselines become vanilla kernel, basic placement policy, complex placement policy. This allows like-with-like comparisons with implementations.
I feel the last point is important. Comparing autonuma with schednuma today is a pain. Even if one is better than the other, it's not going to be clear why because their core mechanics are completely different. It cannot be easily determined if differences in performance are due to the placement policy or the basic core mechanics have less overhead.
In terms of benchmarking this series, only patches 1-37 should be considered although a full test would also be interesting. They are based on kernel 3.7-rc6. The later patches implement a placement policy that I know is not really working and is basically just an illustration of the common patches a placement policy might want.
Changelog since V3
o Use change_protection
o Architecture-hook twiddling
o Port of the THP migration patch.
o Additional TLB optimisations
o Fixes from Hillf Danton
Changelog since V2
o Do not allocate from home node
o Mostly remove pmd_numa handling for regular pmds
o HOME policy will allocate from and migrate towards local node
o Load balancer is more aggressive about moving tasks towards home node
o Renames to sync up more with -tip version
o Move pte handlers to generic code
o Scanning rate starts at 100ms, system CPU usage expected to increase
o Handle migration of PMD hinting faults
o Rate limit migration on a per-node basis
o Alter how the rate of PTE scanning is adapted
o Rate limit setting of pte_numa if node is congested
o Only flush local TLB is unmapping a pte_numa page
o Only consider one CPU in cpu follow algorithm
Changelog since V1
o Account for faults on the correct node after migration
o Do not account for THP splits as faults.
o Account THP faults on the node they occurred
o Ensure preferred_node_policy is initialised before use
o Mitigate double faults
o Add home-node logic
o Add some tlb-flush mitigation patches
o Add variation of CPU follows memory algorithm
o Add last_nid and use it as a two-stage filter before migrating pages
o Restart the PTE scanner when it reaches the end of the address space
o Lots of stuff I did not note properly
There are currently two (three depending on how you look at it) competing approaches to implement support for automatically migrating pages to optimise NUMA locality. Performance results are available but review highlighted different problems in both. They are not compatible with each other even though some fundamental mechanics should have been the same. This series addresses part of the integration and sharing problem by implementing a foundation that either the policy for schednuma or autonuma can be rebased on.
The initial policy it implements is a very basic greedy policy called "Migrate On Reference Of pte_numa Node (MORON)" and is later replaced by a variation of the home-node policy and renamed. I expect to build upon this revised policy and rename it to something more sensible that reflects what it means.
In terms of building on top of the foundation the ideal would be that patches affect one of the following areas although obviously that will not always be possible
1. The PTE update helper functions
2. The PTE scanning machinary driven from task_numa_tick
3. Task and process fault accounting and how that information is used to determine if a page is misplaced
4. Fault handling, migrating the page if misplaced, what information is provided to the placement policy
5. Scheduler and load balancing
Patches 1-5 are some TLB optimisations that mostly make sense on their own.
They are likely to make it into the tree either way
Patches 6-7 are an mprotect optimisation
Patches 8-10 move some vmstat counters so that migrated pages get accounted
for. In the past the primary user of migration was compaction but if pages are to migrate for NUMA optimisation then the counters need to be generally useful.
Patch 11 defines an arch-specific PTE bit called _PAGE_NUMA that is used
to trigger faults later in the series. A placement policy is expected to use these faults to determine if a page should migrate. On x86, the bit is the same as _PAGE_PROTNONE but other architectures may differ. Note that it is also possible to avoid using this bit and go with plain PROT_NONE but the resulting helpers are then heavier.
Patch 12-14 defines pte_numa, pmd_numa, pte_mknuma, pte_mknonuma and
friends, updated GUP and huge page splitting.
Patch 15 creates the fault handler for p[te|md]_numa PTEs and just clears
them again.
Patch 16 adds a MPOL_LOCAL policy so applications can explicitly request the
historical behaviour.
Patch 17 is premature but adds a MPOL_NOOP policy that can be used in
conjunction with the LAZY flags introduced later in the series.
Patch 18 adds migrate_misplaced_page which is responsible for migrating
a page to a new location.
Patch 19 migrates the page on fault if mpol_misplaced() says to do so.
Patch 20 updates the page fault handlers. Transparent huge pages are split.
Pages pointed to by PTEs are migrated. Pages pointed to by PMDs are not properly handed until later in the series.
Patch 21 adds a MPOL_MF_LAZY mempolicy that an interested application can use.
On the next reference the memory should be migrated to the node that references the memory.
Patch 22 reimplements change_prot_numa in terms of change_protection. It could
be collapsed with patch 21 but this might be easier to review.
Patch 23 notes that the MPOL_MF_LAZY and MPOL_NOOP flags have not been properly
reviewed and there are no manual pages. They are removed for now and need to be revisited.
Patch 24 sets pte_numa within the context of the scheduler.
Patches 25-27 note that the marking of pte_numa has a number of disadvantages and
instead incrementally updates a limited range of the address space each tick.
Patch 28 adds some vmstats that can be used to approximate the cost of the
scheduling policy in a more fine-grained fashion than looking at the system CPU usage.
Patch 29 implements the MORON policy.
Patch 30 properly handles the migration of pages faulted when handling a pmd
numa hinting fault. This could be improved as it's a bit tangled to follow. PMDs are only marked if the PTEs underneath are expected to point to pages on the same node.
Patches 31-33 rate-limit the number of pages being migrated and marked as pte_numa
Patch 34 slowly decreases the pte_numa update scanning rate
Patch 35-36 introduces last_nid and uses it to build a two-stage filter
that delays when a page gets migrated to avoid a situation where a task running temporarily off its home node forces a migration.
Patch 37 implements native THP migration for NUMA hinting faults.
Patches 38-41 introduces the concept of a home-node that the scheduler tries
to keep processes on. It's advisory only and not particularly strict. There may be a problem with this whereby the load balancer is not pushing processes back to their home node because there are no idle CPUs available. It might need to be more aggressive about swapping two tasks that are both running off their home node.
Patch 42 implements a CPU follow memory policy that is roughly based on what
was in autonuma. It builds statistics on faults on a per-task and per-mm basis and decides if a tasks home node should be updated on that basis. It is basically broken at the moment, is far too heavy and results in bouncing but it serves as an illustration. It needs to be reworked significantly or reimplemented.
Patch 43 renames the policy
Patch 44 makes patch 44 slightly less expensive but still way too heavy
Patch 45 is a fix from Hillf
Patch 46 tears out most of the smarts of even that placement policy and
makes a decision purely on fault rates on each node. It's not expected this will work very well with false sharing and some other cases but worth a look anyway.
Some notes.
This still is missing a mechanism for disabling from the command-line.
Documentation is sorely missing at this point.
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
arch/sh/mm/Kconfig | 1 + arch/x86/Kconfig | 2 + arch/x86/include/asm/pgtable.h | 17 +- arch/x86/include/asm/pgtable_types.h | 20 + arch/x86/mm/pgtable.c | 8 +- include/asm-generic/pgtable.h | 78 ++++ include/linux/huge_mm.h | 13 +- include/linux/hugetlb.h | 8 +- include/linux/init_task.h | 8 + include/linux/mempolicy.h | 8 + include/linux/migrate.h | 43 ++- include/linux/mm.h | 39 ++ include/linux/mm_types.h | 44 +++ include/linux/mmzone.h | 13 + include/linux/sched.h | 52 +++ include/linux/vm_event_item.h | 12 +- include/linux/vmstat.h | 8 + include/trace/events/migrate.h | 51 +++ include/uapi/linux/mempolicy.h | 22 +- init/Kconfig | 33 ++ kernel/fork.c | 18 + kernel/sched/core.c | 60 ++- kernel/sched/debug.c | 3 + kernel/sched/fair.c | 682 ++++++++++++++++++++++++++++++++-- kernel/sched/features.h | 25 ++ kernel/sched/sched.h | 36 ++ kernel/sysctl.c | 38 +- mm/compaction.c | 15 +- mm/huge_memory.c | 86 ++++- mm/hugetlb.c | 10 +- mm/internal.h | 2 + mm/memory-failure.c | 3 +- mm/memory.c | 184 ++++++++- mm/memory_hotplug.c | 3 +- mm/mempolicy.c | 240 ++++++++++-- mm/migrate.c | 308 ++++++++++++++- mm/mprotect.c | 124 +++++-- mm/page_alloc.c | 10 +- mm/pgtable-generic.c | 9 +- mm/vmstat.c | 16 +- 40 files changed, 2229 insertions(+), 123 deletions(-) create mode 100644 include/trace/events/migrate.h
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 1/46 x86: mm: only do a local tlb flush in ptep_set_access_flags()
From: Rik van Riel <[email protected]>
The function ptep_set_access_flags() is only ever invoked to set access flags or add write permission on a PTE. The write bit is only ever set together with the dirty bit.
Because we only ever upgrade a PTE, it is safe to skip flushing entries on remote TLBs. The worst that can happen is a spurious page fault on other CPUs, which would flush that TLB entry.
Lazily letting another CPU incur a spurious page fault occasionally is (much!) cheaper than aggressively flushing everybody else's TLB.
--- arch/x86/mm/pgtable.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
arch/x86/mm/pgtable.c +8 -1
@@ -301,6 +301,13 @@ void pgd_free(struct mm_struct *mm, pgd_t *pgd)free_page ((unsigned long )pgd); } +/* +* Used to set accessed or dirty bits in the page table entries +* on other architectures. On x86, the accessed and dirty bits +* are tracked by hardware. However, do_wp_page calls this function +* to also make the pte writeable at the same time the dirty bit is +* set. In that case we do actually need to write the PTE. +*/ int ptep_set_access_flags (struct vm_area_struct *vma,unsigned long address,pte_t *ptep,pte_t entry,int dirty)
@@ -310,7 +317,7 @@ int ptep_set_access_flags(struct vm_area_struct *vma,if (changed && dirty) { *ptep = entry;pte_update_defer (vma->vm_mm, address, ptep); -flush_tlb_page (vma, address); +__flush_tlb_one (address); }return changed;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 2/46 x86: mm: drop TLB flush from ptep_set_access_flags
In reply to Mel GormanFrom: Rik van Riel <[email protected]>
Intel has an architectural guarantee that the TLB entry causing a page fault gets invalidated automatically. This means we should be able to drop the local TLB invalidation.
Because of the way other areas of the page fault code work, chances are good that all x86 CPUs do this. However, if someone somewhere has an x86 CPU that does not invalidate the TLB entry causing a page fault, this one-liner should be easy to revert.
--- arch/x86/mm/pgtable.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/mm/pgtable.c +0 -1
@@ -317,7 +317,6 @@ int ptep_set_access_flags(struct vm_area_struct *vma,if (changed && dirty) { *ptep = entry;pte_update_defer (vma->vm_mm, address, ptep); -__flush_tlb_one (address); }return changed;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 3/46 mm,generic: only flush the local TLB in ptep_set_access_flags
In reply to Mel GormanFrom: Rik van Riel <[email protected]>
The function ptep_set_access_flags is only ever used to upgrade access permissions to a page. That means the only negative side effect of not flushing remote TLBs is that other CPUs may incur spurious page faults, if they happen to access the same address, and still have a PTE with the old permissions cached in their TLB.
Having another CPU maybe incur a spurious page fault is faster than always incurring the cost of a remote TLB flush, so replace the remote TLB flush with a purely local one.
This should be safe on every architecture that correctly implements flush_tlb_fix_spurious_fault() to actually invalidate the local TLB entry that caused a page fault, as well as on architectures where the hardware invalidates TLB entries that cause page faults.
In the unlikely event that you are hitting what appears to be an infinite loop of page faults, and 'git bisect' took you to this changeset, your architecture needs to implement flush_tlb_fix_spurious_fault to actually flush the TLB entry.
--- mm/pgtable-generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/pgtable-generic.c +3 -3
@@ -12,8 +12,8 @@#ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS/* -* Only sets the access flags (dirty, accessed, and -* writable). Furthermore, we know it always gets set to a "more +* Only sets the access flags (dirty, accessed), as well as write +* permission. Furthermore, we know it always gets set to a "more * permissive" setting, which allows most architectures to optimize * this. We return whether the PTE actually changed, which in turn * instructs the caller to do things like update__mmu_cache. This
@@ -27,7 +27,7 @@ int ptep_set_access_flags(struct vm_area_struct *vma,int changed = !pte_same (*ptep, entry);if (changed) {set_pte_at (vma->vm_mm, address, ptep, entry); -flush_tlb_page (vma, address); +flush_tlb_fix_spurious_fault (vma, address); }return changed; }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 4/46 x86/mm: Introduce pte_accessible()
In reply to Mel GormanFrom: Rik van Riel <[email protected]>
We need pte_present to return true for _PAGE_PROTNONE pages, to indicate that the pte is associated with a page.
However, for TLB flushing purposes, we would like to know whether the pte points to an actually accessible page. This allows us to skip remote TLB flushes for pages that are not actually accessible.
Fill in this method for x86 and provide a safe (but slower) method on other architectures.
--- arch/x86/include/asm/pgtable.h | 6 ++++++ include/asm-generic/pgtable.h | 4 ++++ 2 files changed, 10 insertions(+)
arch/x86/include/asm/pgtable.h +6 -0
@@ -407,6 +407,12 @@ static inline int pte_present(pte_t a)return pte_flags (a) & (_PAGE_PRESENT | _PAGE_PROTNONE); } +#define pte_accessible pte_accessible +static inline int pte_accessible (pte_t a) +{ +return pte_flags (a) & _PAGE_PRESENT; +} +static inline int pte_hidden (pte_t pte) {return pte_flags (pte) & _PAGE_HIDDEN;
include/asm-generic/pgtable.h +4 -0
@@ -219,6 +219,10 @@ static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b)#define move_pte (pte, prot, old_addr, new_addr) (pte)#endif +#ifndef pte_accessible +# define pte_accessible (pte) ((void)(pte),1) +#endif +#ifndef flush_tlb_fix_spurious_fault#define flush_tlb_fix_spurious_fault (vma, address) flush_tlb_page(vma, address)#endif
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 5/46 mm: Only flush the TLB when clearing an accessible pte
In reply to Mel GormanFrom: Rik van Riel <[email protected]>
If ptep_clear_flush() is called to clear a page table entry that is accessible anyway by the CPU, eg. a _PAGE_PROTNONE page table entry, there is no need to flush the TLB on remote CPUs.
--- mm/pgtable-generic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/pgtable-generic.c +2 -1
@@ -88,7 +88,8 @@ pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, {pte_t pte; pte =ptep_get_and_clear ((vma)->vm_mm, address, ptep); -flush_tlb_page (vma, address); +if (pte_accessible (pte)) +flush_tlb_page (vma, address);return pte; }#endif
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 6/46 mm: Count the number of pages affected in change_protection()
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
This will be used for three kinds of purposes:
- to optimize mprotect()
- to speed up working set scanning for working set areas that have not been touched
- to more accurately scan per real working set
No change in functionality from this patch.
--- include/linux/hugetlb.h | 8 +++++-- include/linux/mm.h | 3 +++ mm/hugetlb.c | 10 ++++++-- mm/mprotect.c | 58 +++++++++++++++++++++++++++++++++++------------ 4 files changed, 61 insertions(+), 18 deletions(-)
include/linux/hugetlb.h +6 -2
@@ -87,7 +87,7 @@ struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address, pud_t *pud, int write);int pmd_huge (pmd_t pmd);int pud_huge (pud_t pmd); -void hugetlb_change_protection (struct vm_area_struct *vma, +unsigned long hugetlb_change_protection (struct vm_area_struct *vma,unsigned long address,unsigned long end,pgprot_t newprot);#else /* !CONFIG_HUGETLB_PAGE */
@@ -132,7 +132,11 @@ static inline void copy_huge_page(struct page *dst, struct page *src) { } -#define hugetlb_change_protection (vma, address, end, newprot) +static inline unsigned long hugetlb_change_protection (struct vm_area_struct *vma, +unsigned long address,unsigned long end,pgprot_t newprot) +{ +return 0 ; +} static inline void __unmap_hugepage_range_final(struct mmu_gather *tlb, struct vm_area_struct *vma, unsigned long start,
include/linux/mm.h +3 -0
@@ -1078,6 +1078,9 @@ extern unsigned long move_page_tables(struct vm_area_struct *vma,extern unsigned long do_mremap (unsigned long addr,unsigned long old_len,unsigned long new_len,unsigned long flags,unsigned long new_addr); +extern unsigned long change_protection (struct vm_area_struct *vma,unsigned long start, +unsigned long end,pgprot_t newprot, +int dirty_accountable);extern int mprotect_fixup (struct vm_area_struct *vma,struct vm_area_struct **pprev,unsigned long start,unsigned long end,unsigned long newflags);
mm/hugetlb.c +8 -2
@@ -3014,7 +3014,7 @@ same_page:return i ? i : -EFAULT ; } -void hugetlb_change_protection (struct vm_area_struct *vma, +unsigned long hugetlb_change_protection (struct vm_area_struct *vma,unsigned long address,unsigned long end,pgprot_t newprot) {struct mm_struct *mm = vma->vm_mm;
@@ -3022,6 +3022,7 @@ void hugetlb_change_protection(struct vm_area_struct *vma,pte_t *ptep;pte_t pte;struct hstate *h =hstate_vma (vma); +unsigned long pages =0 ;BUG_ON (address >= end);flush_cache_range (vma, address, end);
@@ -3032,12 +3033,15 @@ void hugetlb_change_protection(struct vm_area_struct *vma, ptep =huge_pte_offset (mm, address);if (!ptep)continue ; -if (huge_pmd_unshare (mm, &address, ptep)) +if (huge_pmd_unshare (mm, &address, ptep)) { + pages++;continue ; + }if (!huge_pte_none (huge_ptep_get (ptep))) { pte =huge_ptep_get_and_clear (mm, address, ptep); pte =pte_mkhuge (pte_modify (pte, newprot));set_huge_pte_at (mm, address, ptep, pte); + pages++; } }spin_unlock (&mm->page_table_lock);
@@ -3049,6 +3053,8 @@ void hugetlb_change_protection(struct vm_area_struct *vma,*/ flush_tlb_range (vma, start, end);mutex_unlock (&vma->vm_file->f_mapping->i_mmap_mutex); + +return pages << h->order; } int hugetlb_reserve_pages(struct inode *inode,
mm/mprotect.c +44 -14
143 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 7/46 mm: Optimize the TLB flush of sys_mprotect() and change_protection() users
In reply to Mel GormanFrom: Ingo Molnar <[email protected]>
Reuse the NUMA code's 'modified page protections' count that change_protection() computes and skip the TLB flush if there's no changes to a range that sys_mprotect() modifies.
Given that mprotect() already optimizes the same-flags case I expected this optimization to dominantly trigger on CONFIG_NUMA_BALANCING=y kernels - but even with that feature disabled it triggers rather often.
There's two reasons for that:
1)
While sys_mprotect() already optimizes the same-flag case:
if (newflags == oldflags) {
*pprev = vma;
return 0;
}and this test works in many cases, but it is too sharp in some others, where it differentiates between protection values that the underlying PTE format makes no distinction about, such as PROT_EXEC == PROT_READ on x86.
2)
Even where the pte format over vma flag changes necessiates a modification of the pagetables, there might be no pagetables yet to modify: they might not be instantiated yet.
During a regular desktop bootup this optimization hits a couple of hundred times. During a Java test I measured thousands of hits.
So this optimization improves sys_mprotect() in general, not just CONFIG_NUMA_BALANCING=y kernels.
[ We could further increase the efficiency of this optimization if
change_pte_range() and change_huge_pmd() was a bit smarter about recognizing exact-same-value protection masks - when the hardware can do that safely. This would probably further speed up mprotect(). ]
--- mm/mprotect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
mm/mprotect.c +3 -1
@@ -153,7 +153,9 @@ static unsigned long change_protection_range(struct vm_area_struct *vma, dirty_accountable); }while (pgd++, addr = next, addr != end); -flush_tlb_range (vma, start, end); +/* Only flush the TLB if we actually modified any entries: */ +if (pages) +flush_tlb_range (vma, start, end);return pages; }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 8/46 mm: compaction: Move migration fail/success stats to migrate.c
In reply to Mel GormanThe compact_pages_moved and compact_pagemigrate_failed events are convenient for determining if compaction is active and to what degree migration is succeeding but it's at the wrong level. Other users of migration may also want to know if migration is working properly and this will be particularly true for any automated NUMA migration. This patch moves the counters down to migration with the new events called pgmigrate_success and pgmigrate_fail. The compact_blocks_moved counter is removed because while it was useful for debugging initially, it's worthless now as no meaningful conclusions can be drawn from its value.
--- include/linux/vm_event_item.h | 4 +++- mm/compaction.c | 4 ---- mm/migrate.c | 6 ++++++ mm/vmstat.c | 7 ++++--- 4 files changed, 13 insertions(+), 8 deletions(-)
include/linux/vm_event_item.h +3 -1
@@ -38,8 +38,10 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,KSWAPD_LOW_WMARK_HIT_QUICKLY ,KSWAPD_HIGH_WMARK_HIT_QUICKLY ,KSWAPD_SKIP_CONGESTION_WAIT ,PAGEOUTRUN ,ALLOCSTALL ,PGROTATED , +#ifdef CONFIG_MIGRATION +PGMIGRATE_SUCCESS ,PGMIGRATE_FAIL , +#endif #ifdef CONFIG_COMPACTION -COMPACTBLOCKS ,COMPACTPAGES ,COMPACTPAGEFAILED ,COMPACTSTALL ,COMPACTFAIL ,COMPACTSUCCESS , #endif #ifdef CONFIG_HUGETLB_PAGE
mm/compaction.c +0 -4
@@ -994,10 +994,6 @@ static int compact_zone(struct zone *zone, struct compact_control *cc)update_nr_listpages (cc); nr_remaining = cc->nr_migratepages; -count_vm_event (COMPACTBLOCKS ); -count_vm_events (COMPACTPAGES , nr_migrate - nr_remaining); -if (nr_remaining) -count_vm_events (COMPACTPAGEFAILED , nr_remaining);trace_mm_compaction_migratepages (nr_migrate - nr_remaining, nr_remaining);
mm/migrate.c +6 -0
@@ -962,6 +962,7 @@ int migrate_pages(struct list_head *from, {int retry =1 ;int nr_failed =0 ; +int nr_succeeded =0 ;int pass =0 ;struct page *page;struct page *page2;
@@ -988,6 +989,7 @@ int migrate_pages(struct list_head *from, retry++;break ;case 0 : + nr_succeeded++;break ;default :/* Permanent failure */
@@ -998,6 +1000,10 @@ int migrate_pages(struct list_head *from, } rc =0 ; out: +if (nr_succeeded) +count_vm_events (PGMIGRATE_SUCCESS , nr_succeeded); +if (nr_failed) +count_vm_events (PGMIGRATE_FAIL , nr_failed);if (!swapwrite) current->flags &= ~PF_SWAPWRITE ;
mm/vmstat.c +4 -3
@@ -774,10 +774,11 @@ const char * const vmstat_text[] = {"pgrotated" , +#ifdef CONFIG_MIGRATION +"pgmigrate_success" , +"pgmigrate_fail" , +#endif #ifdef CONFIG_COMPACTION -"compact_blocks_moved" , -"compact_pages_moved" , -"compact_pagemigrate_failed" ,"compact_stall" ,"compact_fail" , "compact_success",
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 9/46 mm: migrate: Add a tracepoint for migrate_pages
In reply to Mel GormanThe pgmigrate_success and pgmigrate_fail vmstat counters tells the user about migration activity but not the type or the reason. This patch adds a tracepoint to identify the type of page migration and why the page is being migrated.
--- include/linux/migrate.h | 13 ++++++++-- include/trace/events/migrate.h | 51 ++++++++++++++++++++++++++++++++++++++++ mm/compaction.c | 3 ++- mm/memory-failure.c | 3 ++- mm/memory_hotplug.c | 3 ++- mm/mempolicy.c | 6 +++-- mm/migrate.c | 10 ++++++-- mm/page_alloc.c | 3 ++- 8 files changed, 82 insertions(+), 10 deletions(-) create mode 100644 include/trace/events/migrate.h
include/linux/migrate.h +11 -2
@@ -7,6 +7,15 @@typedef struct page *new_page_t (struct page *,unsigned long private,int **); +enum migrate_reason { +MR_COMPACTION , +MR_MEMORY_FAILURE , +MR_MEMORY_HOTPLUG , +MR_SYSCALL ,/* also applies to cpusets */ +MR_MEMPOLICY_MBIND , +MR_CMA +}; +#ifdef CONFIG_MIGRATION extern void putback_lru_pages (struct list_head *l);
@@ -14,7 +23,7 @@ extern int migrate_page(struct address_space *, struct page *, struct page *, enum migrate_mode);extern int migrate_pages (struct list_head *l,new_page_t x,unsigned long private,bool offlining, -enum migrate_mode mode); +enum migrate_mode mode,int reason);extern int migrate_huge_page (struct page *,new_page_t x,unsigned long private,bool offlining,enum migrate_mode mode);
@@ -35,7 +44,7 @@ extern int migrate_huge_page_move_mapping(struct address_space *mapping,static inline void putback_lru_pages (struct list_head *l) {}static inline int migrate_pages (struct list_head *l,new_page_t x,unsigned long private,bool offlining, -enum migrate_mode mode) {return -ENOSYS ; } +enum migrate_mode mode,int reason) {return -ENOSYS ; }static inline int migrate_huge_page (struct page *page,new_page_t x,unsigned long private,bool offlining,enum migrate_mode mode) {return -ENOSYS ; }
include/trace/events/migrate.h new file +51 -0
51 lines not on this page · raw message
mm/compaction.c +2 -1
@@ -990,7 +990,8 @@ static int compact_zone(struct zone *zone, struct compact_control *cc) nr_migrate = cc->nr_migratepages; err =migrate_pages (&cc->migratepages, compaction_alloc, (unsigned long )cc, false, - cc->sync ?MIGRATE_SYNC_LIGHT :MIGRATE_ASYNC ); + cc->sync ?MIGRATE_SYNC_LIGHT :MIGRATE_ASYNC , +MR_COMPACTION );update_nr_listpages (cc); nr_remaining = cc->nr_migratepages;
mm/memory-failure.c +2 -1
@@ -1558,7 +1558,8 @@ int soft_offline_page(struct page *page, int flags) page_is_file_cache(page));list_add (&page->lru, &pagelist); ret =migrate_pages (&pagelist, new_page,MPOL_MF_MOVE_ALL , - false,MIGRATE_SYNC ); + false,MIGRATE_SYNC , +MR_MEMORY_FAILURE );if (ret) {putback_lru_pages (&pagelist); pr_info("soft offline: %#lx: migration failed %d, type %lx\n",
mm/memory_hotplug.c +2 -1
@@ -812,7 +812,8 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn)* migrate_pages returns # of failed pages. */ ret =migrate_pages (&source, alloc_migrate_target,0 , - true,MIGRATE_SYNC ); + true,MIGRATE_SYNC , +MR_MEMORY_HOTPLUG );if (ret)putback_lru_pages (&source); }
mm/mempolicy.c +4 -2
@@ -961,7 +961,8 @@ static int migrate_to_node(struct mm_struct *mm, int source, int dest,if (!list_empty (&pagelist)) { err =migrate_pages (&pagelist, new_node_page, dest, - false,MIGRATE_SYNC ); + false,MIGRATE_SYNC , +MR_SYSCALL );if (err)putback_lru_pages (&pagelist); }
@@ -1202,7 +1203,8 @@ static long do_mbind(unsigned long start, unsigned long len,if (!list_empty (&pagelist)) { nr_failed =migrate_pages (&pagelist, new_vma_page, (unsigned long )vma, - false,MIGRATE_SYNC ); + false,MIGRATE_SYNC , +MR_MEMPOLICY_MBIND );if (nr_failed)putback_lru_pages (&pagelist); }
mm/migrate.c +8 -2
@@ -38,6 +38,9 @@#include <asm/tlbflush.h> +#define CREATE_TRACE_POINTS +#include <trace/events/migrate.h> +#include "internal.h" /*
@@ -958,7 +961,7 @@ out:*/ int migrate_pages (struct list_head *from,new_page_t get_new_page,unsigned long private,bool offlining, -enum migrate_mode mode) +enum migrate_mode mode,int reason) {int retry =1 ;int nr_failed =0 ;
@@ -1004,6 +1007,8 @@ out:count_vm_events (PGMIGRATE_SUCCESS , nr_succeeded);if (nr_failed)count_vm_events (PGMIGRATE_FAIL , nr_failed); +trace_mm_migrate_pages (nr_succeeded, nr_failed, mode, reason); +if (!swapwrite) current->flags &= ~PF_SWAPWRITE ;
@@ -1145,7 +1150,8 @@ set_status: err =0 ;if (!list_empty (&pagelist)) { err =migrate_pages (&pagelist, new_page_node, - (unsigned long )pm,0 ,MIGRATE_SYNC ); + (unsigned long )pm,0 ,MIGRATE_SYNC , +MR_SYSCALL );if (err)putback_lru_pages (&pagelist); }
mm/page_alloc.c +2 -1
@@ -5707,7 +5707,8 @@ static int __alloc_contig_migrate_range(struct compact_control *cc, ret =migrate_pages (&cc->migratepages, alloc_migrate_target, -0 , false,MIGRATE_SYNC ); +0 , false,MIGRATE_SYNC , +MR_CMA ); }putback_lru_pages (&cc->migratepages);
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 10/46 mm: compaction: Add scanned and isolated counters for compaction
In reply to Mel GormanCompaction already has tracepoints to count scanned and isolated pages but it requires that ftrace be enabled and if that information has to be written to disk then it can be disruptive. This patch adds vmstat counters for compaction called compact_migrate_scanned, compact_free_scanned and compact_isolated.
With these counters, it is possible to define a basic cost model for compaction. This approximates of how much work compaction is doing and can be compared that with an oprofile showing TLB misses and see if the cost of compaction is being offset by THP for example. Minimally a compaction patch can be evaluated in terms of whether it increases or decreases cost. The basic cost model looks like this
Fundamental unit u: a word sizeof(void *)
Ca = cost of struct page access = sizeof(struct page) / u
Cmc = Cost migrate page copy = (Ca + PAGE_SIZE/u) * 2
Cmf = Cost migrate failure = Ca * 2
Ci = Cost page isolation = (Ca + Wi)
where Wi is a constant that should reflect the approximate cost of the locking operation.
Csm = Cost migrate scanning = Ca
Csf = Cost free scanning = Ca
Overall cost = (Csm * compact_migrate_scanned) +
(Csf * compact_free_scanned) +
(Ci * compact_isolated) +
(Cmc * pgmigrate_success) +
(Cmf * pgmigrate_failed)
Where the values are read from /proc/vmstat.
This is very basic and ignores certain costs such as the allocation cost to do a migrate page copy but any improvement to the model would still use the same vmstat counters.
--- include/linux/vm_event_item.h | 2 ++ mm/compaction.c | 8 ++++++++ mm/vmstat.c | 3 +++ 3 files changed, 13 insertions(+)
include/linux/vm_event_item.h +2 -0
@@ -42,6 +42,8 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT, PGMIGRATE_SUCCESS, PGMIGRATE_FAIL,#endif #ifdef CONFIG_COMPACTION +COMPACTMIGRATE_SCANNED ,COMPACTFREE_SCANNED , +COMPACTISOLATED ,COMPACTSTALL ,COMPACTFAIL ,COMPACTSUCCESS , #endif #ifdef CONFIG_HUGETLB_PAGE
mm/compaction.c +8 -0
@@ -356,6 +356,10 @@ static unsigned long isolate_freepages_block(struct compact_control *cc,if (blockpfn == end_pfn)update_pageblock_skip (cc, valid_page, total_isolated, false); +count_vm_events (COMPACTFREE_SCANNED , nr_scanned); +if (total_isolated) +count_vm_events (COMPACTISOLATED , total_isolated); +return total_isolated; }
@@ -646,6 +650,10 @@ next_pageblock:trace_mm_compaction_isolate_migratepages (nr_scanned, nr_isolated); +count_vm_events (COMPACTMIGRATE_SCANNED , nr_scanned); +if (nr_isolated) +count_vm_events (COMPACTISOLATED , nr_isolated); +return low_pfn; }
mm/vmstat.c +3 -0
@@ -779,6 +779,9 @@ const char * const vmstat_text[] = { "pgmigrate_fail",#endif #ifdef CONFIG_COMPACTION +"compact_migrate_scanned" , +"compact_free_scanned" , +"compact_isolated" ,"compact_stall" ,"compact_fail" , "compact_success",
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 11/46 mm: numa: define _PAGE_NUMA
In reply to Mel GormanFrom: Andrea Arcangeli <[email protected]>
The objective of _PAGE_NUMA is to be able to trigger NUMA hinting page faults to identify the per NUMA node working set of the thread at runtime.
Arming the NUMA hinting page fault mechanism works similarly to setting up a mprotect(PROT_NONE) virtual range: the present bit is cleared at the same time that _PAGE_NUMA is set, so when the fault triggers we can identify it as a NUMA hinting page fault.
_PAGE_NUMA on x86 shares the same bit number of _PAGE_PROTNONE (but it could also use a different bitflag, it's up to the architecture to decide).
It would be confusing to call the "NUMA hinting page faults" as "do_prot_none faults". They're different events and _PAGE_NUMA doesn't alter the semantics of mprotect(PROT_NONE) in any way.
Sharing the same bitflag with _PAGE_PROTNONE in fact complicates
things: it requires us to ensure the code paths executed by _PAGE_PROTNONE remains mutually exclusive to the code paths executed by _PAGE_NUMA at all times, to avoid _PAGE_NUMA and _PAGE_PROTNONE to step into each other toes.
Because we want to be able to set this bitflag in any established pte or pmd (while clearing the present bit at the same time) without losing information, this bitflag must never be set when the pte and pmd are present, so the bitflag picked for _PAGE_NUMA usage, must not be used by the swap entry format.
--- arch/x86/include/asm/pgtable_types.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/x86/include/asm/pgtable_types.h +20 -0
@@ -64,6 +64,26 @@#define _PAGE_FILE (_AT(pteval_t, 1) << _PAGE_BIT_FILE)#define _PAGE_PROTNONE (_AT(pteval_t, 1) << _PAGE_BIT_PROTNONE) +/* +* _PAGE_NUMA indicates that this page will trigger a numa hinting +* minor page fault to gather numa placement statistics (see +* pte_numa()). The bit picked (8) is within the range between +* _PAGE_FILE (6) and _PAGE_PROTNONE (8) bits. Therefore, it doesn't +* require changes to the swp entry format because that bit is always +* zero when the pte is not present. +* +* The bit picked must be always zero when the pmd is present and not +* present, so that we don't lose information when we set it while +* atomically clearing the present bit. +* +* Because we shared the same bit (8) with _PAGE_PROTNONE this can be +* interpreted as _PAGE_NUMA only in places that _PAGE_PROTNONE +* couldn't reach, like handle_mm_fault() (see access_error in +* arch/x86/mm/fault.c, the vma protection must not be PROT_NONE for +* handle_mm_fault() to be invoked). +*/ +#define _PAGE_NUMA _PAGE_PROTNONE +#define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ _PAGE_ACCESSED | _PAGE_DIRTY)#define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 12/46 mm: numa: pte_numa() and pmd_numa()
In reply to Mel GormanFrom: Andrea Arcangeli <[email protected]>
Implement pte_numa and pmd_numa.
We must atomically set the numa bit and clear the present bit to define a pte_numa or pmd_numa.
Once a pte or pmd has been set as pte_numa or pmd_numa, the next time a thread touches a virtual address in the corresponding virtual range, a NUMA hinting page fault will trigger. The NUMA hinting page fault will clear the NUMA bit and set the present bit again to resolve the page fault.
The expectation is that a NUMA hinting page fault is used as part of a placement policy that decides if a page should remain on the current node or migrated to a different node.
--- arch/x86/include/asm/pgtable.h | 11 ++++-- include/asm-generic/pgtable.h | 74 ++++++++++++++++++++++++++++++++++++++++ init/Kconfig | 33 ++++++++++++++++++ 3 files changed, 116 insertions(+), 2 deletions(-)
arch/x86/include/asm/pgtable.h +9 -2
@@ -404,7 +404,8 @@ static inline int pte_same(pte_t a, pte_t b)static inline int pte_present (pte_t a) { -return pte_flags (a) & (_PAGE_PRESENT | _PAGE_PROTNONE); +return pte_flags (a) & (_PAGE_PRESENT | _PAGE_PROTNONE | + _PAGE_NUMA); }#define pte_accessible pte_accessible
@@ -426,7 +427,8 @@ static inline int pmd_present(pmd_t pmd)* the _PAGE_PSE flag will remain set at all times while the * _PAGE_PRESENT bit is clear). */ -return pmd_flags (pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE); +return pmd_flags (pmd) & (_PAGE_PRESENT | _PAGE_PROTNONE | _PAGE_PSE | + _PAGE_NUMA); }static inline int pmd_none (pmd_t pmd)
@@ -485,6 +487,11 @@ static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address)static inline int pmd_bad (pmd_t pmd) { +#ifdef CONFIG_BALANCE_NUMA +/* pmd_numa check */ +if ((pmd_flags (pmd) & (_PAGE_NUMA|_PAGE_PRESENT)) == _PAGE_NUMA) +return 0 ; +#endif return (pmd_flags (pmd) & ~_PAGE_USER) != _KERNPG_TABLE; }
include/asm-generic/pgtable.h +74 -0
80 lines not on this page · raw message
init/Kconfig +33 -0
@@ -696,6 +696,39 @@ config LOG_BUF_SHIFT config HAVE_UNSTABLE_SCHED_CLOCK bool +# +# For architectures that want to enable the support for NUMA-affine scheduler +# balancing logic: +# +config ARCH_SUPPORTS_NUMA_BALANCING + bool + +# For architectures that (ab)use NUMA to represent different memory regions +# all cpu-local but of different latencies, such as SuperH. +# +config ARCH_WANT_NUMA_VARIABLE_LOCALITY + bool + +# +# For architectures that are willing to define _PAGE_NUMA as _PAGE_PROTNONE +config ARCH_WANTS_PROT_NUMA_PROT_NONE + bool + +config ARCH_USES_NUMA_PROT_NONE + bool + default y + depends on ARCH_WANTS_PROT_NUMA_PROT_NONE + depends on BALANCE_NUMA + +config BALANCE_NUMA + bool "Memory placement aware NUMA scheduler" + default n + depends on ARCH_SUPPORTS_NUMA_BALANCING + depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY + depends on SMP && NUMA && MIGRATION + help + This option adds support for automatic NUMA aware memory/task placement. + menuconfig CGROUPS boolean "Control Group support" depends on EVENTFD
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 13/46 mm: numa: Support NUMA hinting page faults from gup/gup_fast
In reply to Mel GormanFrom: Andrea Arcangeli <[email protected]>
Introduce FOLL_NUMA to tell follow_page to check pte/pmd_numa. get_user_pages must use FOLL_NUMA, and it's safe to do so because it always invokes handle_mm_fault and retries the follow_page later.
KVM secondary MMU page faults will trigger the NUMA hinting page faults through gup_fast -> get_user_pages -> follow_page -> handle_mm_fault.
Other follow_page callers like KSM should not use FOLL_NUMA, or they would fail to get the pages if they use follow_page instead of get_user_pages.
[ This patch was picked up from the AutoNUMA tree. ]
--- include/linux/mm.h | 1 + mm/memory.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+)
include/linux/mm.h +1 -0
@@ -1572,6 +1572,7 @@ struct page *follow_page(struct vm_area_struct *, unsigned long address,#define FOLL_MLOCK 0x40/* mark page as mlocked */ #define FOLL_SPLIT 0x80/* don't return transhuge pages, split them */ #define FOLL_HWPOISON 0x100/* check page is hwpoisoned */ +#define FOLL_NUMA 0x200/* force NUMA hinting page fault */ typedef int (*pte_fn_t )(pte_t *pte,pgtable_t token,unsigned long addr,void *data);
mm/memory.c +17 -0
@@ -1517,6 +1517,8 @@ struct page *follow_page(struct vm_area_struct *vma, unsigned long address, page =follow_huge_pmd (mm, address, pmd, flags &FOLL_WRITE ); goto out; } +if ((flags &FOLL_NUMA ) &&pmd_numa (*pmd)) + goto no_page_table;if (pmd_trans_huge (*pmd)) {if (flags &FOLL_SPLIT ) {split_huge_page_pmd (mm, pmd);
@@ -1546,6 +1548,8 @@ split_fallthrough: pte = *ptep;if (!pte_present (pte)) goto no_page; +if ((flags &FOLL_NUMA ) &&pte_numa (pte)) + goto no_page;if ((flags &FOLL_WRITE ) && !pte_write (pte)) goto unlock;
@@ -1697,6 +1701,19 @@ int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, (VM_WRITE | VM_MAYWRITE) : (VM_READ | VM_MAYREAD); vm_flags &= (gup_flags &FOLL_FORCE ) ? (VM_MAYREAD |VM_MAYWRITE ) : (VM_READ |VM_WRITE ); + +/* +* If FOLL_FORCE and FOLL_NUMA are both set, handle_mm_fault +* would be called on PROT_NONE ranges. We must never invoke +* handle_mm_fault on PROT_NONE ranges or the NUMA hinting +* page faults would unprotect the PROT_NONE ranges if +* _PAGE_NUMA and _PAGE_PROTNONE are sharing the same pte/pmd +* bitflag. So to avoid that, don't set FOLL_NUMA if +* FOLL_FORCE is set. +*/ +if (!(gup_flags &FOLL_FORCE )) + gup_flags |=FOLL_NUMA ; + i =0 ; do {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 14/46 mm: numa: split_huge_page: transfer the NUMA type from the pmd to the pte
In reply to Mel GormanFrom: Andrea Arcangeli <[email protected]>
When we split a transparent hugepage, transfer the NUMA type from the pmd to the pte if needed.
--- mm/huge_memory.c | 2 ++ 1 file changed, 2 insertions(+)
mm/huge_memory.c +2 -0
@@ -1363,6 +1363,8 @@ static int __split_huge_page_map(struct page *page,BUG_ON (page_mapcount (page) !=1 );if (!pmd_young (*pmd)) entry =pte_mkold (entry); +if (pmd_numa (*pmd)) + entry =pte_mknuma (entry); pte =pte_offset_map (&_pmd, haddr);BUG_ON (!pte_none (*pte));set_pte_at (mm, haddr, pte, entry);
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 15/46 mm: numa: Create basic numa page hinting infrastructure
In reply to Mel GormanNote: This patch started as "mm/mpol: Create special PROT_NONE
infrastructure" and preserves the basic idea but steals *very* heavily from "autonuma: numa hinting page faults entry points" for
the actual fault handlers without the migration parts. The end
result is barely recognisable as either patch so all Signed-off and Reviewed-bys are dropped. If Peter, Ingo and Andrea are ok with this version, I will re-add the signed-offs-by to reflect the history.
In order to facilitate a lazy -- fault driven -- migration of pages, create a special transient PAGE_NUMA variant, we can then use the 'spurious' protection faults to drive our migrations from.
The meaning of PAGE_NUMA depends on the architecture but on x86 it is effectively PROT_NONE. Actual PROT_NONE mappings will not generate these NUMA faults for the reason that the page fault code checks the permission on the VMA (and will throw a segmentation fault on actual PROT_NONE mappings), before it ever calls handle_mm_fault.
--- include/linux/huge_mm.h | 10 +++++ mm/huge_memory.c | 21 ++++++++++ mm/memory.c | 104 +++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 132 insertions(+), 3 deletions(-)
include/linux/huge_mm.h +10 -0
@@ -159,6 +159,10 @@ static inline struct page *compound_trans_head(struct page *page) }return page; } + +extern int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, +pmd_t pmd,pmd_t *pmdp); +#else /* CONFIG_TRANSPARENT_HUGEPAGE */ #define HPAGE_PMD_SHIFT ({ BUILD_BUG(); 0; })#define HPAGE_PMD_MASK ({ BUILD_BUG(); 0; })
@@ -195,6 +199,12 @@ static inline int pmd_trans_huge_lock(pmd_t *pmd, {return 0 ; } + +static inline int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, +pmd_t pmd,pmd_t *pmdp); +{ +} +#endif /* CONFIG_TRANSPARENT_HUGEPAGE */ #endif /* _LINUX_HUGE_MM_H */
mm/huge_memory.c +21 -0
@@ -1017,6 +1017,27 @@ out:return page; } +/* NUMA hinting page fault entry point for trans huge pmds */ +int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, +pmd_t pmd,pmd_t *pmdp) +{ +struct page *page; + +spin_lock (&mm->page_table_lock); +if (unlikely (!pmd_same (pmd, *pmdp))) + goto out_unlock; + + page =pmd_page (pmd); + pmd =pmd_mknonnuma (pmd); +set_pmd_at (mm, haddr, pmdp, pmd); +VM_BUG_ON (pmd_numa (*pmdp)); +update_mmu_cache_pmd (vma, addr, pmdp); + +out_unlock: +spin_unlock (&mm->page_table_lock); +return 0 ; +} +int zap_huge_pmd (struct mmu_gather *tlb,struct vm_area_struct *vma,pmd_t *pmd,unsigned long addr) {
mm/memory.c +101 -3
132 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 16/46 mm: mempolicy: Make MPOL_LOCAL a real policy
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Make MPOL_LOCAL a real and exposed policy such that applications that relied on the previous default behaviour can explicitly request it.
--- include/uapi/linux/mempolicy.h | 1 + mm/mempolicy.c | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-)
include/uapi/linux/mempolicy.h +1 -0
@@ -20,6 +20,7 @@ enum {MPOL_PREFERRED ,MPOL_BIND ,MPOL_INTERLEAVE , +MPOL_LOCAL , MPOL_MAX, /* always last member of enum */ };
mm/mempolicy.c +6 -3
@@ -269,6 +269,10 @@ static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, (flags & MPOL_F_RELATIVE_NODES)))return ERR_PTR (-EINVAL ); } + }else if (mode ==MPOL_LOCAL ) { +if (!nodes_empty (*nodes)) +return ERR_PTR (-EINVAL ); + mode =MPOL_PREFERRED ; }else if (nodes_empty (*nodes))return ERR_PTR (-EINVAL ); policy =kmem_cache_alloc (policy_cache,GFP_KERNEL );
@@ -2399,7 +2403,6 @@ void numa_default_policy(void)* "local" is pseudo-policy: MPOL_PREFERRED with MPOL_F_LOCAL flag * Used only for mpol_parse_str() and mpol_to_str() */ -#define MPOL_LOCAL MPOL_MAXstatic const char *const policy_modes[] = { [MPOL_DEFAULT ] ="default" ,
@@ -2452,12 +2455,12 @@ int mpol_parse_str(char *str, struct mempolicy **mpol, int no_context)if (flags) *flags++ ='\0' ;/* terminate mode string */ -for (mode =0 ; mode <=MPOL_LOCAL ; mode++) { +for (mode =0 ; mode <MPOL_MAX ; mode++) {if (!strcmp (str, policy_modes[mode])) {break ; } } -if (mode >MPOL_LOCAL ) +if (mode >=MPOL_MAX ) goto out;switch (mode) {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 17/46 mm: mempolicy: Add MPOL_MF_NOOP
In reply to Mel GormanFrom: Lee Schermerhorn <[email protected]>
NOTE: I have not yet addressed by own review feedback of this patch. At
this point I'm trying to construct a baseline tree and will apply my own review feedback later and then fold it in.
This patch augments the MPOL_MF_LAZY feature by adding a "NOOP" policy to mbind(). When the NOOP policy is used with the 'MOVE and 'LAZY flags, mbind() will map the pages PROT_NONE so that they will be migrated on the next touch.
This allows an application to prepare for a new phase of operation where different regions of shared storage will be assigned to worker threads, w/o changing policy. Note that we could just use "default" policy in this case. However, this also allows an application to request that pages be migrated, only if necessary, to follow any arbitrary policy that might currently apply to a range of pages, without knowing the policy, or without specifying multiple mbind()s for ranges with different policies.
[ Bug in early version of mpol_parse_str() reported by Fengguang Wu. ]
--- include/uapi/linux/mempolicy.h | 1 + mm/mempolicy.c | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-)
include/uapi/linux/mempolicy.h +1 -0
@@ -21,6 +21,7 @@ enum {MPOL_BIND ,MPOL_INTERLEAVE ,MPOL_LOCAL , +MPOL_NOOP ,/* retain existing policy for range */ MPOL_MAX, /* always last member of enum */ };
mm/mempolicy.c +6 -5
@@ -251,10 +251,10 @@ static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags,pr_debug ("setting mode %d flags %d nodes[0] %lx\n" , mode, flags, nodes ?nodes_addr (*nodes)[0 ] :-1 ); -if (mode ==MPOL_DEFAULT ) { +if (mode ==MPOL_DEFAULT || mode ==MPOL_NOOP ) {if (nodes && !nodes_empty (*nodes))return ERR_PTR (-EINVAL ); -return NULL ;/* simply delete any existing policy */ +return NULL ; }VM_BUG_ON (!nodes);
@@ -1147,7 +1147,7 @@ static long do_mbind(unsigned long start, unsigned long len,if (start & ~PAGE_MASK )return -EINVAL ; -if (mode ==MPOL_DEFAULT ) +if (mode ==MPOL_DEFAULT || mode ==MPOL_NOOP ) flags &= ~MPOL_MF_STRICT ; len = (len +PAGE_SIZE -1 ) &PAGE_MASK ;
@@ -2409,7 +2409,8 @@ static const char * const policy_modes[] = [MPOL_PREFERRED] = "prefer", [MPOL_BIND] = "bind", [MPOL_INTERLEAVE] = "interleave", - [MPOL_LOCAL] = "local" + [MPOL_LOCAL] = "local", + [MPOL_NOOP] = "noop", /* should not actually be used */ };
@@ -2460,7 +2461,7 @@ int mpol_parse_str(char *str, struct mempolicy **mpol, int no_context)break ; } } -if (mode >=MPOL_MAX ) +if (mode >=MPOL_MAX || mode ==MPOL_NOOP ) goto out;switch (mode) {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 18/46 mm: mempolicy: Check for misplaced page
In reply to Mel GormanFrom: Lee Schermerhorn <[email protected]>
This patch provides a new function to test whether a page resides on a node that is appropriate for the mempolicy for the vma and address where the page is supposed to be mapped. This involves looking up the node where the page belongs. So, the function returns that node so that it may be used to allocated the page without consulting the policy again.
A subsequent patch will call this function from the fault path. Because of this, I don't want to go ahead and allocate the page, e.g., via alloc_page_vma() only to have to free it if it has the correct policy. So, I just mimic the alloc_page_vma() node computation logic--sort of.
Note: we could use this function to implement a MPOL_MF_STRICT behavior when migrating pages to match mbind() mempolicy--e.g., to ensure that pages in an interleaved range are reinterleaved rather than left where they are when they reside on any page in the interleave nodemask.
[ Added MPOL_F_LAZY to trigger migrate-on-fault;
simplified code now that we don't have to bother with special crap for interleaved ]
--- include/linux/mempolicy.h | 8 +++++ include/uapi/linux/mempolicy.h | 1 + mm/mempolicy.c | 76 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+)
include/linux/mempolicy.h +8 -0
@@ -198,6 +198,8 @@ static inline int vma_migratable(struct vm_area_struct *vma) return 1; } +extern int mpol_misplaced (struct page *,struct vm_area_struct *,unsigned long ); +#else struct mempolicy {};
@@ -323,5 +325,11 @@ static inline int mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol,return 0 ; } +static inline int mpol_misplaced (struct page *page,struct vm_area_struct *vma, +unsigned long address) +{ +return -1 ;/* no node preference */ +} +#endif /* CONFIG_NUMA */ #endif
include/uapi/linux/mempolicy.h +1 -0
@@ -61,6 +61,7 @@ enum mpol_rebind_step {#define MPOL_F_SHARED (1 << 0)/* identify shared policies */ #define MPOL_F_LOCAL (1 << 1)/* preferred local allocation */ #define MPOL_F_REBINDING (1 << 2)/* identify policies in rebinding */ +#define MPOL_F_MOF (1 << 3)/* this policy wants migrate on fault */ #endif /* _UAPI_LINUX_MEMPOLICY_H */
mm/mempolicy.c +76 -0
82 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 19/46 mm: migrate: Introduce migrate_misplaced_page()
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Note: This was originally based on Peter's patch "mm/migrate: Introduce
migrate_misplaced_page()" but borrows extremely heavily from Andrea's "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection". The end result is barely recognisable so signed-offs had to be dropped. If original authors are ok with it, I'll re-add the signed-off-bys.
Add migrate_misplaced_page() which deals with migrating pages from faults.
--- include/linux/migrate.h | 8 ++++ mm/migrate.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 114 insertions(+), 2 deletions(-)
include/linux/migrate.h +8 -0
@@ -13,6 +13,7 @@ enum migrate_reason {MR_MEMORY_HOTPLUG ,MR_SYSCALL ,/* also applies to cpusets */ MR_MEMPOLICY_MBIND , +MR_NUMA_MISPLACED , MR_CMA };
@@ -39,6 +40,7 @@ extern int migrate_vmas(struct mm_struct *mm,extern void migrate_page_copy (struct page *newpage,struct page *page);extern int migrate_huge_page_move_mapping (struct address_space *mapping,struct page *newpage,struct page *page); +extern int migrate_misplaced_page (struct page *page,int node);#else static inline void putback_lru_pages (struct list_head *l) {}
@@ -72,5 +74,11 @@ static inline int migrate_huge_page_move_mapping(struct address_space *mapping,#define migrate_page NULL#define fail_migrate_page NULL +static inline +int migrate_misplaced_page (struct page *page,int node) +{ +return -EAGAIN ;/* can't migrate now */ +}#endif /* CONFIG_MIGRATION */ +#endif /* _LINUX_MIGRATE_H */
mm/migrate.c +106 -2
117 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 20/46 mm: mempolicy: Use _PAGE_NUMA to migrate pages
In reply to Mel GormanNote: Based on "mm/mpol: Use special PROT_NONE to migrate pages" but
sufficiently different that the signed-off-bys were dropped
Combine our previous _PAGE_NUMA, mpol_misplaced and migrate_misplaced_page() pieces into an effective migrate on fault scheme.
Note that (on x86) we rely on PROT_NONE pages being !present and avoid the TLB flush from try_to_unmap(TTU_MIGRATION). This greatly improves the page-migration performance.
--- include/linux/huge_mm.h | 8 ++++---- mm/huge_memory.c | 32 +++++++++++++++++++++++++++++--- mm/memory.c | 32 +++++++++++++++++++++++++++----- 3 files changed, 60 insertions(+), 12 deletions(-)
include/linux/huge_mm.h +4 -4
@@ -160,8 +160,8 @@ static inline struct page *compound_trans_head(struct page *page) return page; } -extern int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, -pmd_t pmd,pmd_t *pmdp); +extern int do_huge_pmd_numa_page (struct mm_struct *mm,struct vm_area_struct *vma, +unsigned long addr,pmd_t pmd,pmd_t *pmdp);#else /* CONFIG_TRANSPARENT_HUGEPAGE */ #define HPAGE_PMD_SHIFT ({ BUILD_BUG(); 0; })
@@ -200,8 +200,8 @@ static inline int pmd_trans_huge_lock(pmd_t *pmd,return 0 ; } -static inline int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, -pmd_t pmd,pmd_t *pmdp); +static inline int do_huge_pmd_numa_page (struct mm_struct *mm,struct vm_area_struct *vma, +unsigned long addr,pmd_t pmd,pmd_t *pmdp); { }
mm/huge_memory.c +29 -3
@@ -18,6 +18,7 @@#include <linux/freezer.h> #include <linux/mman.h> #include <linux/pagemap.h> +#include <linux/migrate.h> #include <asm/tlb.h> #include <asm/pgalloc.h> #include "internal.h"
@@ -1018,16 +1019,39 @@ out: }/* NUMA hinting page fault entry point for trans huge pmds */ -int do_huge_pmd_numa_page (struct mm_struct *mm,unsigned long addr, -pmd_t pmd,pmd_t *pmdp) +int do_huge_pmd_numa_page (struct mm_struct *mm,struct vm_area_struct *vma, +unsigned long addr,pmd_t pmd,pmd_t *pmdp) { -struct page *page; +struct page *page =NULL ; +unsigned long haddr = addr &HPAGE_PMD_MASK ; +int target_nid;spin_lock (&mm->page_table_lock);if (unlikely (!pmd_same (pmd, *pmdp))) goto out_unlock; page =pmd_page (pmd); +get_page (page); +spin_unlock (&mm->page_table_lock); + + target_nid =mpol_misplaced (page, vma, haddr); +if (target_nid ==-1 ) + goto clear_pmdnuma; + +/* +* Due to lacking code to migrate thp pages, we'll split +* (which preserves the special PROT_NONE) and re-take the +* fault on the normal pages. +*/ +split_huge_page (page); +put_page (page); +return 0 ; + +clear_pmdnuma: +spin_lock (&mm->page_table_lock); +if (unlikely (!pmd_same (pmd, *pmdp))) + goto out_unlock; + pmd =pmd_mknonnuma (pmd);set_pmd_at (mm, haddr, pmdp, pmd);VM_BUG_ON (pmd_numa (*pmdp));
@@ -1035,6 +1059,8 @@ int do_huge_pmd_numa_page(struct mm_struct *mm, unsigned long addr, out_unlock:spin_unlock (&mm->page_table_lock); +if (page) +put_page (page);return 0 ; }
mm/memory.c +27 -5
@@ -57,6 +57,7 @@#include <linux/swapops.h> #include <linux/elf.h> #include <linux/gfp.h> +#include <linux/migrate.h> #include <asm/io.h> #include <asm/pgalloc.h>
@@ -3451,8 +3452,9 @@ static int do_nonlinear_fault(struct mm_struct *mm, struct vm_area_struct *vma,int do_numa_page (struct mm_struct *mm,struct vm_area_struct *vma,unsigned long addr,pte_t pte,pte_t *ptep,pmd_t *pmd) { -struct page *page; +struct page *page =NULL ;spinlock_t *ptl; +int current_nid, target_nid;/* * The "pte" at this point cannot be used safely without
@@ -3465,8 +3467,11 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,*/ ptl =pte_lockptr (mm, pmd);spin_lock (ptl); -if (unlikely (!pte_same (*ptep, pte))) - goto out_unlock; +if (unlikely (!pte_same (*ptep, pte))) { +pte_unmap_unlock (ptep, ptl); + goto out; + } + pte =pte_mknonnuma (pte);set_pte_at (mm, addr, ptep, pte);update_mmu_cache (vma, addr, ptep);
@@ -3477,8 +3482,25 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,return 0 ; } -out_unlock: +get_page (page); + current_nid =page_to_nid (page); + target_nid =mpol_misplaced (page, vma, addr);pte_unmap_unlock (ptep, ptl); +if (target_nid ==-1 ) { +/* +* Account for the fault against the current node if it not +* being replaced regardless of where the page is located. +*/ + current_nid =numa_node_id (); +put_page (page); + goto out; + } + +/* Migrate to the requested node */ +if (migrate_misplaced_page (page, target_nid)) + current_nid = target_nid; + +out:return 0 ; }
@@ -3647,7 +3669,7 @@ retry:barrier ();if (pmd_trans_huge (orig_pmd)) {if (pmd_numa (*pmd)) -return do_huge_pmd_numa_page (mm, address, +return do_huge_pmd_numa_page (mm, vma, address, orig_pmd, pmd);if ((flags &FAULT_FLAG_WRITE ) && !pmd_write (orig_pmd)) {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 21/46 mm: mempolicy: Add MPOL_MF_LAZY
In reply to Mel GormanFrom: Lee Schermerhorn <[email protected]>
NOTE: Once again there is a lot of patch stealing and the end result
is sufficiently different that I had to drop the signed-offs. Will re-add if the original authors are ok with that.
This patch adds another mbind() flag to request "lazy migration". The flag, MPOL_MF_LAZY, modifies MPOL_MF_MOVE* such that the selected pages are marked PROT_NONE. The pages will be migrated in the fault path on "first touch", if the policy dictates at that time.
"Lazy Migration" will allow testing of migrate-on-fault via mbind(). Also allows applications to specify that only subsequently touched pages be migrated to obey new policy, instead of all pages in range. This can be useful for multi-threaded applications working on a large shared data area that is initialized by an initial thread resulting in all pages on one [or a few, if overflowed] nodes. After PROT_NONE, the pages in regions assigned to the worker threads will be automatically migrated local to the threads on 1st touch.
--- include/linux/mm.h | 5 ++ include/uapi/linux/mempolicy.h | 13 ++- mm/mempolicy.c | 185 ++++++++++++++++++++++++++++++++++++---- 3 files changed, 185 insertions(+), 18 deletions(-)
include/linux/mm.h +5 -0
@@ -1551,6 +1551,11 @@ static inline pgprot_t vm_get_page_prot(unsigned long vm_flags) }#endif +#ifdef CONFIG_ARCH_USES_NUMA_PROT_NONE +void change_prot_numa (struct vm_area_struct *vma, +unsigned long start,unsigned long end); +#endif +struct vm_area_struct *find_extend_vma (struct mm_struct *,unsigned long addr);int remap_pfn_range (struct vm_area_struct *,unsigned long addr,unsigned long pfn,unsigned long size,pgprot_t );
include/uapi/linux/mempolicy.h +10 -3
@@ -49,9 +49,16 @@ enum mpol_rebind_step {/* Flags for mbind */ #define MPOL_MF_STRICT (1<<0)/* Verify existing pages in the mapping */ -#define MPOL_MF_MOVE (1<<1)/* Move pages owned by this process to conform to mapping */ -#define MPOL_MF_MOVE_ALL (1<<2)/* Move every page to conform to mapping */ -#define MPOL_MF_INTERNAL (1<<3)/* Internal flags start here */ +#define MPOL_MF_MOVE (1<<1)/* Move pages owned by this process to conform +to policy */ +#define MPOL_MF_MOVE_ALL (1<<2)/* Move every page to conform to policy */ +#define MPOL_MF_LAZY (1<<3)/* Modifies '_MOVE: lazy migrate on fault */ +#define MPOL_MF_INTERNAL (1<<4)/* Internal flags start here */ + +#define MPOL_MF_VALID (MPOL_MF_STRICT | \ + MPOL_MF_MOVE | \ + MPOL_MF_MOVE_ALL | \ + MPOL_MF_LAZY)/* * Internal flags that share the struct mempolicy flags word with
mm/mempolicy.c +170 -15
244 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 22/46 mm: mempolicy: Implement change_prot_numa() in terms of change_protection()
In reply to Mel GormanFrom: Lee Schermerhorn <[email protected]>
This patch converts change_prot_numa() to use change_protection(). As pte_numa and friends check the PTE bits directly it is necessary for change_protection() to use pmd_mknuma(). Hence the required modifications to change_protection() are a little clumsy but the end result is that most of the numa page table helpers are just one or two instructions.
--- include/linux/huge_mm.h | 3 +- include/linux/mm.h | 4 +- mm/huge_memory.c | 14 ++++- mm/mempolicy.c | 137 +++++------------------------------------------ mm/mprotect.c | 62 +++++++++++++++------ 5 files changed, 75 insertions(+), 145 deletions(-)
include/linux/huge_mm.h +2 -1
@@ -27,7 +27,8 @@ extern int move_huge_pmd(struct vm_area_struct *vma, unsigned long new_addr, unsigned long old_end, pmd_t *old_pmd, pmd_t *new_pmd);extern int change_huge_pmd (struct vm_area_struct *vma,pmd_t *pmd, -unsigned long addr,pgprot_t newprot); +unsigned long addr,pgprot_t newprot, +int prot_numa);enum transparent_hugepage_flag {TRANSPARENT_HUGEPAGE_FLAG ,
include/linux/mm.h +2 -2
@@ -1080,7 +1080,7 @@ extern unsigned long do_mremap(unsigned long addr, unsigned long flags, unsigned long new_addr);extern unsigned long change_protection (struct vm_area_struct *vma,unsigned long start,unsigned long end,pgprot_t newprot, -int dirty_accountable); +int dirty_accountable,int prot_numa);extern int mprotect_fixup (struct vm_area_struct *vma,struct vm_area_struct **pprev,unsigned long start,unsigned long end,unsigned long newflags);
@@ -1552,7 +1552,7 @@ static inline pgprot_t vm_get_page_prot(unsigned long vm_flags)#endif #ifdef CONFIG_ARCH_USES_NUMA_PROT_NONE -void change_prot_numa (struct vm_area_struct *vma, +unsigned long change_prot_numa (struct vm_area_struct *vma,unsigned long start,unsigned long end);#endif
mm/huge_memory.c +12 -2
@@ -1146,7 +1146,7 @@ out: }int change_huge_pmd (struct vm_area_struct *vma,pmd_t *pmd, -unsigned long addr,pgprot_t newprot) +unsigned long addr,pgprot_t newprot,int prot_numa) {struct mm_struct *mm = vma->vm_mm;int ret =0 ;
@@ -1154,7 +1154,17 @@ int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,if (__pmd_trans_huge_lock (pmd, vma) ==1 ) {pmd_t entry; entry =pmdp_get_and_clear (mm, addr, pmd); - entry =pmd_modify (entry, newprot); +if (!prot_numa) + entry =pmd_modify (entry, newprot); +else { +struct page *page =pmd_page (*pmd); + +/* only check non-shared pages */ +if (page_mapcount (page) ==1 && + !pmd_numa (*pmd)) { + entry =pmd_mknuma (entry); + } + }set_pmd_at (mm, addr, pmd, entry);spin_unlock (&vma->vm_mm->page_table_lock); ret =1 ;
mm/mempolicy.c +13 -124
147 lines not on this page · raw message
mm/mprotect.c +46 -16
146 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 23/46 mm: mempolicy: Hide MPOL_NOOP and MPOL_MF_LAZY from userspace for now
In reply to Mel GormanThe use of MPOL_NOOP and MPOL_MF_LAZY to allow an application to explicitly request lazy migration is a good idea but the actual API has not been well reviewed and once released we have to support it. For now this patch prevents an application using the services. This will need to be revisited.
--- include/uapi/linux/mempolicy.h | 4 +--- mm/mempolicy.c | 9 ++++----- 2 files changed, 5 insertions(+), 8 deletions(-)
include/uapi/linux/mempolicy.h +1 -3
@@ -21,7 +21,6 @@ enum {MPOL_BIND ,MPOL_INTERLEAVE ,MPOL_LOCAL , -MPOL_NOOP ,/* retain existing policy for range */ MPOL_MAX, /* always last member of enum */ };
@@ -57,8 +56,7 @@ enum mpol_rebind_step {#define MPOL_MF_VALID (MPOL_MF_STRICT | \ MPOL_MF_MOVE | \ - MPOL_MF_MOVE_ALL | \ - MPOL_MF_LAZY) + MPOL_MF_MOVE_ALL)/* * Internal flags that share the struct mempolicy flags word with
mm/mempolicy.c +4 -5
@@ -252,7 +252,7 @@ static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags,pr_debug ("setting mode %d flags %d nodes[0] %lx\n" , mode, flags, nodes ?nodes_addr (*nodes)[0 ] :-1 ); -if (mode ==MPOL_DEFAULT || mode ==MPOL_NOOP ) { +if (mode ==MPOL_DEFAULT ) {if (nodes && !nodes_empty (*nodes))return ERR_PTR (-EINVAL );return NULL ;
@@ -1186,7 +1186,7 @@ static long do_mbind(unsigned long start, unsigned long len,if (start & ~PAGE_MASK )return -EINVAL ; -if (mode ==MPOL_DEFAULT || mode ==MPOL_NOOP ) +if (mode ==MPOL_DEFAULT ) flags &= ~MPOL_MF_STRICT ; len = (len +PAGE_SIZE -1 ) &PAGE_MASK ;
@@ -1241,7 +1241,7 @@ static long do_mbind(unsigned long start, unsigned long len, flags | MPOL_MF_INVERT, &pagelist); err =PTR_ERR (vma);/* maybe ... */ -if (!IS_ERR (vma) && mode !=MPOL_NOOP ) +if (!IS_ERR (vma)) err =mbind_range (mm, start, end, new);if (!err) {
@@ -2530,7 +2530,6 @@ static const char * const policy_modes[] = [MPOL_BIND] = "bind", [MPOL_INTERLEAVE] = "interleave", [MPOL_LOCAL] = "local", - [MPOL_NOOP] = "noop", /* should not actually be used */ };
@@ -2581,7 +2580,7 @@ int mpol_parse_str(char *str, struct mempolicy **mpol, int no_context)break ; } } -if (mode >=MPOL_MAX || mode ==MPOL_NOOP ) +if (mode >=MPOL_MAX ) goto out;switch (mode) {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 24/46 mm: numa: Add fault driven placement and migration
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
NOTE: This patch is based on "sched, numa, mm: Add fault driven
placement and migration policy" but as it throws away all the policy to just leave a basic foundation I had to drop the signed-offs-by.
This patch creates a bare-bones method for setting PTEs pte_numa in the context of the scheduler that when faulted later will be faulted onto the node the CPU is running on. In itself this does nothing useful but any placement policy will fundamentally depend on receiving hints on placement from fault context and doing something intelligent about it.
--- arch/sh/mm/Kconfig | 1 + arch/x86/Kconfig | 2 + include/linux/mm_types.h | 11 ++++ include/linux/sched.h | 20 ++++++++ kernel/sched/core.c | 13 +++++ kernel/sched/fair.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++ kernel/sched/features.h | 7 +++ kernel/sched/sched.h | 6 +++ kernel/sysctl.c | 24 ++++++++- mm/huge_memory.c | 5 +- mm/memory.c | 14 +++++- 11 files changed, 224 insertions(+), 4 deletions(-)
arch/sh/mm/Kconfig +1 -0
@@ -111,6 +111,7 @@ config VSYSCALL config NUMA bool "Non Uniform Memory Access (NUMA) Support" depends on MMU && SYS_SUPPORTS_NUMA && EXPERIMENTAL + select ARCH_WANT_NUMA_VARIABLE_LOCALITY default n help Some SH systems have many various memories scattered around
arch/x86/Kconfig +2 -0
@@ -22,6 +22,8 @@ config X86 def_bool y select HAVE_AOUT if X86_32 select HAVE_UNSTABLE_SCHED_CLOCK + select ARCH_SUPPORTS_NUMA_BALANCING + select ARCH_WANTS_PROT_NUMA_PROT_NONE select HAVE_IDE select HAVE_OPROFILE select HAVE_PCSPKR_PLATFORM
include/linux/mm_types.h +11 -0
@@ -398,6 +398,17 @@ struct mm_struct {#ifdef CONFIG_CPUMASK_OFFSTACK struct cpumask cpumask_allocation;#endif +#ifdef CONFIG_BALANCE_NUMA +/* +* numa_next_scan is the next time when the PTEs will me marked +* pte_numa to gather statistics and migrate pages to new nodes +* if necessary +*/ +unsigned long numa_next_scan; + +/* numa_scan_seq prevents two threads setting pte_numa */ +int numa_scan_seq; +#endif struct uprobes_state uprobes_state; };
include/linux/sched.h +20 -0
@@ -1479,6 +1479,14 @@ struct task_struct {short il_next;short pref_node_fork;#endif +#ifdef CONFIG_BALANCE_NUMA +int numa_scan_seq; +int numa_migrate_seq; +unsigned int numa_scan_period; +u64 node_stamp;/* migration stamp */ +struct callback_head numa_work; +#endif /* CONFIG_BALANCE_NUMA */ +struct rcu_head rcu;/*
@@ -1553,6 +1561,14 @@ struct task_struct {/* Future-safe accessor for struct task_struct's cpus_allowed. */ #define tsk_cpus_allowed (tsk) (&(tsk)->cpus_allowed) +#ifdef CONFIG_BALANCE_NUMA +extern void task_numa_fault (int node,int pages); +#else +static inline void task_numa_fault (int node,int pages) +{ +} +#endif +/* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH
@@ -1990,6 +2006,10 @@ enum sched_tunable_scaling { };extern enum sched_tunable_scaling sysctl_sched_tunable_scaling; +extern unsigned int sysctl_balance_numa_scan_period_min; +extern unsigned int sysctl_balance_numa_scan_period_max; +extern unsigned int sysctl_balance_numa_settle_count; +#ifdef CONFIG_SCHED_DEBUG extern unsigned int sysctl_sched_migration_cost;extern unsigned int sysctl_sched_nr_migrate;
kernel/sched/core.c +13 -0
@@ -1533,6 +1533,19 @@ static void __sched_fork(struct task_struct *p)#ifdef CONFIG_PREEMPT_NOTIFIERS INIT_HLIST_HEAD (&p->preempt_notifiers);#endif + +#ifdef CONFIG_BALANCE_NUMA +if (p->mm &&atomic_read (&p->mm->mm_users) ==1 ) { + p->mm->numa_next_scan = jiffies; + p->mm->numa_scan_seq =0 ; + } + + p->node_stamp =0ULL ; + p->numa_scan_seq = p->mm ? p->mm->numa_scan_seq :0 ; + p->numa_migrate_seq = p->mm ? p->mm->numa_scan_seq -1 :0 ; + p->numa_scan_period = sysctl_balance_numa_scan_period_min; + p->numa_work.next = &p->numa_work; +#endif /* CONFIG_BALANCE_NUMA */ }/*
kernel/sched/fair.c +125 -0
143 lines not on this page · raw message
kernel/sched/features.h +7 -0
@@ -61,3 +61,10 @@ SCHED_FEAT(TTWU_QUEUE, true) SCHED_FEAT(FORCE_SD_OVERLAP, false) SCHED_FEAT(RT_RUNTIME_SHARE, true)SCHED_FEAT (LB_MIN , false) + +/* +* Apply the automatic NUMA scheduling policy + */ +#ifdef CONFIG_BALANCE_NUMA +SCHED_FEAT(NUMA, true) +#endif
kernel/sched/sched.h +6 -0
@@ -648,6 +648,12 @@ extern struct static_key sched_feat_keys[__SCHED_FEAT_NR];#define sched_feat (x) (sysctl_sched_features & (1UL << __SCHED_FEAT_##x))#endif /* SCHED_DEBUG && HAVE_JUMP_LABEL */ +#ifdef CONFIG_BALANCE_NUMA +#define sched_feat_numa (x) sched_feat(x) +#else +#define sched_feat_numa (x) (0) +#endif +static inline u64 global_rt_period (void ) {return (u64 )sysctl_sched_rt_period *NSEC_PER_USEC ;
kernel/sysctl.c +22 -2
@@ -256,9 +256,11 @@ static int min_sched_granularity_ns = 100000; /* 100 usecs */static int max_sched_granularity_ns =NSEC_PER_SEC ;/* 1 second */ static int min_wakeup_granularity_ns;/* 0 usecs */ static int max_wakeup_granularity_ns =NSEC_PER_SEC ;/* 1 second */ +#ifdef CONFIG_SMP static int min_sched_tunable_scaling =SCHED_TUNABLESCALING_NONE ;static int max_sched_tunable_scaling =SCHED_TUNABLESCALING_END -1 ; -#endif +#endif /* CONFIG_SMP */ +#endif /* CONFIG_SCHED_DEBUG */ #ifdef CONFIG_COMPACTION static int min_extfrag_threshold;
@@ -301,6 +303,7 @@ static struct ctl_table kern_table[] = { .extra1 = &min_wakeup_granularity_ns, .extra2 = &max_wakeup_granularity_ns, }, +#ifdef CONFIG_SMP { .procname = "sched_tunable_scaling", .data = &sysctl_sched_tunable_scaling,
@@ -347,7 +350,24 @@ static struct ctl_table kern_table[] = { .extra1 = &zero, .extra2 = &one, }, -#endif +#endif /* CONFIG_SMP */ +#ifdef CONFIG_BALANCE_NUMA + { + .procname = "balance_numa_scan_period_min_ms", + .data = &sysctl_balance_numa_scan_period_min, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec, + }, + { + .procname = "balance_numa_scan_period_max_ms", + .data = &sysctl_balance_numa_scan_period_max, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec, + }, +#endif /* CONFIG_BALANCE_NUMA */ +#endif /* CONFIG_SCHED_DEBUG */ { .procname = "sched_rt_period_us", .data = &sysctl_sched_rt_period,
mm/huge_memory.c +4 -1
@@ -1045,6 +1045,7 @@ int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,*/ split_huge_page (page);put_page (page); +return 0 ; clear_pmdnuma:
@@ -1059,8 +1060,10 @@ clear_pmdnuma: out_unlock:spin_unlock (&mm->page_table_lock); -if (page) +if (page) {put_page (page); +task_numa_fault (numa_node_id (),HPAGE_PMD_NR ); + }return 0 ; }
mm/memory.c +13 -1
@@ -3454,7 +3454,8 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, {struct page *page =NULL ;spinlock_t *ptl; -int current_nid, target_nid; +int current_nid =-1 ; +int target_nid;/* * The "pte" at this point cannot be used safely without
@@ -3501,6 +3502,7 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, current_nid = target_nid; out: +task_numa_fault (current_nid,1 );return 0 ; }
@@ -3536,6 +3538,7 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,for (addr = _addr + offset; addr < _addr +PMD_SIZE ; pte++, addr +=PAGE_SIZE ) {pte_t pteval = *pte;struct page *page; +int curr_nid;if (!pte_present (pteval))continue ;if (!pte_numa (pteval))
@@ -3553,6 +3556,15 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, page =vm_normal_page (vma, addr, pteval);if (unlikely (!page))continue ; +/* only check non-shared pages */ +if (unlikely (page_mapcount (page) !=1 )) +continue ; +pte_unmap_unlock (pte, ptl); + + curr_nid =page_to_nid (page); +task_numa_fault (curr_nid,1 ); + + pte =pte_offset_map_lock (mm, pmdp, addr, &ptl); }pte_unmap_unlock (orig_pte, ptl);
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 25/46 mm: sched: numa: Implement constant, per task Working Set Sampling (WSS) rate
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Previously, to probe the working set of a task, we'd use a very simple and crude method: mark all of its address space PROT_NONE.
That method has various (obvious) disadvantages:
- it samples the working set at dissimilar rates, giving some tasks a sampling quality advantage over others.
- creates performance problems for tasks with very large working sets
- over-samples processes with large address spaces but which only very rarely execute
Improve that method by keeping a rotating offset into the address space that marks the current position of the scan, and advance it by a constant rate (in a CPU cycles execution proportional manner). If the offset reaches the last mapped address of the mm then it then it starts over at the first address.
The per-task nature of the working set sampling functionality in this tree allows such constant rate, per task, execution-weight proportional sampling of the working set, with an adaptive sampling interval/frequency that goes from once per 100ms up to just once per 8 seconds. The current sampling volume is 256 MB per interval.
As tasks mature and converge their working set, so does the sampling rate slow down to just a trickle, 256 MB per 8 seconds of CPU time executed.
This, beyond being adaptive, also rate-limits rarely executing systems and does not over-sample on overloaded systems.
[ In AutoNUMA speak, this patch deals with the effective sampling
rate of the 'hinting page fault'. AutoNUMA's scanning is currently rate-limited, but it is also fundamentally single-threaded, executing in the knuma_scand kernel thread, so the limit in AutoNUMA is global and does not scale up with the number of CPUs, nor does it scan tasks in an execution proportional manner.
So the idea of rate-limiting the scanning was first implemented in the AutoNUMA tree via a global rate limit. This patch goes beyond that by implementing an execution rate proportional working set sampling rate that is not implemented via a single global scanning daemon. ]
[ Dan Carpenter pointed out a possible NULL pointer dereference in the
first version of this patch. ]
--- include/linux/mm_types.h | 3 +++ include/linux/sched.h | 1 + kernel/sched/fair.c | 65 ++++++++++++++++++++++++++++++++++++---------- kernel/sysctl.c | 7 +++++ 4 files changed, 63 insertions(+), 13 deletions(-)
include/linux/mm_types.h +3 -0
@@ -406,6 +406,9 @@ struct mm_struct {*/ unsigned long numa_next_scan; +/* Restart point for scanning and setting pte_numa */ +unsigned long numa_scan_offset; +/* numa_scan_seq prevents two threads setting pte_numa */ int numa_scan_seq;#endif
include/linux/sched.h +1 -0
@@ -2008,6 +2008,7 @@ extern enum sched_tunable_scaling sysctl_sched_tunable_scaling;extern unsigned int sysctl_balance_numa_scan_period_min;extern unsigned int sysctl_balance_numa_scan_period_max; +extern unsigned int sysctl_balance_numa_scan_size;extern unsigned int sysctl_balance_numa_settle_count;#ifdef CONFIG_SCHED_DEBUG
kernel/sched/fair.c +52 -13
92 lines not on this page · raw message
kernel/sysctl.c +7 -0
@@ -366,6 +366,13 @@ static struct ctl_table kern_table[] = { .mode = 0644, .proc_handler = proc_dointvec, }, + { + .procname = "balance_numa_scan_size_mb", + .data = &sysctl_balance_numa_scan_size, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec, + },#endif /* CONFIG_BALANCE_NUMA */ #endif /* CONFIG_SCHED_DEBUG */ {
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 26/46 sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges
In reply to Mel GormanBy accounting against the present PTEs, scanning speed reflects the actual present (mapped) memory.
--- kernel/sched/fair.c | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-)
kernel/sched/fair.c +21 -15
@@ -827,8 +827,8 @@ void task_numa_work(struct callback_head *work)struct task_struct *p = current;struct mm_struct *mm = p->mm;struct vm_area_struct *vma; -unsigned long offset, end; -long length; +unsigned long start, end; +long pages; WARN_ON_ONCE(p != container_of(work, struct task_struct, numa_work));
@@ -858,18 +858,20 @@ void task_numa_work(struct callback_head *work)if (cmpxchg (&mm->numa_next_scan, migrate, next_scan) != migrate)return ; - offset = mm->numa_scan_offset; - length = sysctl_balance_numa_scan_size; - length <<=20 ; + start = mm->numa_scan_offset; + pages = sysctl_balance_numa_scan_size; + pages <<=20 -PAGE_SHIFT ;/* MB in pages */ +if (!pages) +return ;down_read (&mm->mmap_sem); - vma =find_vma (mm, offset); + vma =find_vma (mm, start);if (!vma) {reset_ptenuma_scan (p); - offset =0 ; + start =0 ; vma = mm->mmap; } -for (; vma && length >0 ; vma = vma->vm_next) { +for (; vma; vma = vma->vm_next) {if (!vma_migratable (vma))continue ;
@@ -877,15 +879,19 @@ void task_numa_work(struct callback_head *work)if (((vma->vm_end - vma->vm_start) >>PAGE_SHIFT ) <HPAGE_PMD_NR )continue ; - offset =max (offset, vma->vm_start); - end =min (ALIGN (offset + length,HPAGE_SIZE ), vma->vm_end); - length -= end - offset; - -change_prot_numa (vma, offset, end); +do { + start =max (start, vma->vm_start); + end =ALIGN (start + (pages <<PAGE_SHIFT ),HPAGE_SIZE ); + end =min (end, vma->vm_end); + pages -=change_prot_numa (vma, start, end); - offset = end; + start = end; +if (pages <=0 ) + goto out; + }while (end != vma->vm_end); } +out:/* * It is possible to reach the end of the VMA list but the last few VMAs are * not guaranteed to the vma_migratable. If they are not, we would find the
@@ -893,7 +899,7 @@ void task_numa_work(struct callback_head *work)* so check it now. */ if (vma) - mm->numa_scan_offset = offset; + mm->numa_scan_offset = start;else reset_ptenuma_scan (p);up_read (&mm->mmap_sem);
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 27/46 mm: sched: numa: Implement slow start for working set sampling
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Add a 1 second delay before starting to scan the working set of a task and starting to balance it amongst nodes.
[ note that before the constant per task WSS sampling rate patch
the initial scan would happen much later still, in effect that patch caused this regression. ]
The theory is that short-run tasks benefit very little from NUMA
placement: they come and go, and they better stick to the node they were started on. As tasks mature and rebalance to other CPUs and nodes, so does their NUMA placement have to change and so does it start to matter more and more.
In practice this change fixes an observable kbuild regression:
# [ a perf stat --null --repeat 10 test of ten bzImage builds to /dev/shm ]
!NUMA:
45.291088843 seconds time elapsed ( +- 0.40% ) 45.154231752 seconds time elapsed ( +- 0.36% )
+NUMA, no slow start:
46.172308123 seconds time elapsed ( +- 0.30% ) 46.343168745 seconds time elapsed ( +- 0.25% )
+NUMA, 1 sec slow start:
45.224189155 seconds time elapsed ( +- 0.25% ) 45.160866532 seconds time elapsed ( +- 0.17% )
and it also fixes an observable perf bench (hackbench) regression:
# perf stat --null --repeat 10 perf bench sched messaging
-NUMA:
-NUMA: 0.246225691 seconds time elapsed ( +- 1.31% ) +NUMA no slow start: 0.252620063 seconds time elapsed ( +- 1.13% )
+NUMA 1sec delay: 0.248076230 seconds time elapsed ( +- 1.35% )
The implementation is simple and straightforward, most of the patch deals with adding the /proc/sys/kernel/balance_numa_scan_delay_ms tunable knob.
--- include/linux/sched.h | 1 + kernel/sched/core.c | 2 +- kernel/sched/fair.c | 5 +++++ kernel/sysctl.c | 7 +++++++ 4 files changed, 14 insertions(+), 1 deletion(-)
include/linux/sched.h +1 -0
@@ -2006,6 +2006,7 @@ enum sched_tunable_scaling { };extern enum sched_tunable_scaling sysctl_sched_tunable_scaling; +extern unsigned int sysctl_balance_numa_scan_delay;extern unsigned int sysctl_balance_numa_scan_period_min;extern unsigned int sysctl_balance_numa_scan_period_max;extern unsigned int sysctl_balance_numa_scan_size;
kernel/sched/core.c +1 -1
@@ -1543,7 +1543,7 @@ static void __sched_fork(struct task_struct *p) p->node_stamp =0ULL ; p->numa_scan_seq = p->mm ? p->mm->numa_scan_seq :0 ; p->numa_migrate_seq = p->mm ? p->mm->numa_scan_seq -1 :0 ; - p->numa_scan_period = sysctl_balance_numa_scan_period_min; + p->numa_scan_period = sysctl_balance_numa_scan_delay; p->numa_work.next = &p->numa_work;#endif /* CONFIG_BALANCE_NUMA */ }
kernel/sched/fair.c +5 -0
@@ -788,6 +788,9 @@ unsigned int sysctl_balance_numa_scan_period_max = 100*16;/* Portion of address space to scan in MB */ unsigned int sysctl_balance_numa_scan_size =256 ; +/* Scan @scan_size MB every @scan_period after an initial @scan_delay in ms */ +unsigned int sysctl_balance_numa_scan_delay =1000 ; +static void task_numa_placement (struct task_struct *p) {int seq =ACCESS_ONCE (p->mm->numa_scan_seq);
@@ -929,6 +932,8 @@ void task_tick_numa(struct rq *rq, struct task_struct *curr) period = (u64 )curr->numa_scan_period *NSEC_PER_MSEC ;if (now - curr->node_stamp > period) { +if (!curr->node_stamp) + curr->numa_scan_period = sysctl_balance_numa_scan_period_min; curr->node_stamp = now;if (!time_before (jiffies, curr->mm->numa_next_scan)) {
kernel/sysctl.c +7 -0
@@ -353,6 +353,13 @@ static struct ctl_table kern_table[] = {#endif /* CONFIG_SMP */ #ifdef CONFIG_BALANCE_NUMA { + .procname = "balance_numa_scan_delay_ms", + .data = &sysctl_balance_numa_scan_delay, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec, + }, + { .procname = "balance_numa_scan_period_min_ms", .data = &sysctl_balance_numa_scan_period_min, .maxlen = sizeof(unsigned int),
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 28/46 mm: numa: Add pte updates, hinting and migration stats
In reply to Mel GormanIt is tricky to quantify the basic cost of automatic NUMA placement in a meaningful manner. This patch adds some vmstats that can be used as part of a basic costing model.
u = basic unit = sizeof(void *)
Ca = cost of struct page access = sizeof(struct page) / u
Cpte = Cost PTE access = Ca
Cupdate = Cost PTE update = (2 * Cpte) + (2 * Wlock)
where Cpte is incurred twice for a read and a write and Wlock is a constant representing the cost of taking or releasing a lock
Cnumahint = Cost of a minor page fault = some high constant e.g. 1000 Cpagerw = Cost to read or write a full page = Ca + PAGE_SIZE/u Ci = Cost of page isolation = Ca + Wi
where Wi is a constant that should reflect the approximate cost of the locking operation
Cpagecopy = Cpagerw + (Cpagerw * Wnuma) + Ci + (Ci * Wnuma)
where Wnuma is the approximate NUMA factor. 1 is local. 1.2 would imply that remote accesses are 20% more expensive
Balancing cost = Cpte * numa_pte_updates +
Cnumahint * numa_hint_faults +
Ci * numa_pages_migrated +
Cpagecopy * numa_pages_migrated
Note that numa_pages_migrated is used as a measure of how many pages were isolated even though it would miss pages that failed to migrate. A vmstat counter could have been added for it but the isolation cost is pretty marginal in comparison to the overall cost so it seemed overkill.
The ideal way to measure automatic placement benefit would be to count the number of remote accesses versus local accesses and do something like
benefit = (remote_accesses_before - remove_access_after) * Wnuma
but the information is not readily available. As a workload converges, the expection would be that the number of remote numa hints would reduce to 0.
convergence = numa_hint_faults_local / numa_hint_faults
where this is measured for the last N number of numa hints recorded. When the workload is fully converged the value is 1.
This can measure if the placement policy is converging and how fast it is doing it.
--- include/linux/vm_event_item.h | 6 ++++++ include/linux/vmstat.h | 8 ++++++++ mm/huge_memory.c | 1 + mm/memory.c | 12 ++++++++++++ mm/mempolicy.c | 2 ++ mm/migrate.c | 3 ++- mm/vmstat.c | 6 ++++++ 7 files changed, 37 insertions(+), 1 deletion(-)
include/linux/vm_event_item.h +6 -0
@@ -38,6 +38,12 @@ enum vm_event_item { PGPGIN, PGPGOUT, PSWPIN, PSWPOUT,KSWAPD_LOW_WMARK_HIT_QUICKLY ,KSWAPD_HIGH_WMARK_HIT_QUICKLY ,KSWAPD_SKIP_CONGESTION_WAIT ,PAGEOUTRUN ,ALLOCSTALL ,PGROTATED , +#ifdef CONFIG_BALANCE_NUMA +NUMA_PTE_UPDATES , +NUMA_HINT_FAULTS , +NUMA_HINT_FAULTS_LOCAL , +NUMA_PAGE_MIGRATE , +#endif #ifdef CONFIG_MIGRATION PGMIGRATE_SUCCESS, PGMIGRATE_FAIL, #endif
include/linux/vmstat.h +8 -0
@@ -80,6 +80,14 @@ static inline void vm_events_fold_cpu(int cpu)#endif /* CONFIG_VM_EVENT_COUNTERS */ +#ifdef CONFIG_BALANCE_NUMA +#define count_vm_numa_event (x) count_vm_event(x) +#define count_vm_numa_events (x, y) count_vm_events(x, y) +#else +#define count_vm_numa_event (x) do {} while (0) +#define count_vm_numa_events (x, y) do {} while (0) +#endif /* CONFIG_BALANCE_NUMA */ +#define __count_zone_vm_events (item, zone, delta) \ __count_vm_events(item##_NORMAL - ZONE_NORMAL + \ zone_idx(zone), delta)
mm/huge_memory.c +1 -0
@@ -1033,6 +1033,7 @@ int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, page =pmd_page (pmd);get_page (page);spin_unlock (&mm->page_table_lock); +count_vm_numa_event (NUMA_HINT_FAULTS ); target_nid =mpol_misplaced (page, vma, haddr);if (target_nid ==-1 )
mm/memory.c +12 -0
@@ -3477,6 +3477,7 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,set_pte_at (mm, addr, ptep, pte);update_mmu_cache (vma, addr, ptep); +count_vm_numa_event (NUMA_HINT_FAULTS ); page =vm_normal_page (vma, addr, pte);if (!page) {pte_unmap_unlock (ptep, ptl);
@@ -3485,6 +3486,8 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,get_page (page); current_nid =page_to_nid (page); +if (current_nid ==numa_node_id ()) +count_vm_numa_event (NUMA_HINT_FAULTS_LOCAL ); target_nid =mpol_misplaced (page, vma, addr);pte_unmap_unlock (ptep, ptl);if (target_nid ==-1 ) {
@@ -3516,6 +3519,9 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,unsigned long offset;spinlock_t *ptl;bool numa = false; +int local_nid =numa_node_id (); +unsigned long nr_faults =0 ; +unsigned long nr_faults_local =0 ;spin_lock (&mm->page_table_lock); pmd = *pmdp;
@@ -3564,10 +3570,16 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, curr_nid =page_to_nid (page);task_numa_fault (curr_nid,1 ); + nr_faults++; +if (curr_nid == local_nid) + nr_faults_local++; + pte =pte_offset_map_lock (mm, pmdp, addr, &ptl); }pte_unmap_unlock (orig_pte, ptl); +count_vm_numa_events (NUMA_HINT_FAULTS , nr_faults); +count_vm_numa_events (NUMA_HINT_FAULTS_LOCAL , nr_faults_local);return 0 ; }
mm/mempolicy.c +2 -0
@@ -583,6 +583,8 @@ unsigned long change_prot_numa(struct vm_area_struct *vma,BUILD_BUG_ON (_PAGE_NUMA != _PAGE_PROTNONE); nr_updated =change_protection (vma, addr, end, vma->vm_page_prot,0 ,1 ); +if (nr_updated) +count_vm_numa_events (NUMA_PTE_UPDATES , nr_updated);return nr_updated; }
mm/migrate.c +2 -1
@@ -1511,7 +1511,8 @@ int migrate_misplaced_page(struct page *page, int node)if (nr_remaining) {putback_lru_pages (&migratepages); isolated =0 ; - } + }else +count_vm_numa_event (NUMA_PAGE_MIGRATE ); }BUG_ON (!list_empty (&migratepages)); out:
mm/vmstat.c +6 -0
@@ -774,6 +774,12 @@ const char * const vmstat_text[] = {"pgrotated" , +#ifdef CONFIG_BALANCE_NUMA +"numa_pte_updates" , +"numa_hint_faults" , +"numa_hint_faults_local" , +"numa_pages_migrated" , +#endif #ifdef CONFIG_MIGRATION"pgmigrate_success" , "pgmigrate_fail",
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 29/46 mm: numa: Migrate on reference policy
In reply to Mel GormanThis is the simplest possible policy that still does something of note. When a pte_numa is faulted, it is moved immediately. Any replacement policy must at least do better than this and in all likelihood this policy regresses normal workloads.
--- include/uapi/linux/mempolicy.h | 1 + mm/mempolicy.c | 38 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 2 deletions(-)
include/uapi/linux/mempolicy.h +1 -0
@@ -67,6 +67,7 @@ enum mpol_rebind_step {#define MPOL_F_LOCAL (1 << 1)/* preferred local allocation */ #define MPOL_F_REBINDING (1 << 2)/* identify policies in rebinding */ #define MPOL_F_MOF (1 << 3)/* this policy wants migrate on fault */ +#define MPOL_F_MORON (1 << 4)/* Migrate On pte_numa Reference On Node */ #endif /* _UAPI_LINUX_MEMPOLICY_H */
mm/mempolicy.c +36 -2
@@ -118,6 +118,26 @@ static struct mempolicy default_policy = { .flags = MPOL_F_LOCAL, }; +static struct mempolicy preferred_node_policy[MAX_NUMNODES ]; + +static struct mempolicy *get_task_policy (struct task_struct *p) +{ +struct mempolicy *pol = p->mempolicy; +int node; + +if (!pol) { + node =numa_node_id (); +if (node !=-1 ) + pol = &preferred_node_policy[node]; + +/* preferred_node_policy is not initialised early in boot */ +if (!pol->mode) + pol =NULL ; + } + +return pol; +} + static const struct mempolicy_operations { int (*create)(struct mempolicy *pol, const nodemask_t *nodes); /*
@@ -1598,7 +1618,7 @@ asmlinkage long compat_sys_mbind(compat_ulong_t start, compat_ulong_t len,struct mempolicy *get_vma_policy (struct task_struct *task,struct vm_area_struct *vma,unsigned long addr) { -struct mempolicy *pol = task->mempolicy; +struct mempolicy *pol =get_task_policy (task);if (vma) {if (vma->vm_ops && vma->vm_ops->get_policy) {
@@ -2021,7 +2041,7 @@ retry_cpuset:*/ struct page *alloc_pages_current (gfp_t gfp,unsigned order) { -struct mempolicy *pol = current->mempolicy; +struct mempolicy *pol =get_task_policy (current);struct page *page;unsigned int cpuset_mems_cookie;
@@ -2295,6 +2315,11 @@ int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned longdefault :BUG (); } + +/* Migrate the page towards the node whose CPU is referencing it */ +if (pol->flags &MPOL_F_MORON ) + polnid =numa_node_id (); +if (curnid != polnid) ret = polnid; out:
@@ -2483,6 +2508,15 @@ void __init numa_policy_init(void)sizeof (struct sp_node ), 0, SLAB_PANIC, NULL); +for_each_node (nid) { + preferred_node_policy[nid] = (struct mempolicy ) { + .refcnt =ATOMIC_INIT (1 ), + .mode =MPOL_PREFERRED , + .flags =MPOL_F_MOF |MPOL_F_MORON , + .v = { .preferred_node = nid, }, + }; + } +/* * Set interleaving policy for system init. Interleaving is only * enabled across suitably sized nodes (default is >= 16MB), or
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 30/46 mm: numa: Migrate pages handled during a pmd_numa hinting fault
In reply to Mel GormanTo say that the PMD handling code was incorrectly transferred from autonuma is an understatement. The intention was to handle a PMDs worth of pages in the same fault and effectively batch the taking of the PTL and page migration. The copied version instead has the impact of clearing a number of pte_numa PTE entries and whether any page migration takes place depends on racing. This just happens to work in some cases.
This patch handles pte_numa faults in batch when a pmd_numa fault is handled. The pages are migrated if they are currently misplaced. Essentially this is making an assumption that NUMA locality is on a PMD boundary but that could be addressed by only setting pmd_numa if all the pages within that PMD are on the same node if necessary.
--- mm/memory.c | 51 ++++++++++++++++++++++++++++++++++----------------- mm/mprotect.c | 26 ++++++++++++++++++++------ 2 files changed, 54 insertions(+), 23 deletions(-)
mm/memory.c +34 -17
@@ -3449,6 +3449,18 @@ static int do_nonlinear_fault(struct mm_struct *mm, struct vm_area_struct *vma,return __do_fault (mm, vma, address, pmd, pgoff, flags, orig_pte); } +int numa_migrate_prep (struct page *page,struct vm_area_struct *vma, +unsigned long addr,int current_nid) +{ +get_page (page); + +count_vm_numa_event (NUMA_HINT_FAULTS ); +if (current_nid ==numa_node_id ()) +count_vm_numa_event (NUMA_HINT_FAULTS_LOCAL ); + +return mpol_misplaced (page, vma, addr); +} +int do_numa_page (struct mm_struct *mm,struct vm_area_struct *vma,unsigned long addr,pte_t pte,pte_t *ptep,pmd_t *pmd) {
@@ -3477,18 +3489,14 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,set_pte_at (mm, addr, ptep, pte);update_mmu_cache (vma, addr, ptep); -count_vm_numa_event (NUMA_HINT_FAULTS ); page =vm_normal_page (vma, addr, pte);if (!page) {pte_unmap_unlock (ptep, ptl);return 0 ; } -get_page (page); current_nid =page_to_nid (page); -if (current_nid ==numa_node_id ()) -count_vm_numa_event (NUMA_HINT_FAULTS_LOCAL ); - target_nid =mpol_misplaced (page, vma, addr); + target_nid =numa_migrate_prep (page, vma, addr, current_nid);pte_unmap_unlock (ptep, ptl);if (target_nid ==-1 ) {/*
@@ -3505,7 +3513,8 @@ int do_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, current_nid = target_nid; out: -task_numa_fault (current_nid,1 ); +if (current_nid !=-1 ) +task_numa_fault (current_nid,1 );return 0 ; }
@@ -3520,8 +3529,6 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,spinlock_t *ptl;bool numa = false;int local_nid =numa_node_id (); -unsigned long nr_faults =0 ; -unsigned long nr_faults_local =0 ;spin_lock (&mm->page_table_lock); pmd = *pmdp;
@@ -3544,7 +3551,8 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,for (addr = _addr + offset; addr < _addr +PMD_SIZE ; pte++, addr +=PAGE_SIZE ) {pte_t pteval = *pte;struct page *page; -int curr_nid; +int curr_nid = local_nid; +int target_nid;if (!pte_present (pteval))continue ;if (!pte_numa (pteval))
@@ -3565,21 +3573,30 @@ int do_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma,/* only check non-shared pages */ if (unlikely (page_mapcount (page) !=1 ))continue ; -pte_unmap_unlock (pte, ptl); - curr_nid =page_to_nid (page); -task_numa_fault (curr_nid,1 ); +/* +* Note that the NUMA fault is later accounted to either +* the node that is currently running or where the page is +* migrated to. +*/ + curr_nid = local_nid; + target_nid =numa_migrate_prep (page, vma, addr, +page_to_nid (page)); +if (target_nid ==-1 ) { +put_page (page); +continue ; + } - nr_faults++; -if (curr_nid == local_nid) - nr_faults_local++; +/* Migrate to the requested node */ +pte_unmap_unlock (pte, ptl); +if (migrate_misplaced_page (page, target_nid)) + curr_nid = target_nid; +task_numa_fault (curr_nid,1 ); pte =pte_offset_map_lock (mm, pmdp, addr, &ptl); }pte_unmap_unlock (orig_pte, ptl); -count_vm_numa_events (NUMA_HINT_FAULTS , nr_faults); -count_vm_numa_events (NUMA_HINT_FAULTS_LOCAL , nr_faults_local);return 0 ; }
mm/mprotect.c +20 -6
@@ -37,12 +37,14 @@ static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)static unsigned long change_pte_range (struct vm_area_struct *vma,pmd_t *pmd,unsigned long addr,unsigned long end,pgprot_t newprot, -int dirty_accountable,int prot_numa) +int dirty_accountable,int prot_numa,bool *ret_all_same_node) {struct mm_struct *mm = vma->vm_mm;pte_t *pte, oldpte;spinlock_t *ptl;unsigned long pages =0 ; +bool all_same_node = true; +int last_nid =-1 ; pte =pte_offset_map_lock (mm, pmd, addr, &ptl);arch_enter_lazy_mmu_mode ();
@@ -61,6 +63,12 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd, page =vm_normal_page (vma, addr, oldpte);if (page) { +int this_nid =page_to_nid (page); +if (last_nid ==-1 ) + last_nid = this_nid; +if (last_nid != this_nid) + all_same_node = false; +/* only check non-shared pages */ if (!pte_numa (oldpte) &&page_mapcount (page) ==1 ) {
@@ -81,7 +89,6 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd,if (updated) pages++; -ptep_modify_prot_commit (mm, addr, pte, ptent); }else if (IS_ENABLED (CONFIG_MIGRATION ) && !pte_file (oldpte)) {swp_entry_t entry =pte_to_swp_entry (oldpte);
@@ -101,6 +108,7 @@ static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd,arch_leave_lazy_mmu_mode ();pte_unmap_unlock (pte -1 , ptl); + *ret_all_same_node = all_same_node;return pages; }
@@ -111,6 +119,7 @@ static inline unsigned long change_pmd_range(struct vm_area_struct *vma, pud_t *pmd_t *pmd;unsigned long next;unsigned long pages =0 ; +bool all_same_node; pmd =pmd_offset (pud, addr); do {
@@ -127,16 +136,21 @@ static inline unsigned long change_pmd_range(struct vm_area_struct *vma, pud_t *if (pmd_none_or_clear_bad (pmd))continue ; pages +=change_pte_range (vma, pmd, addr, next, newprot, - dirty_accountable, prot_numa); - -if (prot_numa) { + dirty_accountable, prot_numa, &all_same_node); + +/* +* If we are changing protections for NUMA hinting faults then +* set pmd_numa if the examined pages were all on the same +* node. This allows a regular PMD to be handled as one fault +* and effectively batches the taking of the PTL +*/ +if (prot_numa && all_same_node) {struct mm_struct *mm = vma->vm_mm;spin_lock (&mm->page_table_lock);set_pmd_at (mm, addr &PMD_MASK , pmd,pmd_mknuma (*pmd));spin_unlock (&mm->page_table_lock); } - }while (pmd++, addr = next, addr != end);return pages;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 31/46 mm: numa: Structures for Migrate On Fault per NUMA migration rate limiting
In reply to Mel GormanFrom: Andrea Arcangeli <[email protected]>
This defines the per-node data used by Migrate On Fault in order to rate limit the migration. The rate limiting is applied independently to each destination node.
--- include/linux/mmzone.h | 13 +++++++++++++ mm/page_alloc.c | 5 +++++ 2 files changed, 18 insertions(+)
include/linux/mmzone.h +13 -0
@@ -717,6 +717,19 @@ typedef struct pglist_data {struct task_struct *kswapd;/* Protected by lock_memory_hotplug() */ int kswapd_max_order;enum zone_type classzone_idx; +#ifdef CONFIG_BALANCE_NUMA +/* +* Lock serializing the per destination node AutoNUMA memory +* migration rate limiting data. +*/ +spinlock_t balancenuma_migrate_lock; + +/* Rate limiting time interval */ +unsigned long balancenuma_migrate_next_window; + +/* Number of pages migrated during the rate limiting time interval */ +unsigned long balancenuma_migrate_nr_pages; +#endif } pg_data_t;#define node_present_pages (nid) (NODE_DATA(nid)->node_present_pages)
mm/page_alloc.c +5 -0
@@ -4449,6 +4449,11 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,int ret;pgdat_resize_init (pgdat); +#ifdef CONFIG_BALANCE_NUMA +spin_lock_init (&pgdat->balancenuma_migrate_lock); + pgdat->balancenuma_migrate_nr_pages =0 ; + pgdat->balancenuma_migrate_next_window = jiffies; +#endif init_waitqueue_head (&pgdat->kswapd_wait);init_waitqueue_head (&pgdat->pfmemalloc_wait);pgdat_page_cgroup_init (pgdat);
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 32/46 mm: numa: Rate limit the amount of memory that is migrated between nodes
In reply to Mel GormanNOTE: This is very heavily based on similar logic in autonuma. It should
be signed off by Andrea but because there was no standalone patch and it's sufficiently different from what he did that the signed-off is omitted. Will be added back if requested.
If a large number of pages are misplaced then the memory bus can be saturated just migrating pages between nodes. This patch rate-limits the amount of memory that can be migrating between nodes.
--- mm/migrate.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-)
mm/migrate.c +30 -1
@@ -1461,12 +1461,21 @@ static struct page *alloc_misplaced_dst_page(struct page *page, }/* +* page migration rate limiting control. +* Do not migrate more than @pages_to_migrate in a @migrate_interval_millisecs +* window of time. Default here says do not migrate more than 1280M per second. +*/ +static unsigned int migrate_interval_millisecs__read_mostly =100 ; +static unsigned int ratelimit_pages__read_mostly =128 << (20 -PAGE_SHIFT ); + +/* * Attempt to migrate a misplaced page to the specified destination * node. Caller is expected to have an elevated reference count on * the page that will be dropped by this function before returning. */ int migrate_misplaced_page (struct page *page,int node) { +pg_data_t *pgdat =NODE_DATA (node);int isolated =0 ;LIST_HEAD (migratepages);
@@ -1479,8 +1488,27 @@ int migrate_misplaced_page(struct page *page, int node) goto out; } +/* +* Rate-limit the amount of data that is being migrated to a node. +* Optimal placement is no good if the memory bus is saturated and +* all the time is being spent migrating! +*/ +spin_lock (&pgdat->balancenuma_migrate_lock); +if (time_after (jiffies, pgdat->balancenuma_migrate_next_window)) { + pgdat->balancenuma_migrate_nr_pages =0 ; + pgdat->balancenuma_migrate_next_window = jiffies + +msecs_to_jiffies (migrate_interval_millisecs); + } +if (pgdat->balancenuma_migrate_nr_pages > ratelimit_pages) { +spin_unlock (&pgdat->balancenuma_migrate_lock); +put_page (page); + goto out; + } + pgdat->balancenuma_migrate_nr_pages++; +spin_unlock (&pgdat->balancenuma_migrate_lock); +/* Avoid migrating to a node that is nearly full */ -if (migrate_balanced_pgdat (NODE_DATA (node),1 )) { +if (migrate_balanced_pgdat (pgdat,1 )) {int page_lru;if (isolate_lru_page (page)) {
@@ -1515,6 +1543,7 @@ int migrate_misplaced_page(struct page *page, int node)count_vm_numa_event (NUMA_PAGE_MIGRATE ); }BUG_ON (!list_empty (&migratepages)); + out:return isolated; }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 33/46 mm: numa: Rate limit setting of pte_numa if node is saturated
In reply to Mel GormanIf there are a large number of NUMA hinting faults and all of them are resulting in migrations it may indicate that memory is just bouncing uselessly around. NUMA balancing cost is likely exceeding any benefit from locality. Rate limit the PTE updates if the node is migration rate-limited. As noted in the comments, this distorts the NUMA faulting statistics.
--- include/linux/migrate.h | 6 ++++++ kernel/sched/fair.c | 9 +++++++++ mm/migrate.c | 20 ++++++++++++++++++++ 3 files changed, 35 insertions(+)
include/linux/migrate.h +6 -0
@@ -41,6 +41,7 @@ extern void migrate_page_copy(struct page *newpage, struct page *page);extern int migrate_huge_page_move_mapping (struct address_space *mapping,struct page *newpage,struct page *page);extern int migrate_misplaced_page (struct page *page,int node); +extern bool migrate_ratelimited (int node);#else static inline void putback_lru_pages (struct list_head *l) {}
@@ -79,6 +80,11 @@ int migrate_misplaced_page(struct page *page, int node) {return -EAGAIN ;/* can't migrate now */ } +static inline +bool migrate_ratelimited (int node) +{ +return false; +}#endif /* CONFIG_MIGRATION */ #endif /* _LINUX_MIGRATE_H */
kernel/sched/fair.c +9 -0
@@ -27,6 +27,7 @@#include <linux/profile.h> #include <linux/interrupt.h> #include <linux/mempolicy.h> +#include <linux/migrate.h> #include <linux/task_work.h> #include <trace/events/sched.h>
@@ -861,6 +862,14 @@ void task_numa_work(struct callback_head *work)if (cmpxchg (&mm->numa_next_scan, migrate, next_scan) != migrate)return ; +/* +* Do not set pte_numa if the current running node is rate-limited. +* This loses statistics on the fault but if we are unwilling to +* migrate to this node, it is less likely we can do useful work +*/ +if (migrate_ratelimited (numa_node_id ())) +return ; + start = mm->numa_scan_offset; pages = sysctl_balance_numa_scan_size; pages <<=20 -PAGE_SHIFT ;/* MB in pages */
mm/migrate.c +20 -0
@@ -1464,10 +1464,30 @@ static struct page *alloc_misplaced_dst_page(struct page *page,* page migration rate limiting control. * Do not migrate more than @pages_to_migrate in a @migrate_interval_millisecs * window of time. Default here says do not migrate more than 1280M per second. +* If a node is rate-limited then PTE NUMA updates are also rate-limited. However +* as it is faults that reset the window, pte updates will happen unconditionally +* if there has not been a fault since @pteupdate_interval_millisecs after the +* throttle window closed. */ static unsigned int migrate_interval_millisecs__read_mostly =100 ; +static unsigned int pteupdate_interval_millisecs__read_mostly =1000 ;static unsigned int ratelimit_pages__read_mostly =128 << (20 -PAGE_SHIFT ); +/* Returns true if NUMA migration is currently rate limited */ +bool migrate_ratelimited (int node) +{ +pg_data_t *pgdat =NODE_DATA (node); + +if (time_after (jiffies, pgdat->balancenuma_migrate_next_window + +msecs_to_jiffies (pteupdate_interval_millisecs))) +return false; + +if (pgdat->balancenuma_migrate_nr_pages < ratelimit_pages) +return false; + +return true; +} +/* * Attempt to migrate a misplaced page to the specified destination * node. Caller is expected to have an elevated reference count on
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 34/46 sched: numa: Slowly increase the scanning period as NUMA faults are handled
In reply to Mel GormanCurrently the rate of scanning for an address space is controlled by the individual tasks. The next scan is simply determined by 2*p->numa_scan_period.
The 2*p->numa_scan_period is arbitrary and never changes. At this point there is still no proper policy that decides if a task or process is properly placed. It just scans and assumes the next NUMA fault will place it properly. As it is assumed that pages will get properly placed over time, increase the scan window each time a fault is incurred. This is a big assumption as noted in the comments.
It should be noted that changing to p->numa_scan_period will increase system CPU usage because now the scanning rate has effectively doubled. If that is a problem then the min_rate should be made 200ms instead of restoring the 2* logic.
--- kernel/sched/fair.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
kernel/sched/fair.c +10 -1
@@ -812,6 +812,15 @@ void task_numa_fault(int node, int pages)/* FIXME: Allocate task-specific structure for placement policy here */ +/* +* Assume that as faults occur that pages are getting properly placed +* and fewer NUMA hints are required. Note that this is a big +* assumption, it assumes processes reach a steady steady with no +* further phase changes. +*/ + p->numa_scan_period =min (sysctl_balance_numa_scan_period_max, + p->numa_scan_period +jiffies_to_msecs (2 )); +task_numa_placement (p); }
@@ -858,7 +867,7 @@ void task_numa_work(struct callback_head *work)if (p->numa_scan_period ==0 ) p->numa_scan_period = sysctl_balance_numa_scan_period_min; - next_scan = now +2 *msecs_to_jiffies (p->numa_scan_period); + next_scan = now +msecs_to_jiffies (p->numa_scan_period);if (cmpxchg (&mm->numa_next_scan, migrate, next_scan) != migrate)return ;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 35/46 mm: numa: Introduce last_nid to the page frame
In reply to Mel GormanThis patch introduces a last_nid field to the page struct. This is used to build a two-stage filter in the next patch that is aimed at mitigating a problem whereby pages migrate to the wrong node when referenced by a process that was running off its home node.
--- include/linux/mm.h | 30 ++++++++++++++++++++++++++++++ include/linux/mm_types.h | 4 ++++ mm/page_alloc.c | 2 ++ 3 files changed, 36 insertions(+)
include/linux/mm.h +30 -0
@@ -693,6 +693,36 @@ static inline int page_to_nid(const struct page *page) }#endif +#ifdef CONFIG_BALANCE_NUMA +static inline int page_xchg_last_nid (struct page *page,int nid) +{ +return xchg (&page->_last_nid, nid); +} + +static inline int page_last_nid (struct page *page) +{ +return page->_last_nid; +} +static inline void reset_page_last_nid (struct page *page) +{ + page->_last_nid =-1 ; +} +#else +static inline int page_xchg_last_nid (struct page *page,int nid) +{ +return page_to_nid (page); +} + +static inline int page_last_nid (struct page *page) +{ +return page_to_nid (page); +} + +static inline void reset_page_last_nid (struct page *page) +{ +} +#endif +static inline struct zone *page_zone (const struct page *page) {return &NODE_DATA (page_to_nid (page))->node_zones[page_zonenum (page)];
include/linux/mm_types.h +4 -0
@@ -175,6 +175,10 @@ struct page {*/ void *shadow;#endif + +#ifdef CONFIG_BALANCE_NUMA +int _last_nid; +#endif }/* * The struct page can be forced to be double word aligned so that atomic ops
mm/page_alloc.c +2 -0
@@ -608,6 +608,7 @@ static inline int free_pages_check(struct page *page)bad_page (page);return 1 ; } +reset_page_last_nid (page);if (page->flags &PAGE_FLAGS_CHECK_AT_PREP ) page->flags &= ~PAGE_FLAGS_CHECK_AT_PREP ;return 0 ;
@@ -3826,6 +3827,7 @@ void __meminit memmap_init_zone(unsigned long size, int nid, unsigned long zone,mminit_verify_page_links (page, zone, nid, pfn);init_page_count (page);reset_page_mapcount (page); +reset_page_last_nid (page);SetPageReserved (page);/* * Mark the block movable so that blocks are reserved for
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 36/46 mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
In reply to Mel GormanWhile it is desirable that all threads in a process run on its home node, this is not always possible or necessary. There may be more threads than exist within the node or the node might over-subscribed with unrelated processes.
This can cause a situation whereby a page gets migrated off its home node because the threads clearing pte_numa were running off-node. This patch uses page->last_nid to build a two-stage filter before pages get migrated to avoid problems with short or unlikely task<->node relationships.
--- mm/mempolicy.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-)
mm/mempolicy.c +29 -1
@@ -2317,9 +2317,37 @@ int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned long }/* Migrate the page towards the node whose CPU is referencing it */ -if (pol->flags &MPOL_F_MORON ) +if (pol->flags &MPOL_F_MORON ) { +int last_nid; + polnid =numa_node_id (); +/* +* Multi-stage node selection is used in conjunction +* with a periodic migration fault to build a temporal +* task<->page relation. By using a two-stage filter we +* remove short/unlikely relations. +* +* Using P(p) ~ n_p / n_t as per frequentist +* probability, we can equate a task's usage of a +* particular page (n_p) per total usage of this +* page (n_t) (in a given time-span) to a probability. +* +* Our periodic faults will sample this probability and +* getting the same result twice in a row, given these +* samples are fully independent, is then given by +* P(n)^2, provided our sample period is sufficiently +* short compared to the usage pattern. +* +* This quadric squishes small probabilities, making +* it less likely we act on an unlikely task<->page +* relation. +*/ + last_nid =page_xchg_last_nid (page, polnid); +if (last_nid != polnid) + goto out; + } +if (curnid != polnid) ret = polnid; out:
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 37/46 mm: numa: Add THP migration for the NUMA working set scanning fault case.
In reply to Mel GormanNote: This is very heavily based on a patch from Peter Zijlstra with
fixes from Ingo Molnar, Hugh Dickins and Johannes Weiner. That patch put a lot of migration logic into mm/huge_memory.c where it does not belong. This version puts tries to share some of the migration logic with migrate_misplaced_page. However, it should be noted that now migrate.c is doing more with the pagetable manipulation than is preferred. The end result is barely recognisable so as before, the signed-offs had to be removed but will be re-added if the original authors are ok with it.
Add THP migration for the NUMA working set scanning fault case.
It uses the page lock to serialize. No migration pte dance is necessary because the pte is already unmapped when we decide to migrate.
--- include/linux/migrate.h | 16 ++++ mm/huge_memory.c | 55 +++++++----- mm/internal.h | 2 + mm/migrate.c | 212 ++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 226 insertions(+), 59 deletions(-)
include/linux/migrate.h +16 -0
@@ -41,6 +41,11 @@ extern void migrate_page_copy(struct page *newpage, struct page *page);extern int migrate_huge_page_move_mapping (struct address_space *mapping,struct page *newpage,struct page *page);extern int migrate_misplaced_page (struct page *page,int node); +extern int migrate_misplaced_transhuge_page (struct mm_struct *mm, +struct vm_area_struct *vma, +pmd_t *pmd,pmd_t entry, +unsigned long address, +struct page *page,int node);extern bool migrate_ratelimited (int node);#else
@@ -80,6 +85,17 @@ int migrate_misplaced_page(struct page *page, int node) {return -EAGAIN ;/* can't migrate now */ } + +static inline +int migrate_misplaced_transhuge_page (struct mm_struct *mm, +struct vm_area_struct *vma, +pmd_t *pmd,pmd_t entry, +unsigned long address, +struct page *page,int node) +{ +return -EAGAIN ; +} +static inline bool migrate_ratelimited (int node) {
mm/huge_memory.c +36 -19
91 lines not on this page · raw message
mm/internal.h +2 -0
@@ -221,6 +221,8 @@ static inline void mlock_migrate_page(struct page *newpage, struct page *page) } } +extern pmd_t maybe_pmd_mkwrite (pmd_t pmd,struct vm_area_struct *vma); +#ifdef CONFIG_TRANSPARENT_HUGEPAGE extern unsigned long vma_address (struct page *page,struct vm_area_struct *vma);
mm/migrate.c +172 -40
254 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 38/46 sched: numa: Introduce tsk_home_node()
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Introduce the home-node concept for tasks. In order to keep memory locality we need to have a something to stay local to, we define the home-node of a task as the node we prefer to allocate memory from and prefer to execute on.
These are no hard guarantees, merely soft preferences. This allows for optimal resource usage, we can run a task away from the home-node, the remote memory hit -- while expensive -- is less expensive than not running at all, or very little, due to severe cpu overload.
Similarly, we can allocate memory from another node if our home-node is depleted, again, some memory is better than no memory.
This patch merely introduces the basic infrastructure, all policy comes later.
--- include/linux/init_task.h | 8 ++++++++ include/linux/sched.h | 10 ++++++++++ kernel/sched/core.c | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+)
include/linux/init_task.h +8 -0
@@ -143,6 +143,13 @@ extern struct task_group root_task_group;#define INIT_TASK_COMM "swapper" +#ifdef CONFIG_BALANCE_NUMA +# define INIT_TASK_NUMA (tsk) \ + .home_node = -1, +#else +# define INIT_TASK_NUMA (tsk) +#endif +/* * INIT_TASK is used to set up the first task table, touch at * your own risk!. Base=0, limit=0x1fffff (=2MB)
@@ -210,6 +217,7 @@ extern struct task_group root_task_group; INIT_TRACE_RECURSION \ INIT_TASK_RCU_PREEMPT(tsk) \ INIT_CPUSET_SEQ \ + INIT_TASK_NUMA(tsk) \ }
include/linux/sched.h +10 -0
@@ -1480,6 +1480,7 @@ struct task_struct {short pref_node_fork;#endif #ifdef CONFIG_BALANCE_NUMA +int home_node;int numa_scan_seq;int numa_migrate_seq;unsigned int numa_scan_period;
@@ -1569,6 +1570,15 @@ static inline void task_numa_fault(int node, int pages) }#endif +static inline int tsk_home_node (struct task_struct *p) +{ +#ifdef CONFIG_BALANCE_NUMA +return p->home_node; +#else +return -1 ; +#endif +} +/* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH
kernel/sched/core.c +36 -0
@@ -5972,6 +5972,42 @@ static struct sched_domain_topology_level default_topology[] = {static struct sched_domain_topology_level *sched_domain_topology = default_topology; +#ifdef CONFIG_BALANCE_NUMA + +/* +* Requeues a task ensuring its on the right load-balance list so +* that it might get migrated to its new home. +* +* Note that we cannot actively migrate ourselves since our callers +* can be from atomic context. We rely on the regular load-balance +* mechanisms to move us around -- its all preference anyway. +*/ +void sched_setnode (struct task_struct *p,int node) +{ +unsigned long flags; +int on_rq, running; +struct rq *rq; + + rq =task_rq_lock (p, &flags); + on_rq = p->on_rq; + running =task_current (rq, p); + +if (on_rq) +dequeue_task (rq, p,0 ); +if (running) + p->sched_class->put_prev_task (rq, p); + + p->home_node = node; + +if (running) + p->sched_class->set_curr_task (rq); +if (on_rq) +enqueue_task (rq, p,0 ); +task_rq_unlock (rq, p, &flags); +} + +#endif /* CONFIG_BALANCE_NUMA */ +#ifdef CONFIG_NUMA static int sched_domains_numa_levels;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 39/46 sched: numa: Make find_busiest_queue() a method
In reply to Mel GormanFrom: Peter Zijlstra <[email protected]>
Its a bit awkward but it was the least painful means of modifying the queue selection. Used in the next patch to conditionally use a queue.
--- kernel/sched/fair.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
kernel/sched/fair.c +12 -8
@@ -3253,6 +3253,9 @@ struct lb_env {unsigned int loop;unsigned int loop_break;unsigned int loop_max; + +struct rq * (*find_busiest_queue)(struct lb_env *, +struct sched_group *); };/*
@@ -4426,13 +4429,14 @@ static int load_balance(int this_cpu, struct rq *this_rq,struct cpumask *cpus =__get_cpu_var (load_balance_tmpmask);struct lb_env env = { - .sd = sd, - .dst_cpu = this_cpu, - .dst_rq = this_rq, - .dst_grpmask =sched_group_cpus (sd->groups), - .idle = idle, - .loop_break = sched_nr_migrate_break, - .cpus = cpus, + .sd = sd, + .dst_cpu = this_cpu, + .dst_rq = this_rq, + .dst_grpmask =sched_group_cpus (sd->groups), + .idle = idle, + .loop_break = sched_nr_migrate_break, + .cpus = cpus, + .find_busiest_queue = find_busiest_queue, };cpumask_copy (cpus, cpu_active_mask);
@@ -4451,7 +4455,7 @@ redo: goto out_balanced; } - busiest =find_busiest_queue (&env, group); + busiest = env.find_busiest_queue (&env, group);if (!busiest) {schedstat_inc (sd, lb_nobusyq[idle]); goto out_balanced;
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 40/46 sched: numa: Implement home-node awareness
In reply to Mel GormanNOTE: Entirely on "sched, numa, mm: Implement home-node awareness" but
only a subset of it. There was stuff in there that was disabled by default and generally did slightly more than what I felt was necessary at this stage. In particular the random queue selection logic is gone because it looks broken but it does mean that the last CPU in a node may see increased scheduling pressure which is almost certainly the wrong thing to do. Needs re-examination Signed-offs removed as a result but will re-add if authors are ok.
Implement home node preference in the scheduler's load-balancer.
- task_numa_hot(); make it harder to migrate tasks away from their home-node, controlled using the NUMA_HOMENODE_PREFERRED feature flag.
- load_balance(); during the regular pull load-balance pass, try pulling tasks that are on the wrong node first with a preference of moving them nearer to their home-node through task_numa_hot(), controlled through the NUMA_PULL feature flag.
- load_balance(); when the balancer finds no imbalance, introduce some such that it still prefers to move tasks towards their home-node, using active load-balance if needed, controlled through the NUMA_PULL_BIAS feature flag.
In particular, only introduce this BIAS if the system is otherwise properly (weight) balanced and we either have an offnode or !numa task to trade for it.
In order to easily find off-node tasks, split the per-cpu task list into two parts.
--- include/linux/sched.h | 3 + kernel/sched/core.c | 14 ++- kernel/sched/debug.c | 3 + kernel/sched/fair.c | 298 +++++++++++++++++++++++++++++++++++++++++++---- kernel/sched/features.h | 18 +++ kernel/sched/sched.h | 16 +++ 6 files changed, 324 insertions(+), 28 deletions(-)
include/linux/sched.h +3 -0
@@ -823,6 +823,7 @@ enum cpu_idle_type {#define SD_ASYM_PACKING 0x0800/* Place busy groups earlier in the domain */ #define SD_PREFER_SIBLING 0x1000/* Prefer to place tasks in a sibling domain */ #define SD_OVERLAP 0x2000/* sched_domains of this level overlap */ +#define SD_NUMA 0x4000/* cross-node balancing */ extern int __weak arch_sd_sibiling_asym_packing (void );
@@ -1481,6 +1482,7 @@ struct task_struct {#endif #ifdef CONFIG_BALANCE_NUMA int home_node; +unsigned long numa_contrib;int numa_scan_seq;int numa_migrate_seq;unsigned int numa_scan_period;
@@ -2104,6 +2106,7 @@ extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *);extern int sched_setscheduler_nocheck (struct task_struct *,int ,const struct sched_param *); +extern void sched_setnode (struct task_struct *p,int node);extern struct task_struct *idle_task (int cpu);/** * is_idle_task - is the specified task an idle task?
kernel/sched/core.c +10 -4
@@ -5978,9 +5978,9 @@ static struct sched_domain_topology_level *sched_domain_topology = default_topol* Requeues a task ensuring its on the right load-balance list so * that it might get migrated to its new home. * -* Note that we cannot actively migrate ourselves since our callers -* can be from atomic context. We rely on the regular load-balance -* mechanisms to move us around -- its all preference anyway. +* Since home-node is pure preference there's no hard migrate to force +* us anywhere, this also allows us to call this from atomic context if +* required. */ void sched_setnode (struct task_struct *p,int node) {
@@ -6053,6 +6053,7 @@ sd_numa_init(struct sched_domain_topology_level *tl, int cpu) | 0*SD_SHARE_PKG_RESOURCES |1 *SD_SERIALIZE |0 *SD_PREFER_SIBLING + |1 *SD_NUMA |sd_local_flags (level) , .last_balance = jiffies,
@@ -6914,7 +6915,12 @@ void __init sched_init(void) rq->avg_idle =2 *sysctl_sched_migration_cost;INIT_LIST_HEAD (&rq->cfs_tasks); - +#ifdef CONFIG_BALANCE_NUMA +INIT_LIST_HEAD (&rq->offnode_tasks); + rq->onnode_running =0 ; + rq->offnode_running =0 ; + rq->offnode_weight =0 ; +#endif rq_attach_root (rq, &def_root_domain);#ifdef CONFIG_NO_HZ rq->nohz_flags =0 ;
kernel/sched/debug.c +3 -0
@@ -132,6 +132,9 @@ print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)SEQ_printf (m,"%15Ld %15Ld %15Ld.%06ld %15Ld.%06ld %15Ld.%06ld" ,0LL ,0LL ,0LL ,0L ,0LL ,0L ,0LL ,0L );#endif +#ifdef CONFIG_BALANCE_NUMA +SEQ_printf (m," %d/%d" , p->home_node,cpu_to_node (task_cpu (p))); +#endif #ifdef CONFIG_CGROUP_SCHED SEQ_printf (m," %s" ,task_group_path (task_group (p)));#endif
kernel/sched/fair.c +274 -24
483 lines not on this page · raw message
kernel/sched/features.h +18 -0
@@ -67,4 +67,22 @@ SCHED_FEAT(LB_MIN, false)*/ #ifdef CONFIG_BALANCE_NUMA SCHED_FEAT (NUMA , true) + +/* Keep tasks running on their home node if possible */ +SCHED_FEAT (NUMA_HOMENODE_PREFERRED , true) + +/* +* During the regular pull load-balance pass, try pulling tasks that are +* running off their home node first with a preference to moving them +* nearer their home node through task_numa_hot. + */ +SCHED_FEAT (NUMA_HOMENODE_PULL , true) + +/* +* When the balancer finds no imbalance, introduce some such that it +* still prefers to move tasks towards their home node, using active +* load-balance if needed. + */ +SCHED_FEAT(NUMA_HOMENODE_PULL_BIAS, true) +#endif
kernel/sched/sched.h +16 -0
@@ -418,6 +418,13 @@ struct rq {struct list_head cfs_tasks; +#ifdef CONFIG_BALANCE_NUMA +unsigned long onnode_running; +unsigned long offnode_running; +unsigned long offnode_weight; +struct list_head offnode_tasks; +#endif +u64 rt_avg;u64 age_stamp;u64 idle_stamp;
@@ -469,6 +476,15 @@ struct rq {#endif }; +static inline struct list_head *offnode_tasks (struct rq *rq) +{ +#ifdef CONFIG_BALANCE_NUMA +return &rq->offnode_tasks; +#else +return NULL ; +#endif +} +static inline int cpu_of (struct rq *rq) {#ifdef CONFIG_SMP
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 41/46 sched: numa: Introduce per-mm and per-task structures
In reply to Mel GormanNOTE: This is heavily based on "autonuma: CPU follows memory algorithm"
and "autonuma: mm_autonuma and task_autonuma data structures"
At the most basic level, any placement policy is going to make some sort of smart decision based on per-mm and per-task statistics. This patch simply introduces the structures with basic fault statistics that can be expaned upon or replaced later. It may be that a placement policy can approximate without needing both structures in which case they can be safely deleted later while still having a comparison point to ensure the approximation is accurate.
--- include/linux/mm_types.h | 26 ++++++++++++++++++++++++++ include/linux/sched.h | 18 ++++++++++++++++++ kernel/fork.c | 18 ++++++++++++++++++ kernel/sched/core.c | 3 +++ kernel/sched/fair.c | 25 ++++++++++++++++++++++++- kernel/sched/sched.h | 14 ++++++++++++++ 6 files changed, 103 insertions(+), 1 deletion(-)
include/linux/mm_types.h +26 -0
@@ -312,6 +312,29 @@ struct mm_rss_stat {atomic_long_t count[NR_MM_COUNTERS ]; }; +#ifdef CONFIG_BALANCE_NUMA +/* +* Per-mm structure that contains the NUMA memory placement statistics +* generated by pte_numa faults. +*/ +struct mm_balancenuma { +/* +* Number of pages that will trigger NUMA faults for this mm. Total +* decays each time whether the home node should change to keep +* track only of recent events +*/ +unsigned long mm_numa_fault_tot; + +/* +* Number of pages that will trigger NUMA faults for each [nid]. +* Also decays. +*/ +unsigned long mm_numa_fault[0 ]; + +/* do not add more variables here, the above array size is dynamic */ +}; +#endif /* CONFIG_BALANCE_NUMA */ +struct mm_struct {struct vm_area_struct * mmap;/* list of VMAs */ struct rb_root mm_rb;
@@ -415,6 +438,9 @@ struct mm_struct {/* numa_scan_seq prevents two threads setting pte_numa */ int numa_scan_seq; + +/* this is used by the scheduler and the page allocator */ +struct mm_balancenuma *mm_balancenuma;#endif struct uprobes_state uprobes_state; };
include/linux/sched.h +18 -0
@@ -1188,6 +1188,23 @@ enum perf_event_task_context { perf_nr_task_contexts, }; +#ifdef CONFIG_BALANCE_NUMA +/* +* Per-task structure that contains the NUMA memory placement statistics +* generated by pte_numa faults. This structure is dynamically allocated +* when the first pte_numa fault is handled. +*/ +struct task_balancenuma { +/* Total number of eligible pages that triggered NUMA faults */ +unsigned long task_numa_fault_tot; + +/* Number of pages that triggered NUMA faults for each [nid] */ +unsigned long task_numa_fault[0 ]; + +/* do not add more variables here, the above array size is dynamic */ +}; +#endif /* CONFIG_BALANCE_NUMA */ +struct task_struct {volatile long state;/* -1 unrunnable, 0 runnable, >0 stopped */ void *stack;
@@ -1488,6 +1505,7 @@ struct task_struct {unsigned int numa_scan_period;u64 node_stamp;/* migration stamp */ struct callback_head numa_work; +struct task_balancenuma *task_balancenuma;#endif /* CONFIG_BALANCE_NUMA */ struct rcu_head rcu;
kernel/fork.c +18 -0
@@ -525,6 +525,20 @@ static void mm_init_aio(struct mm_struct *mm)#endif } +#ifdef CONFIG_BALANCE_NUMA +static inline void free_mm_balancenuma (struct mm_struct *mm) +{ +if (mm->mm_balancenuma) +kfree (mm->mm_balancenuma); + + mm->mm_balancenuma =NULL ; +} +#else +static inline void free_mm_balancenuma (struct mm_struct *mm) +{ +} +#endif +static struct mm_struct *mm_init (struct mm_struct *mm,struct task_struct *p) {atomic_set (&mm->mm_users,1 );
@@ -539,6 +553,7 @@ static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p)spin_lock_init (&mm->page_table_lock); mm->free_area_cache =TASK_UNMAPPED_BASE ; mm->cached_hole_size = ~0UL ; + mm->mm_balancenuma =NULL ;mm_init_aio (mm);mm_init_owner (mm, p);
@@ -548,6 +563,7 @@ static struct mm_struct *mm_init(struct mm_struct *mm, struct task_struct *p)return mm; } +free_mm_balancenuma (mm);free_mm (mm);return NULL ; }
@@ -597,6 +613,7 @@ void __mmdrop(struct mm_struct *mm)destroy_context (mm);mmu_notifier_mm_destroy (mm);check_mm (mm); +free_mm_balancenuma (mm);free_mm (mm); }EXPORT_SYMBOL_GPL (__mmdrop);
@@ -854,6 +871,7 @@ fail_nocontext:* If init_new_context() failed, we cannot use mmput() to free the mm * because it calls destroy_context() */ +free_mm_balancenuma (mm);mm_free_pgd (mm);free_mm (mm);return NULL ;
kernel/sched/core.c +3 -0
@@ -1543,6 +1543,7 @@ static void __sched_fork(struct task_struct *p) p->node_stamp =0ULL ; p->numa_scan_seq = p->mm ? p->mm->numa_scan_seq :0 ; p->numa_migrate_seq = p->mm ? p->mm->numa_scan_seq -1 :0 ; + p->task_balancenuma =NULL ; p->numa_scan_period = sysctl_balance_numa_scan_delay; p->numa_work.next = &p->numa_work;#endif /* CONFIG_BALANCE_NUMA */
@@ -1787,6 +1788,8 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev)if (mm)mmdrop (mm);if (unlikely (prev_state ==TASK_DEAD )) { +free_task_balancenuma (prev); +/* * Remove function-return probe instances associated with this * task and put them back on the free list.
kernel/sched/fair.c +24 -1
@@ -855,7 +855,30 @@ void task_numa_fault(int node, int pages) {struct task_struct *p = current; -/* FIXME: Allocate task-specific structure for placement policy here */ +if (!p->task_balancenuma) { +int size =sizeof (struct task_balancenuma ) + + (sizeof (unsigned long ) * nr_node_ids); + p->task_balancenuma =kzalloc (size,GFP_KERNEL ); +if (!p->task_balancenuma) +return ; + } + +if (!p->mm->mm_balancenuma) { +int size =sizeof (struct mm_balancenuma ) + + (sizeof (unsigned long ) * nr_node_ids); + p->mm->mm_balancenuma =kzalloc (size,GFP_KERNEL ); +if (!p->mm->mm_balancenuma) { +kfree (p->task_balancenuma); + p->task_balancenuma =NULL ; +return ; + } + } + +/* Record fault statistics */ + p->task_balancenuma->task_numa_fault_tot += pages; + p->task_balancenuma->task_numa_fault[node] += pages; + p->mm->mm_balancenuma->mm_numa_fault_tot += pages; + p->mm->mm_balancenuma->mm_numa_fault[node] += pages;/* * Assume that as faults occur that pages are getting properly placed
kernel/sched/sched.h +14 -0
@@ -502,6 +502,20 @@ DECLARE_PER_CPU(struct rq, runqueues);#define cpu_curr (cpu) (cpu_rq(cpu)->curr)#define raw_rq () (&__raw_get_cpu_var(runqueues)) + +#ifdef CONFIG_BALANCE_NUMA +static inline void free_task_balancenuma (struct task_struct *p) +{ +if (p->task_balancenuma) +kfree (p->task_balancenuma); + p->task_balancenuma =NULL ; +} +#else +static inline void free_task_balancenuma (struct task_struct *p) +{ +} +#endif /* CONFIG_BALANCE_NUMA */ +#ifdef CONFIG_SMP #define rcu_dereference_check_sched_domain (p) \
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 42/46 sched: numa: CPU follows memory
In reply to Mel GormanNOTE: This is heavily based on "autonuma: CPU follows memory algorithm"
and "autonuma: mm_autonuma and task_autonuma data structures" with bits taken but worked within the scheduler hooks and home node mechanism as defined by schednuma.
This patch adds per-mm and per-task data structures to track the number of faults in total and on a per-nid basis. On each NUMA fault it checks if the system would benefit if the current task was migrated to another node. If the task should be migrated, its home node is updated and the task is requeued.
--- include/linux/sched.h | 1 - kernel/sched/fair.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 226 insertions(+), 3 deletions(-)
include/linux/sched.h +0 -1
@@ -2040,7 +2040,6 @@ extern unsigned int sysctl_balance_numa_scan_delay;extern unsigned int sysctl_balance_numa_scan_period_min;extern unsigned int sysctl_balance_numa_scan_period_max;extern unsigned int sysctl_balance_numa_scan_size; -extern unsigned int sysctl_balance_numa_settle_count;#ifdef CONFIG_SCHED_DEBUG extern unsigned int sysctl_sched_migration_cost;
kernel/sched/fair.c +226 -2
254 lines not on this page · raw message
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 43/46 sched: numa: Rename mempolicy to HOME
In reply to Mel GormanRename the policy to reflect that while allocations and migrations are based on reference that the home node is taken into account for migration decisions.
--- include/uapi/linux/mempolicy.h | 9 ++++++++- mm/mempolicy.c | 9 ++++++--- 2 files changed, 14 insertions(+), 4 deletions(-)
include/uapi/linux/mempolicy.h +8 -1
@@ -67,7 +67,14 @@ enum mpol_rebind_step {#define MPOL_F_LOCAL (1 << 1)/* preferred local allocation */ #define MPOL_F_REBINDING (1 << 2)/* identify policies in rebinding */ #define MPOL_F_MOF (1 << 3)/* this policy wants migrate on fault */ -#define MPOL_F_MORON (1 << 4)/* Migrate On pte_numa Reference On Node */ +#define MPOL_F_HOME (1 << 4)/* +* Migrate towards referencing node. +* By building up stats on faults, the +* scheduler will reinforce the choice +* by identifying a home node and +* queueing the task on that node +* where possible. +*/ #endif /* _UAPI_LINUX_MEMPOLICY_H */
mm/mempolicy.c +6 -3
@@ -2316,8 +2316,11 @@ int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned longBUG (); } -/* Migrate the page towards the node whose CPU is referencing it */ -if (pol->flags &MPOL_F_MORON ) { +/* +* Migrate pages towards their referencing node. Based on the fault +* statistics a home node will be chosen by the scheduler +*/ +if (pol->flags &MPOL_F_HOME ) {int last_nid; polnid =numa_node_id ();
@@ -2540,7 +2543,7 @@ void __init numa_policy_init(void) preferred_node_policy[nid] = (struct mempolicy ) { .refcnt =ATOMIC_INIT (1 ), .mode =MPOL_PREFERRED , - .flags =MPOL_F_MOF |MPOL_F_MORON , + .flags =MPOL_F_MOF |MPOL_F_HOME , .v = { .preferred_node = nid, }, }; }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 44/46 sched: numa: Consider only one CPU per node for CPU-follows-memory
In reply to Mel GormanThe implementation of CPU follows memory was intended to reflect the considerations made by autonuma on the basis that it had the best performance figures at the time of writing. However, a major criticism was the use of kernel threads and the impact of the cost of the load balancer paths. As a consequence, the cpu follows memory algorithm moved to the task_numa_work() path where it would be incurred directly by the process. Unfortunately, it's still very heavy, it's just much easier to measure now.
This patch attempts to reduce the cost of the path. Only one CPU per node is considered for tasks to swap. If there is a task running on that CPU, the calculations will determine if the system would be better overall if the tasks were swapped. If the CPU is idle, it will be checked if running on that node would be better than running on the current node.
--- kernel/sched/fair.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-)
kernel/sched/fair.c +19 -2
@@ -899,9 +899,18 @@ static void task_numa_find_placement(struct task_struct *p)long this_weight, other_weight, p_weight;long other_diff, this_diff; -if (!cpu_online (cpu) ||idle_cpu (cpu)) +if (!cpu_online (cpu))continue ; +/* Idle CPU, consider running this task on that node */ +if (idle_cpu (cpu)) { + this_weight =balancenuma_task_weight (p, nid); + other_weight =0 ; + other_task =NULL ; + p_weight = p_task_weight; + goto compare_other; + } +/* Racy check if a task is running on the other rq */ rq =cpu_rq (cpu); other_mm = rq->curr->mm;
@@ -947,6 +956,7 @@ static void task_numa_find_placement(struct task_struct *p)raw_spin_unlock_irq (&rq->lock); +compare_other:/* * other_diff: How much does the current task perfer to * run on the remote node thn the task that is
@@ -975,13 +985,20 @@ static void task_numa_find_placement(struct task_struct *p) selected_task = other_task; } } + +/* +* Examine just one task per node. Examing all tasks +* disrupts the system excessively +*/ +break ; } }/* Swap the task on the selected target node */ if (selected_nid !=-1 && selected_nid != this_nid) {sched_setnode (p, selected_nid); -sched_setnode (selected_task, this_nid); +if (selected_task) +sched_setnode (selected_task, this_nid); } }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 45/46 balancenuma: no task swap in finding placement
In reply to Mel GormanFrom: Hillf Danton <[email protected]>
Node is selected on behalf of given task, but no reason to punish the currently running tasks on other nodes. That punishment maybe benifit, who knows. Better if they are treated not in random way.
--- kernel/sched/fair.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)
kernel/sched/fair.c +2 -13
@@ -873,7 +873,7 @@ static inline unsigned long balancenuma_mm_weight(struct task_struct *p,/* * Examines all other nodes examining remote tasks to see if there would -* be fewer remote numa faults if tasks swapped home nodes +* be fewer remote numa faults */ static void task_numa_find_placement (struct task_struct *p) {
@@ -932,13 +932,6 @@ static void task_numa_find_placement(struct task_struct *p)continue ; } -/* Ensure the other task can be swapped */ -if (!cpumask_test_cpu (this_cpu, -tsk_cpus_allowed (other_task))) { -raw_spin_unlock_irq (&rq->lock); -continue ; - } -/* * Read the fault statistics. If the remote task is a * thread in the process then use the task statistics.
@@ -972,8 +965,7 @@ compare_other: this_diff = this_weight - p_weight;/* -* Would swapping the tasks reduce the overall -* cross-node NUMA faults? +* Would nid reduce the overall cross-node NUMA faults? */ if (other_diff >0 && this_diff >0 ) {long weight_diff = other_diff + this_diff;
@@ -994,11 +986,8 @@ compare_other: } } -/* Swap the task on the selected target node */ if (selected_nid !=-1 && selected_nid != this_nid) {sched_setnode (p, selected_nid); -if (selected_task) -sched_setnode (selected_task, this_nid); } }
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerPATCH 46/46 Simple CPU follow
In reply to Mel Gorman--- kernel/sched/fair.c | 112 +++++++-------------------------------------------- 1 file changed, 15 insertions(+), 97 deletions(-)
kernel/sched/fair.c +15 -97
@@ -877,118 +877,36 @@ static inline unsigned long balancenuma_mm_weight(struct task_struct *p,*/ static void task_numa_find_placement (struct task_struct *p) { -struct cpumask *allowed =tsk_cpus_allowed (p); -int this_cpu =smp_processor_id ();int this_nid =numa_node_id ();long p_task_weight, p_mm_weight; -long weight_diff_max =0 ; -struct task_struct *selected_task =NULL ; +long max_weight =0 ;int selected_nid =-1 ;int nid; p_task_weight =balancenuma_task_weight (p, this_nid); p_mm_weight =balancenuma_mm_weight (p, this_nid); -/* Examine a task on every other node */ +/* Check if this task should run on another node */ for_each_online_node (nid) { -int cpu; -for_each_cpu_and (cpu,cpumask_of_node (nid), allowed) { -struct rq *rq; -struct mm_struct *other_mm; -struct task_struct *other_task; -long this_weight, other_weight, p_weight; -long other_diff, this_diff; - -if (!cpu_online (cpu)) -continue ; - -/* Idle CPU, consider running this task on that node */ -if (idle_cpu (cpu)) { - this_weight =balancenuma_task_weight (p, nid); - other_weight =0 ; - other_task =NULL ; - p_weight = p_task_weight; - goto compare_other; - } - -/* Racy check if a task is running on the other rq */ - rq =cpu_rq (cpu); - other_mm = rq->curr->mm; -if (!other_mm || !other_mm->mm_balancenuma) -continue ; - -/* Effectively pin the other task to get fault stats */ -raw_spin_lock_irq (&rq->lock); - other_task = rq->curr; - other_mm = other_task->mm; - -/* Ensure the other task has usable stats */ -if (!other_task->task_balancenuma || - !other_task->task_balancenuma->task_numa_fault_tot || - !other_mm || - !other_mm->mm_balancenuma || - !other_mm->mm_balancenuma->mm_numa_fault_tot) { -raw_spin_unlock_irq (&rq->lock); -continue ; - } - -/* -* Read the fault statistics. If the remote task is a -* thread in the process then use the task statistics. -* Otherwise use the per-mm statistics. -*/ -if (other_mm == p->mm) { - this_weight =balancenuma_task_weight (p, nid); - other_weight =balancenuma_task_weight (other_task, nid); - p_weight = p_task_weight; - }else { - this_weight =balancenuma_mm_weight (p, nid); - other_weight =balancenuma_mm_weight (other_task, nid); - p_weight = p_mm_weight; - } - -raw_spin_unlock_irq (&rq->lock); - -compare_other: -/* -* other_diff: How much does the current task perfer to -* run on the remote node thn the task that is -* currently running there? -*/ - other_diff = this_weight - other_weight; +unsigned long nid_weight; -/* -* this_diff: How much does the currrent task prefer to -* run on the remote NUMA node compared to the current -* node? -*/ - this_diff = this_weight - p_weight; - -/* -* Would nid reduce the overall cross-node NUMA faults? -*/ -if (other_diff >0 && this_diff >0 ) { -long weight_diff = other_diff + this_diff; - -/* Remember the best candidate. */ -if (weight_diff > weight_diff_max) { - weight_diff_max = weight_diff; - selected_nid = nid; - selected_task = other_task; - } - } +/* +* Read the fault statistics. If the remote task is a +* thread in the process then use the task statistics. +* Otherwise use the per-mm statistics. +*/ + nid_weight =balancenuma_task_weight (p, nid) + +balancenuma_mm_weight (p, nid); -/* -* Examine just one task per node. Examing all tasks -* disrupts the system excessively -*/ -break ; +/* Remember the best candidate. */ +if (nid_weight > max_weight) { + max_weight = nid_weight; + selected_nid = nid; } } -if (selected_nid !=-1 && selected_nid != this_nid) { +if (selected_nid !=-1 && selected_nid != this_nid)sched_setnode (p, selected_nid); - } }static void task_numa_placement (struct task_struct *p)
Signature · 7 lines
1.7.9.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerRe: [PATCH 37/46] mm: numa: Add THP migration for the NUMA working set scanning fault case.
In reply to Mel GormanQuoted 16 lines · Mel Gorman
Note: This is very heavily based on a patch from Peter Zijlstra with
fixes from Ingo Molnar, Hugh Dickins and Johannes Weiner. That patch put a lot of migration logic intomm/huge_memory.cwhere it does not belong. This version puts tries to share some of the migration logic withmigrate_misplaced_page. However, it should be noted that nowmigrate.cis doing more with the pagetable manipulation than is preferred. The end result is barely recognisable so as before, the signed-offs had to be removed but will be re-added if the original authors are ok with it.Add THP migration for the NUMA working set scanning fault case.
It uses the page lock to serialize. No migration pte dance is necessary because the pte is already unmapped when we decide to migrate.
Quoted 8 lines
Signed-off-by Mel Gorman <[email protected]>--- include/linux/migrate.h | 16 ++++ mm/huge_memory.c | 55 +++++++----- mm/internal.h | 2 + mm/migrate.c | 212 ++++++++++++++++++++++++++++++++++++++--------- 4 files changed, 226 insertions(+), 59 deletions(-)
And now that I've released it I see that this almost certainly broke memcg as the memcontrol.c bits are missing. I'll need to carry them over.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerRe: [PATCH 37/46] mm: numa: Add THP migration for the NUMA working set scanning fault case.
In reply to Mel GormanQuoted 10 lines · Mel Gorman
Note: This is very heavily based on a patch from Peter Zijlstra with
fixes from Ingo Molnar, Hugh Dickins and Johannes Weiner. That patch put a lot of migration logic intomm/huge_memory.cwhere it does not belong. This version puts tries to share some of the migration logic withmigrate_misplaced_page. However, it should be noted that nowmigrate.cis doing more with the pagetable manipulation than is preferred. The end result is barely recognisable so as before, the signed-offs had to be removed but will be re-added if the original authors are ok with it.
Quoted 7 lines
Add THP migration for the NUMA working set scanning fault case.
It uses the page lock to serialize. No migration pte dance is necessary because the pte is already unmapped when we decide to migrate.
Signed-off-by Mel Gorman <[email protected]>
I think these are the obvious missing bits for memcg.
mm/internal.h +3 -2
@@ -212,11 +212,12 @@ static inline void mlock_migrate_page(struct page *newpage, struct page *page) {if (TestClearPageMlocked (page)) {unsigned long flags; +int nr_pages =hpage_nr_pages (page);local_irq_save (flags); -__dec_zone_page_state (page,NR_MLOCK ); +__mod_zone_page_state (page_zone (page),NR_MLOCK , -nr_pages);SetPageMlocked (newpage); -__inc_zone_page_state (newpage,NR_MLOCK ); +__mod_zone_page_state (page_zone (newpage),NR_MLOCK , nr_pages);local_irq_restore (flags); } }
mm/memcontrol.c +5 -2
@@ -3288,15 +3288,18 @@ void mem_cgroup_prepare_migration(struct page *page, struct page *newpage, struct mem_cgroup **memcgp) {struct mem_cgroup *memcg =NULL ; +unsigned int nr_pages =1 ;struct page_cgroup *pc;enum charge_type ctype; *memcgp =NULL ; -VM_BUG_ON (PageTransHuge (page));if (mem_cgroup_disabled ())return ; +if (PageTransHuge (page)) + nr_pages <<=compound_order (page); + pc =lookup_page_cgroup (page);lock_page_cgroup (pc);if (PageCgroupUsed (pc)) {
@@ -3358,7 +3361,7 @@ void mem_cgroup_prepare_migration(struct page *page, struct page *newpage,* charged to the res_counter since we plan on replacing the * old one and only one page is going to be left afterwards. */ -__mem_cgroup_commit_charge (memcg, newpage,1 , ctype, false); +__mem_cgroup_commit_charge (memcg, newpage, nr_pages, ctype, false); }/* remove redundant charge if migration failed*/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerQuoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
1. schednuma + patches posted since so that works out as tip/sched/core from the time I last pulled
patches as posted on the list
patches posted since which are
x86/vsyscall: Add Kconfig option to use native vsyscalls, switch to it mm/migration: Improve migrate_misplaced_page()
mm, numa: Turn 4K pte NUMA faults into effective hugepage ones x86/mm: Don't flush the TLB on #WP pmd fixups
2. autonuma + native THP support porte by Hugh
3. balancenuma with a missing THP migration bit for memcg
If all goes according to plan it'll do a pair of runs -- one with oprofile and one without in case there are profile-related questions. Hopefully they'll be collected correctly and usable. I'm not using perf simply because I do not have the necessary automation in place. I had kept oprofile automation in place when it was important that I could run identical tests on older kernels.
I did not just pull the tip tree for schednuma because it would not be a like-like comparison with the other trees.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 7 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Quoted 5 lines
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
(We dropped sched/numa long ago and that you still keep referring to it is rather confusing to me.)
Thanks!
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerQuoted 12 lines · Ingo Molnar
Quoted 9 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
Quoted 8 lines
Quoted 3 lines
I ended up cancelling the remaining tests and restarted with
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Quoted 3 lines
(We dropped sched/numa long ago and that you still keep referring to it is rather confusing to me.)
Understood.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 15 lines · Mel Gorman
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Thanks!
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secs
97% slower than numa/core.
I did a quick SPECjbb 32-warehouses run as well:
numa/core balancenuma-v4
SPECjbb +THP: 655 k/sec 607 k/sec
Here it's 7.9% slower.
Thanks,
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerQuoted 29 lines · Ingo Molnar
Quoted 15 lines · Mel Gorman
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Thanks!
Quoted 9 lines
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secs97% slower than numa/core.
It would be. numa01 is an adverse workload where all threads are hammering the same memory. The two-stage filter in balancenuma restricts the amount of migration it does so it ends up in a situation where it cannot balance properly. It'll do some migration if the PTE updates happen fast enough but that's about it. It needs a proper policy on top to detect this situation and interleave the memory between nodes to at least maximise the available memory bandwidth. This would replace the two-stage filter which is there to mitigate a ping-pong effect.
Quoted 5 lines
I did a quick SPECjbb 32-warehouses run as well:
numa/core balancenuma-v4
SPECjbb +THP: 655 k/sec 607 k/sec
Cool. Lets see what we have here. I have some questions;
You say you ran with 32 warehouses. Was this a single run with just 32 warehouses or you did a specjbb run up to 32 warehouses and use the figure specjbb spits out? If it ran for multiple warehouses, how did each number of warehouses do? I ask because sometimes we do worse for low numbers of warehouses and better at high numbers, particularly around where the workload peaks.
Was this a single JVM configuration?
What is the comparison with a baseline kernel?
You say you ran with balancenuma-v4. Was that the full series including the broken placement policy or did you test with just patches 1-37 as I asked in the patch leader?
Quoted 2 lines
Here it's 7.9% slower.
And in comparison to a vanilla kernel?
Bear in mind that my objective was to have a foundation that did noticably better than mainline that a proper placement and scheduling policy could be built on top of.
Thanks!
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 37 lines · Mel Gorman
Quoted 36 lines · Ingo Molnar
Quoted 15 lines · Mel Gorman
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Thanks!
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secs
Quoted 7 lines
Quoted 2 lines
97% slower than numa/core.
It would be. numa01 is an adverse workload where all threads are hammering the same memory. The two-stage filter in balancenuma restricts the amount of migration it does so it ends up in a situation where it cannot balance properly. [...]
Do you mean this "balancenuma v4" patch attributed to you:
Subject: mm: Numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
From: Mel Gorman <[email protected]>
Date: Wed, 21 Nov 2012 10:21:42 +0000
...
which has:
/*
* Multi-stage node selection is used in conjunction
* with a periodic migration fault to build a temporal
* task<->page relation. By using a two-stage filter we
* remove short/unlikely relations.
*
* Using P(p) ~ n_p / n_t as per frequentist
* probability, we can equate a task's usage of a
* particular page (n_p) per total usage of this
* page (n_t) (in a given time-span) to a probability. *
* Our periodic faults will sample this probability and
* getting the same result twice in a row, given these
* samples are fully independent, is then given by
* P(n)^2, provided our sample period is sufficiently
* short compared to the usage pattern.
*
* This quadric squishes small probabilities, making
* it less likely we act on an unlikely task<->page
* relation.
This looks very similar to the code and text that Peter wrote for numa/core:
/*
* Multi-stage node selection is used in conjunction with a periodic
* migration fault to build a temporal task<->page relation. By
* using a two-stage filter we remove short/unlikely relations. *
* Using P(p) ~ n_p / n_t as per frequentist probability, we can
* equate a task's usage of a particular page (n_p) per total usage
* of this page (n_t) (in a given time-span) to a probability. *
* Our periodic faults will then sample this probability and getting
* the same result twice in a row, given these samples are fully
* independent, is then given by P(n)^2, provided our sample period
* is sufficiently short compared to the usage pattern.
*
* This quadric squishes small probabilities, making it less likely
* we act on an unlikely task<->page relation.
*
* Return the best node ID this page should be on, or -1 if it should
* stay where it is.
*/
see commit:
30f93abc6cb3 sched, numa, mm: Add the scanning page fault machinery
?
I think it's the very same concept - yours is taken from an older sched/numa commit and attributed to yourself? [If so then please fix the attribution.]
We have the same filter in numa/core - because we wrote it (FYI, I wrote bits of the last_cpu variant in numa/core), yet our numa01 performance is much better than the one of balancenuma.
Thanks,
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
In reply to Mel GormanQuoted 49 lines · Mel Gorman
While it is desirable that all threads in a process run on its home node, this is not always possible or necessary. There may be more threads than exist within the node or the node might over-subscribed with unrelated processes.
This can cause a situation whereby a page gets migrated off its home node because the threads clearing
pte_numawere running off-node. This patch usespage->last_nidto build a two-stage filter before pages get migrated to avoid problems with short or unlikely task<->node relationships.Signed-off-by Mel Gorman <[email protected]>--- mm/mempolicy.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-)mm/mempolicy.c +22
-1@@ -2317,9 +2317,37 @@ int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned long }/* Migrate the page towards the node whose CPU is referencing it */ -if (pol->flags &MPOL_F_MORON ) +if (pol->flags &MPOL_F_MORON ) { +int last_nid; + polnid =numa_node_id (); +/* +* Multi-stage node selection is used in conjunction +* with a periodic migration fault to build a temporal +* task<->page relation. By using a two-stage filter we +* remove short/unlikely relations. +* +* Using P(p) ~ n_p / n_t as per frequentist +* probability, we can equate a task's usage of a +* particular page (n_p) per total usage of this +* page (n_t) (in a given time-span) to a probability. +* +* Our periodic faults will sample this probability and +* getting the same result twice in a row, given these +* samples are fully independent, is then given by +* P(n)^2, provided our sample period is sufficiently +* short compared to the usage pattern. +* +* This quadric squishes small probabilities, making +* it less likely we act on an unlikely task<->page
mm/mempolicy.c int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned long · line 2353
Quoted 10 lines
mm/mempolicy.c +7
-0+* relation. +*/ + last_nid =page_xchg_last_nid (page, polnid); +if (last_nid != polnid) + goto out; + } +if (curnid != polnid) ret = polnid; out:
As mentioned in my other mail, this patch of yours looks very similar to the numa/core commit attached below, mostly written by Peter:
30f93abc6cb3 sched, numa, mm: Add the scanning page fault machinery
Thanks,
Ingo
--------------------->
Mel Gorman
reviewerQuoted 48 lines · Ingo Molnar
Quoted 37 lines · Mel Gorman
Quoted 36 lines · Ingo Molnar
Quoted 15 lines · Mel Gorman
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Thanks!
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secsQuoted 7 lines
Quoted 2 lines
97% slower than numa/core.
It would be. numa01 is an adverse workload where all threads are hammering the same memory. The two-stage filter in balancenuma restricts the amount of migration it does so it ends up in a situation where it cannot balance properly. [...]
Quoted 6 lines
Do you mean this "balancenuma v4" patch attributed to you:
Subject: mm: Numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
From: Mel Gorman <[email protected]>
Date: Wed, 21 Nov 2012 10:21:42 +0000
Yes.
Quoted 53 lines
...
Signed-off-by Mel Gorman <[email protected]>which has:
/*
* Multi-stage node selection is used in conjunction
* with a periodic migration fault to build a temporal
* task<->page relation. By using a two-stage filter we
* remove short/unlikely relations.
*
* Using P(p) ~n_p/n_tas per frequentist
* probability, we can equate a task's usage of a
* particular page (n_p) per total usage of this
* page (n_t) (in a given time-span) to a probability. *
* Our periodic faults will sample this probability and
* getting the same result twice in a row, given these
* samples are fully independent, is then given by
* P(n)^2, provided our sample period is sufficiently
* short compared to the usage pattern.
*
* This quadric squishes small probabilities, making
* it less likely we act on an unlikely task<->page
* relation.This looks very similar to the code and text that Peter wrote for numa/core:
/*
* Multi-stage node selection is used in conjunction with a periodic
* migration fault to build a temporal task<->page relation. By
* using a two-stage filter we remove short/unlikely relations. *
* Using P(p) ~n_p/n_tas per frequentist probability, we can
* equate a task's usage of a particular page (n_p) per total usage
* of this page (n_t) (in a given time-span) to a probability. *
* Our periodic faults will then sample this probability and getting
* the same result twice in a row, given these samples are fully
* independent, is then given by P(n)^2, provided our sample period
* is sufficiently short compared to the usage pattern.
*
* This quadric squishes small probabilities, making it less likely
* we act on an unlikely task<->page relation.
*
* Return the best node ID this page should be on, or -1 if it should
* stay where it is.
*/see commit:
Quoted 7 lines
30f93abc6cb3sched, numa, mm: Add the scanning page fault machinery?
I think it's the very same concept - yours is taken from an older sched/numa commit and attributed to yourself? [If so then please fix the attribution.]
Yes, it's completely based on earlier sched/numa patches. In many of the patches you'll see notes where I documented what patches I originally based on -- be it from sched/numa, autonuma or some combination of both. In many cases I could not keep the signed-off-by because the end result was simply too different to claim that the author was happy with it. I was hoping that these notes would convert to signed-offs-by after review from the original authors who were cc'd at all times.
Quoted 4 lines
We have the same filter in numa/core - because we wrote it (FYI, I wrote bits of the
last_cpuvariant in numa/core), yet our numa01 performance is much better than the one of balancenuma.
Yes, the lack of a note was a mistake. I've added the following note to the top of this patch now
Note: This two-stage filter was taken directly from the sched/numa patch
"sched, numa, mm: Add the scanning page fault machinery" but is only a partial extraction. As the end result is not necessarily recognisable, the signed-offs-by had to be removed. Will be added back if requested.
Thanks and apologies in advance for any other patch where I failed to document the history correctly.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerRe: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
In reply to Ingo MolnarQuoted 67 lines · Ingo Molnar
Quoted 49 lines · Mel Gorman
While it is desirable that all threads in a process run on its home node, this is not always possible or necessary. There may be more threads than exist within the node or the node might over-subscribed with unrelated processes.
This can cause a situation whereby a page gets migrated off its home node because the threads clearing
pte_numawere running off-node. This patch usespage->last_nidto build a two-stage filter before pages get migrated to avoid problems with short or unlikely task<->node relationships.Signed-off-by Mel Gorman <[email protected]>--- mm/mempolicy.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-)mm/mempolicy.c +22
-1@@ -2317,9 +2317,37 @@ int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned long }/* Migrate the page towards the node whose CPU is referencing it */ -if (pol->flags &MPOL_F_MORON ) +if (pol->flags &MPOL_F_MORON ) { +int last_nid; + polnid =numa_node_id (); +/* +* Multi-stage node selection is used in conjunction +* with a periodic migration fault to build a temporal +* task<->page relation. By using a two-stage filter we +* remove short/unlikely relations. +* +* Using P(p) ~ n_p / n_t as per frequentist +* probability, we can equate a task's usage of a +* particular page (n_p) per total usage of this +* page (n_t) (in a given time-span) to a probability. +* +* Our periodic faults will sample this probability and +* getting the same result twice in a row, given these +* samples are fully independent, is then given by +* P(n)^2, provided our sample period is sufficiently +* short compared to the usage pattern. +* +* This quadric squishes small probabilities, making +* it less likely we act on an unlikely task<->page mm/mempolicy.c int mpol_misplaced(struct page *page, struct vm_area_struct *vma, unsigned long · line 2353
Quoted 10 lines
mm/mempolicy.c +7
-0+* relation. +*/ + last_nid =page_xchg_last_nid (page, polnid); +if (last_nid != polnid) + goto out; + } +if (curnid != polnid) ret = polnid; out:As mentioned in my other mail, this patch of yours looks very similar to the numa/core commit attached below, mostly written by Peter:
Quoted 2 lines
30f93abc6cb3sched, numa, mm: Add the scanning page fault machinery
My patch is directly based on that particular patch and is a partial extraction. I could not directly pull which is why the From is missing. I think you'll also find that it's very similar to a partial extraction from "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection". The primary differences are exactly how the logic is applied and when it happens.
I've added a note now to that effect now. For all the patches with notes or any other ones, I'll be very happy to add the Signed-offs back on if the original authors acknowledge they are ok with the end result. If you recall, in the original V1 of this series I said;
This series steals very heavily from both autonuma and schednuma with very little original code. In some cases I removed the signed-off-bys because the result was too different. I have noted in the changelog where this happened but the signed-offs can be restored if the original authors agree.
Just to compare, this is the wording in "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection"
+/*
+ * In this function we build a temporal CPU_node<->page relation by
+ * using a two-stage autonuma_last_nid filter to remove short/unlikely
+ * relations.
+ *
+ * Using P(p) ~ n_p / n_t as per frequentest probability, we can
+ * equate a node's CPU usage of a particular page (n_p) per total
+ * usage of this page (n_t) (in a given time-span) to a probability.
+ *
+ * Our periodic faults will then sample this probability and getting
+ * the same result twice in a row, given these samples are fully
+ * independent, is then given by P(n)^2, provided our sample period
+ * is sufficiently short compared to the usage pattern.
+ *
+ * This quadric squishes small probabilities, making it less likely
+ * we act on an unlikely CPU_node<->page relation.
+ */
If this was the basis for the sched/numa patch then I'd point out that I'm not the only person that failed to preserve history perfectly.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerRe: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
Quoted 32 lines · Mel Gorman
I've added a note now to that effect now. For all the patches with notes or any other ones, I'll be very happy to add the Signed-offs back on if the original authors acknowledge they are ok with the end result. If you recall, in the original V1 of this series I said;
This series steals very heavily from both autonuma and schednuma with very little original code. In some cases I removed the signed-off-bys because the result was too different. I have noted in the changelog where this happened but the signed-offs can be restored if the original authors agree.
Just to compare, this is the wording in "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection"
+/*
+ * In this function we build a temporal CPU_node<->page relation by
+ * using a two-stageautonuma_last_nidfilter to remove short/unlikely
+ * relations.
+ *
+ * Using P(p) ~n_p/n_tas per frequentest probability, we can
+ * equate a node's CPU usage of a particular page (n_p) per total
+ * usage of this page (n_t) (in a given time-span) to a probability.
+ *
+ * Our periodic faults will then sample this probability and getting
+ * the same result twice in a row, given these samples are fully
+ * independent, is then given by P(n)^2, provided our sample period
+ * is sufficiently short compared to the usage pattern.
+ *
+ * This quadric squishes small probabilities, making it less likely
+ * we act on an unlikely CPU_node<->page relation.
+ */
Quoted 3 lines
If this was the basis for the sched/numa patch then I'd point out that I'm not the only person that failed to preserve history perfectly.
Which to be clear, it isn't. The original source is sched/numa according to https://lkml.org/lkml/2012/8/22/629
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
In reply to Mel GormanQuoted 8 lines · Mel Gorman
Quoted 5 lines · Ingo Molnar
As mentioned in my other mail, this patch of yours looks very similar to the numa/core commit attached below, mostly written by Peter:
30f93abc6cb3sched, numa, mm: Add the scanning page fault machinery
Quoted 7 lines
Just to compare, this is the wording in "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection"
+/*
+ * In this function we build a temporal CPU_node<->page relation by
+ * using a two-stageautonuma_last_nidfilter to remove short/unlikely
+ * relations.
Looks like the comment came from sched/numa, but the original code came from autonuma:
https://lkml.org/lkml/2012/8/22/629
If you want to do a real historical dig, we may still have a picture of the whiteboard where Karen and I came up with the idea of only migrating a page after the second touch from the same node :)
That was trying to solve the "how can we make migrate on fault as cheap as possible?" question, and reviewing some earlier autonuma codebase.
Not that any of this matters in the least. AutoNUMA, sched/numa, and balancenuma have all evolved a lot because they were able to copy good ideas from each other, and discard overly complex or simply bad ideas (eg. the NUMA syscalls or async page migration), while replacing them with simpler, better ideas from the other code bases.
Now that we (mostly) agree on what the basic infrastructure should look like, we can figure out which placement policies work best for various workloads.
Then we can make a choice depending on what works best, independent of who wrote what.
Signature · 7 lines
All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 11 lines · Mel Gorman
Quoted 5 lines
I did a quick SPECjbb 32-warehouses run as well:
numa/core balancenuma-v4
SPECjbb +THP: 655 k/sec 607 k/secCool. Lets see what we have here. I have some questions;
You say you ran with 32 warehouses. Was this a single run with just 32 warehouses or you did a specjbb run up to 32 warehouses and use the figure specjbb spits out? [...]
"32 warehouses" obviously means single instance...
Any multi-instance configuration is explicitly referred to as multi-instance. In my numbers I sometimes tabulate them as "4x8 multi-JVM", that means the obvious as well: 4 instances, 8 warehouses each.
Thanks,
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [PATCH 36/46] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships
In reply to Rik van RielQuoted 17 lines · Rik van Riel
Quoted 8 lines · Mel Gorman
Quoted 5 lines · Ingo Molnar
As mentioned in my other mail, this patch of yours looks very similar to the numa/core commit attached below, mostly written by Peter:
30f93abc6cb3sched, numa, mm: Add the scanning page fault machineryQuoted 7 lines
Just to compare, this is the wording in "autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection"
+/*
+ * In this function we build a temporal CPU_node<->page relation by
+ * using a two-stageautonuma_last_nidfilter to remove short/unlikely
+ * relations.
Quoted 4 lines
Looks like the comment came from sched/numa, but the original code came from autonuma:
Yeah, indeed, good find - thanks for tracking that down - to me it came from Peter. I'll add in an explicit credit to Andrea, the comment alone deserves one!
Thanks,
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 29 lines · Ingo Molnar
Quoted 15 lines · Mel Gorman
Quoted 14 lines · Ingo Molnar
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
1. schednuma + patches posted since so that works out as
Mel, I'd like to ask you to refer to our tree as numa/core or 'numacore' in the future. Would such a courtesy to use the current name of our tree be possible?
Sure, no problem.
Thanks!
Quoted 8 lines
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secs97% slower than numa/core.
I mean numa/core was 97% faster. That transforms into balancenuma-v4 being 50.5% slower.
Your numbers from yesterday showed an even bigger proportion:
AUTONUMA BENCH
3.7.0 3.7.0 3.7.0 3.7.0
3.7.0 3.7.0
rc6-stats-v4r12 rc6-schednuma-v16r2 rc6-autonuma-v28fastr3 rc6-moron-v4r38 rc6-twostage-v4r38 rc6-thpmigrate-v4r38Elapsed NUMA01 1668.03 ( 0.00%) 486.04 ( 70.86%) 794.10 ( 52.39%) 601.19 ( 63.96%) 1575.52 ( 5.55%) 1066.67 ( 36.05%)
In your test numa/core was 240% times faster than mainline, 63% faster than autonuma and 119% faster than balancenuma-"rc6-thpmigrate-v4r38".
Thanks,
Ingo
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerQuoted 9 lines · Ingo Molnar
Quoted 6 lines · Mel Gorman
Quoted 5 lines
I did a quick SPECjbb 32-warehouses run as well:
numa/core balancenuma-v4
SPECjbb +THP: 655 k/sec 607 k/sec
Quoted 8 lines
Quoted 5 lines
Cool. Lets see what we have here. I have some questions;
You say you ran with 32 warehouses. Was this a single run with just 32 warehouses or you did a specjbb run up to 32 warehouses and use the figure specjbb spits out? [...]
"32 warehouses" obviously means single instance...
Considering the amount of flak you gave me over the THP problem, it is not unreasonable to ask a questions in clarification.
On running just 32 warehouse, please remember what I said about specjbb benchmarks. MMTests reports each warehouse figure because indications are that the low number of warehouses regressed while the higher numbers showed performance improvements. Further, specjbb itself uses only figures from around the expected peak it estimates unless it is overridden by the config file (I expect you left it at the default).
So, you've answered my first question. You did not run for multiple warehouses so you do not know what the lower number of warehouses were. That's ok, the comparison is still valid. Can you now answer my other questions please? They were;
What is the comparison with a baseline kernel?
You say you ran with balancenuma-v4. Was that the full series including the broken placement policy or did you test with just patches 1-37 as I asked in the patch leader?
I'll also reiterate my final point. The objective of balancenuma is to be better than mainline and at worst, be no worse than mainline (which with PTE updates may be impossible but it's the bar). It puts in place a *basic* placement policy that could be summarised as "migrate on reference with a two stage filter". It is a common foundation that either the policies of numacore *or* autonuma could be rebased upon so they can be compared in terms of placement policy, shared page identification, scheduler policy and load balance policy. Where they share policies (e.g. scheduler accounting and load balance), we'd agree on those patches and move on until the two
Of course, a rebase may require changes to the task_numa_fault() interface betwen the VM and the scheduler depending on the information the policies are interested. There also might be differing requirements of the PTE scanner but they should be marginal.
balancenuma is not expected to beat a smart placement policy but when it does, the question becomes if the difference is due to the underlying mechanics such as how it updates PTEs and traps fauls or the scheduler and placement policies built on top. If we can eliminate the possibility that it's the underlying mechanics our lives will become a lot easier.
Is there a fundamental reason why the scheduler modifications, placement policies, shared page identification etc. from numacore cannot be rebased on top of balancenuma? If there are no fundamental reasons, then why will you not rebase so that we can potentially compare autonuma's policies directly if it gets rebased? That will tell us if autonumas policies (placement, scheduler, load balancer) are really better or if it actually depended on its implementation of the underlying mechanics (use of a kernel thread to do the PTE updates for example).
Quoted 5 lines
Any multi-instance configuration is explicitly referred to as multi-instance. In my numbers I sometimes tabulate them as "4x8 multi-JVM", that means the obvious as well: 4 instances, 8 warehouses each.
Understood.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewerQuoted 7 lines · Ingo Molnar
Quoted 7 lines
Thanks!
I ran a quick test with your 'balancenuma v4' tree and while numa02 and numa01-THREAD-ALLOC performance is looking good, numa01 performance does not look very good:
Quoted 8 lines
Quoted 4 lines
mainline numa/core balancenuma-v4
numa01: 340.3 139.4 276 secs97% slower than numa/core.
I mean numa/core was 97% faster. That transforms into balancenuma-v4 being 50.5% slower.
I've asked the other questions on this already so I won't ask again.
Quoted 12 lines
Your numbers from yesterday showed an even bigger proportion:
AUTONUMA BENCH
3.7.0 3.7.0 3.7.0 3.7.0 3.7.0 3.7.0 rc6-stats-v4r12 rc6-schednuma-v16r2 rc6-autonuma-v28fastr3 rc6-moron-v4r38 rc6-twostage-v4r38 rc6-thpmigrate-v4r38Elapsed NUMA01 1668.03 ( 0.00%) 486.04 ( 70.86%) 794.10 ( 52.39%) 601.19 ( 63.96%) 1575.52 ( 5.55%) 1066.67 ( 36.05%)
In your test numa/core was 240% times faster than mainline, 63% faster than autonuma and 119% faster than balancenuma-"rc6-thpmigrate-v4r38".
Yes, I know and I know why. It's the two-filter thing and how it deals with an adverse workload. Here is my description in mmtests comments on what numa01 is.
# NUMA01
# Two processes
# NUM_CPUS/2 number of threads so all CPUs are in use
#
# On startup, the process forks
# Each process mallocs a 3G buffer but there is no communication
# between the processes.
# Threads are created that zeros out the full buffer 1000 times
#
# The objective of the test is that initially the two processes # allocate their memory on the same node. As the threads are # are created the memory will migrate from the initial node to # nodes that are closer to the referencing thread. # # It is worth noting that this benchmark is specifically tuned # for two nodes and the expectation is that the two processes # and their threads split so that all process A runs on node 0 # and all threads on process B run in node 1 # # With 4 and more nodes, this is actually an adverse workload. # As all the buffer is zeroed in both processes, there is an # expectation that it will continually bounce between two nodes. # # So, on 2 nodes, this benchmark tests convergence. On 4 or more # nodes, this partially measures how much busy work automatic # NUMA migrate does and it'll be very noisy due to cache conflicts.
Wow, that's badly written! STill, on two nodes, numa01 is meant to converge. On 4 nodes it is an adverse workload where the only reasonable response is to interleave across all nodes. What likely happens is that one process bounces between 2 nodes and the second process bounces between the other two nodes -- all uselessly unless it's interleaving and then backing off. I'm running on 4 nodes.
My tree has no interleaving policy. All it'll notice is that it may be bouncing between nodes and stop migrating on the assumption that a remote access is cheaper than a lot of migration. A smart policy is expected to be able to overcome this.
Look at the other figures which are for a reasonable NUMA workload. balancenuma is beating numacore there and it shouldn't be able to. One strong likelihood is that we differ in the base mechanics. Another possibility is that there is a bug in the policies somewhere. If you rebased on top, we'd find out which.
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Mel Gorman
reviewer(adding David to cc, there is a specific question for him below)
Quoted 11 lines · Mel Gorman
Quoted 5 lines · Mel Gorman
I am not including a benchmark report in this but will be posting one shortly in the "Latest numa/core release, v16" thread along with the latest schednuma figures I have available.
Report is linked here https://lkml.org/lkml/2012/11/21/202
I ended up cancelling the remaining tests and restarted with
Quoted 9 lines
1. schednuma + patches posted since so that works out as tip/sched/core from the time I last pulled
patches as posted on the list
patches posted since which are
x86/vsyscall: AddKconfigoption to use native vsyscalls, switch to it mm/migration: Improvemigrate_misplaced_page()
mm, numa: Turn 4K pte NUMA faults into effective hugepage ones x86/mm: Don't flush the TLB on #WP pmd fixups
I had to cancel this test early in autonumabench. It started throwing up errors like this on the console
[ 18.583303] udevd[789]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4[ 18.583320] udevd[794]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 in libc-2.15.so[7f571ac08000+19b000] [ 18.583338] udevd[763]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4udevd[795]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 in libc-2.15.so[7f571ac08000+19b000] [ 18.583357] in libc-2.15.so[7f571ac08000+19b000]udevd[798]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 [ 18.583382] udevd[705]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4udevd[758]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 in libc-2.15.so[7f571ac08000+19b000] in libc-2.15.so[7f571ac08000+19b000] [ 18.583446] udevd[806]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 in libc-2.15.so[7f571ac08000+19b000] [ 18.583472] udevd[808]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4udevd[791]: segfault at 898 ip 00007f571ac850e4 sp 00007fff08ea7a38 error 4 in libc-2.15.so[7f571ac08000+19b000] [ 18.583499] in libc-2.15.so[7f571ac08000+19b000] in libc-2.15.so[7f571ac08000+19b000]
I assumed I screwed up creating the tree so I generated this as a patch instead
git diff v3.7-rc6..tip/master > numacore-tipmaster.patch
and used that as a patch instead. tip/master for me is this commit
commit 9f7b91a96bb63165dd39b5910f4e7e276f4c0159
Merge: 923bf0b ee4eb87
Author: Ingo Molnar <[email protected]>
Date: Wed Nov 21 10:29:40 2012 +0100
Merge branch 'x86/urgent'
This initially got further but a few minutes in I see this in the test log
gcc nmstat.c -std=gnu99 -O2 -o nmstat
Hyper-Threading IS enabled.
numa01
sleep: invalid time interval Ac\020\245d\002Ac
Try 'sleep --help' for more information.
./plot.sh: line 36: 6783 Broken pipe ./nmstat -v pidof $1
6784 Segmentation fault | awk -v t=$TIME '/total/
{for(i=2;i<=NF;i++) {sum[i]+=$i}} END {printf "%d ",t; for(i=2;i<=NF;i++) {printf "%.2f ",sum[i]} print ""}' >> $1.txt
./plot.sh: line 36: 7012 Segmentation fault sleep $PERIOD
On the console I found this
[ 4.557427] init[352]: segfault at 19 ip 00007fb2c6401e8b sp 00007fff38dbc2a0 error 4 in libc-2.15.so[7fb2c634c000+19b000] boot/02-start.sh: line 52: 352 Segmentation fault mount -t tmpfs -o mode=1777 tmpfs /dev/shm [ 4.585445] traps: init[361] general protection ip:476df7 sp:7fff38dbc478 error:0 in bash[400000+96000]
boot/02-start.sh: line 60: 361 Segmentation fault ln -s fd/2 /dev/stderr
Note this was really early in boot but I had missed it. When the test is actually running I get this
[ 434.394936] plot.sh[6784]: segfault at 19 ip 00007f4df8cfae8b sp 00007fff48f0b910 error 4 in libc-2.15.so[7f4df8c45000+19b000] [ 466.880084] traps: plot.sh[7012] general protection ip:476df7 sp:7fff48f0be48 error:0 in bash[400000+96000]
and I reset the machine at this point even though it had not crashes as such.
The delta between what I tested before and what I'm testing now is this
x86/vsyscall: Add Kconfig option to use native vsyscalls, switch to it mm, numa: Turn 4K pte NUMA faults into effective hugepage ones mm/migration: Improve migrate_misplaced_page()
x86/mm: Don't flush the TLB on #WP pmd fixups
These patches were pulled from the lists.
I have no idea why I'm the first to see this but one possibility is that other testers of tip/master pulled before commit e79b3ae4 "mm, numa: Turn 4K pte NUMA faults into effective hugepage ones" was in there. Can other testers of tip/master, particularly David Rientjes, check if this patch was included or not? In the meantime I'll look and see can I spot something else I screwed up on this one and will leave the other tests running.
Here is my .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.7.0-rc6 Kernel Configuration
#CONFIG_64BIT=yCONFIG_X86_64=yCONFIG_X86=yCONFIG_INSTRUCTION_DECODER=yCONFIG_OUTPUT_FORMAT="elf64-x86-64"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"CONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_NEED_SG_DMA_LENGTH=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_GPIO=yCONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_ARCH_HAS_CPU_RELAX=yCONFIG_ARCH_HAS_DEFAULT_IDLE=yCONFIG_ARCH_HAS_CACHE_LINE_SIZE=yCONFIG_ARCH_HAS_CPU_AUTOPROBE=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=yCONFIG_ARCH_HIBERNATION_POSSIBLE=yCONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=yCONFIG_AUDIT_ARCH=yCONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=yCONFIG_HAVE_INTEL_TXT=yCONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" CONFIG_ARCH_CPU_PROBE_RELEASE=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"CONFIG_HAVE_IRQ_WORK=yCONFIG_IRQ_WORK=yCONFIG_BUILDTIME_EXTABLE_SORT=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_CROSS_COMPILE=""CONFIG_LOCALVERSION="-numacore-tipmaster"
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not setCONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=yCONFIG_FHANDLE=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_WATCH=yCONFIG_AUDIT_TREE=y
# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not setCONFIG_HAVE_GENERIC_HARDIRQS=y
#
# IRQ subsystem
#CONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_IRQ_SHOW=yCONFIG_GENERIC_PENDING_IRQ=yCONFIG_GENERIC_IRQ_CHIP=yCONFIG_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not setCONFIG_IRQ_FORCED_THREADING=yCONFIG_SPARSE_IRQ=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_ARCH_CLOCKSOURCE_DATA=yCONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=yCONFIG_GENERIC_CLOCKEVENTS_BROADCAST=yCONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=yCONFIG_GENERIC_CMOS_UPDATE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
#
# CPU/Task time and stats accounting
#CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not setCONFIG_BSD_PROCESS_ACCT=yCONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=y
#
# RCU Subsystem
#CONFIG_TREE_PREEMPT_RCU=yCONFIG_PREEMPT_RCU=y
# CONFIG_RCU_USER_QS is not setCONFIG_RCU_FANOUT=64CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_FANOUT_EXACT is not setCONFIG_RCU_FAST_NO_HZ=y
# CONFIG_TREE_RCU_TRACE is not setCONFIG_RCU_BOOST=yCONFIG_RCU_BOOST_PRIO=1CONFIG_RCU_BOOST_DELAY=500CONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=18CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_ARCH_SUPPORTS_NUMA_BALANCING=yCONFIG_ARCH_WANTS_NUMA_GENERIC_PGPROT=yCONFIG_NUMA_BALANCING=yCONFIG_NUMA_BALANCING_HUGEPAGE=yCONFIG_ARCH_USES_NUMA_GENERIC_PGPROT=yCONFIG_ARCH_USES_NUMA_GENERIC_PGPROT_HUGEPAGE=yCONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not setCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=y
# CONFIG_MEMCG is not set
# CONFIG_CGROUP_HUGETLB is not setCONFIG_CGROUP_PERF=yCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_RT_GROUP_SCHED=yCONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
# CONFIG_CHECKPOINT_RESTORE is not setCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_SCHED_AUTOGROUP=y
# CONFIG_SYSFS_DEPRECATED is not setCONFIG_RELAY=yCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_RD_XZ=yCONFIG_RD_LZO=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not setCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
# CONFIG_EXPERT is not setCONFIG_HAVE_UID16=yCONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not setCONFIG_SYSCTL_EXCEPTION_TRACE=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_HAVE_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y
# CONFIG_EMBEDDED is not setCONFIG_HAVE_PERF_EVENTS=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not setCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=y
# CONFIG_COMPAT_BRK is not setCONFIG_SLAB=y
# CONFIG_SLUB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not setCONFIG_HAVE_OPROFILE=yCONFIG_OPROFILE_NMI_TIMER=yCONFIG_KPROBES=yCONFIG_JUMP_LABEL=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_KRETPROBES=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_OPTPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_USE_GENERIC_SMP_HELPERS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_MIXED_BREAKPOINTS_REGS=yCONFIG_HAVE_USER_RETURN_NOTIFIER=yCONFIG_HAVE_PERF_EVENTS_NMI=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=yCONFIG_ARCH_WANT_OLD_COMPAT_IPC=yCONFIG_GENERIC_KERNEL_THREAD=yCONFIG_GENERIC_KERNEL_EXECVE=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=yCONFIG_SECCOMP_FILTER=yCONFIG_HAVE_RCU_USER_QS=yCONFIG_HAVE_IRQ_TIME_ACCOUNTING=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_MODULES_USE_ELF_RELA=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_MODULE_SIG is not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=yCONFIG_BLK_DEV_BSGLIB=yCONFIG_BLK_DEV_INTEGRITY=yCONFIG_BLK_DEV_THROTTLING=y
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not setCONFIG_OSF_PARTITION=y
# CONFIG_AMIGA_PARTITION is not setCONFIG_ATARI_PARTITION=yCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not setCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=yCONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not setCONFIG_SGI_PARTITION=yCONFIG_ULTRIX_PARTITION=yCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=yCONFIG_SYSV68_PARTITION=yCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_CFQ_GROUP_IOSCHED=y
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"CONFIG_PREEMPT_NOTIFIERS=yCONFIG_PADATA=yCONFIG_UNINLINE_SPIN_UNLOCK=yCONFIG_MUTEX_SPIN_ON_OWNER=yCONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_ZONE_DMA=yCONFIG_SMP=yCONFIG_X86_X2APIC=yCONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_NUMACHIP is not set
# CONFIG_X86_VSMP is not setCONFIG_X86_UV=y CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_KVMTOOL_TEST_ENABLE is not set CONFIG_PARAVIRT_GUEST=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set # CONFIG_XEN is not set
# CONFIG_XEN_PRIVILEGED_GUEST is not set CONFIG_KVM_GUEST=yCONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_SPINLOCKS is not set CONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set CONFIG_NO_BOOTMEM=yCONFIG_MEMTEST=y
# CONFIG_MK8 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set CONFIG_GENERIC_CPU=y CONFIG_X86_INTERNODE_CACHE_SHIFT=6 CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_DEBUGCTLMSR=y CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=y CONFIG_CPU_SUP_CENTAUR=yCONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=yCONFIG_GART_IOMMU=yCONFIG_CALGARY_IOMMU=y
# CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT is not set CONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
# CONFIG_MAXSMP is not set CONFIG_NR_CPUS=512CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=yCONFIG_PREEMPT_COUNT=y CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y CONFIG_X86_MCE=yCONFIG_X86_MCE_INTEL=yCONFIG_X86_MCE_AMD=y CONFIG_X86_MCE_THRESHOLD=y CONFIG_X86_MCE_INJECT=m CONFIG_X86_THERMAL_VECTOR=yCONFIG_I8K=mCONFIG_MICROCODE=mCONFIG_MICROCODE_INTEL=y CONFIG_MICROCODE_AMD=y CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=yCONFIG_X86_CPUID=m CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_ARCH_DMA_ADDR_T_64BIT=y CONFIG_DIRECT_GBPAGES=yCONFIG_NUMA=yCONFIG_AMD_NUMA=yCONFIG_X86_64_ACPI_NUMA=y CONFIG_NODES_SPAN_OTHER_NODES=y CONFIG_NUMA_EMU=yCONFIG_NODES_SHIFT=9 CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_ARCH_MEMORY_PROBE=y CONFIG_ARCH_PROC_KCORE_TEXT=y CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000 CONFIG_SELECT_MEMORY_MODEL=y CONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=y CONFIG_NEED_MULTIPLE_NODES=y CONFIG_HAVE_MEMORY_PRESENT=y CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y CONFIG_SPARSEMEM_VMEMMAP=y CONFIG_HAVE_MEMBLOCK=y CONFIG_HAVE_MEMBLOCK_NODE_MAP=y CONFIG_ARCH_DISCARD_MEMBLOCK=y CONFIG_MEMORY_ISOLATION=y CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG_SPARSE=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_PAGEFLAGS_EXTENDED=y CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_COMPACTION=yCONFIG_MIGRATION=y CONFIG_PHYS_ADDR_T_64BIT=y CONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=yCONFIG_KSM=y CONFIG_DEFAULT_MMAP_MIN_ADDR=65536 CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y CONFIG_MEMORY_FAILURE=y CONFIG_HWPOISON_INJECT=m CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set CONFIG_CROSS_MEMORY_ATTACH=y CONFIG_CLEANCACHE=y
# CONFIG_FRONTSWAP is not set CONFIG_X86_CHECK_BIOS_CORRUPTION=y CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y CONFIG_X86_RESERVE_LOW=64CONFIG_MTRR=yCONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=y CONFIG_ARCH_USES_PG_UNCACHED=y CONFIG_ARCH_RANDOM=yCONFIG_X86_SMAP=yCONFIG_EFI=yCONFIG_EFI_STUB=yCONFIG_SECCOMP=y
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_CRASH_DUMP=y
# CONFIG_KEXEC_JUMP is not set CONFIG_PHYSICAL_START=0x200000 CONFIG_RELOCATABLE=y CONFIG_PHYSICAL_ALIGN=0x1000000 CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y CONFIG_USE_PERCPU_NUMA_NODE_ID=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATE_CALLBACKS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_PM_SLEEP=yCONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not setCONFIG_PM_RUNTIME=yCONFIG_PM=yCONFIG_PM_DEBUG=yCONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not setCONFIG_PM_SLEEP_DEBUG=yCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_EC_DEBUGFS=mCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=yCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_IPMI=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_PROCESSOR_AGGREGATOR=mCONFIG_ACPI_THERMAL=mCONFIG_ACPI_NUMA=yCONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not setCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not setCONFIG_ACPI_PCI_SLOT=mCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_HOTPLUG_MEMORY=mCONFIG_ACPI_SBS=mCONFIG_ACPI_HED=y
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not setCONFIG_ACPI_APEI=yCONFIG_ACPI_APEI_GHES=yCONFIG_ACPI_APEI_PCIEAER=yCONFIG_ACPI_APEI_MEMORY_FAILURE=yCONFIG_ACPI_APEI_EINJ=m
# CONFIG_ACPI_APEI_ERST_DEBUG is not set
# CONFIG_SFI is not set
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
#
# x86 CPU frequency scaling drivers # # CONFIG_X86_PCC_CPUFREQ is not set CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_POWERNOW_K8=m # CONFIG_X86_SPEEDSTEP_CENTRINO is not set # CONFIG_X86_P4_CLOCKMOD is not set
#
# shared options # # CONFIG_X86_SPEEDSTEP_LIB is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set CONFIG_INTEL_IDLE=y
#
# Memory power savings
#CONFIG_I7300_IDLE_IOAT_CHANNEL=yCONFIG_I7300_IDLE=m
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_DOMAINS=yCONFIG_PCIEPORTBUS=yCONFIG_HOTPLUG_PCI_PCIE=mCONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not setCONFIG_PCIEAER_INJECT=mCONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not setCONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not setCONFIG_PCIE_PME=yCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not setCONFIG_PCI_STUB=yCONFIG_HT_IRQ=yCONFIG_PCI_ATS=yCONFIG_PCI_IOV=yCONFIG_PCI_PRI=yCONFIG_PCI_PASID=yCONFIG_PCI_IOAPIC=mCONFIG_PCI_LABEL=yCONFIG_ISA_DMA_API=yCONFIG_AMD_NB=y
# CONFIG_PCCARD is not setCONFIG_HOTPLUG_PCI=mCONFIG_HOTPLUG_PCI_ACPI=mCONFIG_HOTPLUG_PCI_ACPI_IBM=mCONFIG_HOTPLUG_PCI_CPCI=yCONFIG_HOTPLUG_PCI_CPCI_ZT5550=mCONFIG_HOTPLUG_PCI_CPCI_GENERIC=mCONFIG_HOTPLUG_PCI_SHPC=m
# CONFIG_RAPIDIO is not set
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=yCONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=yCONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=mCONFIG_COREDUMP=yCONFIG_IA32_EMULATION=yCONFIG_IA32_AOUT=mCONFIG_X86_X32=yCONFIG_X86_VSYSCALL_COMPAT=yCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_KEYS_COMPAT=yCONFIG_HAVE_TEXT_POKE_SMP=yCONFIG_X86_DEV_DMA_OPS=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=m
# CONFIG_PACKET_DIAG is not setCONFIG_UNIX=yCONFIG_UNIX_DIAG=mCONFIG_XFRM=yCONFIG_XFRM_ALGO=mCONFIG_XFRM_USER=mCONFIG_XFRM_SUB_POLICY=yCONFIG_XFRM_MIGRATE=y
# CONFIG_XFRM_STATISTICS is not setCONFIG_XFRM_IPCOMP=mCONFIG_NET_KEY=mCONFIG_NET_KEY_MIGRATE=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not setCONFIG_IP_MULTIPLE_TABLES=yCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_ROUTE_CLASSID=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=yCONFIG_NET_IPIP=mCONFIG_NET_IPGRE_DEMUX=mCONFIG_NET_IPGRE=mCONFIG_NET_IPGRE_BROADCAST=yCONFIG_IP_MROUTE=yCONFIG_IP_MROUTE_MULTIPLE_TABLES=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI is not setCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_XFRM_MODE_TRANSPORT=mCONFIG_INET_XFRM_MODE_TUNNEL=mCONFIG_INET_XFRM_MODE_BEET=mCONFIG_INET_LRO=yCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=mCONFIG_INET_UDP_DIAG=mCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HSTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=mCONFIG_TCP_CONG_SCALABLE=mCONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=mCONFIG_TCP_CONG_ILLINOIS=mCONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_RENO is not setCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not setCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=yCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=y
# CONFIG_IPV6_OPTIMISTIC_DAD is not setCONFIG_INET6_AH=mCONFIG_INET6_ESP=mCONFIG_INET6_IPCOMP=mCONFIG_IPV6_MIP6=mCONFIG_INET6_XFRM_TUNNEL=mCONFIG_INET6_TUNNEL=mCONFIG_INET6_XFRM_MODE_TRANSPORT=mCONFIG_INET6_XFRM_MODE_TUNNEL=mCONFIG_INET6_XFRM_MODE_BEET=mCONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=mCONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not setCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_IPV6_TUNNEL=m
# CONFIG_IPV6_GRE is not setCONFIG_IPV6_MULTIPLE_TABLES=yCONFIG_IPV6_SUBTREES=y
# CONFIG_IPV6_MROUTE is not setCONFIG_NETLABEL=yCONFIG_NETWORK_SECMARK=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not setCONFIG_NETFILTER_ADVANCED=yCONFIG_BRIDGE_NETFILTER=y
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_NETLINK_ACCT=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=mCONFIG_NF_CONNTRACK=mCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_SECMARK=yCONFIG_NF_CONNTRACK_ZONES=yCONFIG_NF_CONNTRACK_PROCFS=yCONFIG_NF_CONNTRACK_EVENTS=yCONFIG_NF_CONNTRACK_TIMEOUT=yCONFIG_NF_CONNTRACK_TIMESTAMP=yCONFIG_NF_CT_PROTO_DCCP=mCONFIG_NF_CT_PROTO_GRE=mCONFIG_NF_CT_PROTO_SCTP=mCONFIG_NF_CT_PROTO_UDPLITE=mCONFIG_NF_CONNTRACK_AMANDA=mCONFIG_NF_CONNTRACK_FTP=mCONFIG_NF_CONNTRACK_H323=mCONFIG_NF_CONNTRACK_IRC=mCONFIG_NF_CONNTRACK_BROADCAST=mCONFIG_NF_CONNTRACK_NETBIOS_NS=mCONFIG_NF_CONNTRACK_SNMP=mCONFIG_NF_CONNTRACK_PPTP=mCONFIG_NF_CONNTRACK_SANE=mCONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CONNTRACK_TFTP=mCONFIG_NF_CT_NETLINK=mCONFIG_NF_CT_NETLINK_TIMEOUT=m
# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not setCONFIG_NETFILTER_TPROXY=mCONFIG_NETFILTER_XTABLES=m
#
# Xtables combined modules
#CONFIG_NETFILTER_XT_MARK=mCONFIG_NETFILTER_XT_CONNMARK=mCONFIG_NETFILTER_XT_SET=m
#
# Xtables targets
#CONFIG_NETFILTER_XT_TARGET_AUDIT=mCONFIG_NETFILTER_XT_TARGET_CHECKSUM=mCONFIG_NETFILTER_XT_TARGET_CLASSIFY=mCONFIG_NETFILTER_XT_TARGET_CONNMARK=mCONFIG_NETFILTER_XT_TARGET_CONNSECMARK=mCONFIG_NETFILTER_XT_TARGET_CT=mCONFIG_NETFILTER_XT_TARGET_DSCP=mCONFIG_NETFILTER_XT_TARGET_HL=m
# CONFIG_NETFILTER_XT_TARGET_HMARK is not setCONFIG_NETFILTER_XT_TARGET_IDLETIMER=mCONFIG_NETFILTER_XT_TARGET_LED=mCONFIG_NETFILTER_XT_TARGET_LOG=mCONFIG_NETFILTER_XT_TARGET_MARK=mCONFIG_NETFILTER_XT_TARGET_NFLOG=mCONFIG_NETFILTER_XT_TARGET_NFQUEUE=mCONFIG_NETFILTER_XT_TARGET_RATEEST=mCONFIG_NETFILTER_XT_TARGET_TEE=mCONFIG_NETFILTER_XT_TARGET_TPROXY=mCONFIG_NETFILTER_XT_TARGET_TRACE=mCONFIG_NETFILTER_XT_TARGET_SECMARK=mCONFIG_NETFILTER_XT_TARGET_TCPMSS=mCONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
#
# Xtables matches
#CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=mCONFIG_NETFILTER_XT_MATCH_CLUSTER=mCONFIG_NETFILTER_XT_MATCH_COMMENT=mCONFIG_NETFILTER_XT_MATCH_CONNBYTES=mCONFIG_NETFILTER_XT_MATCH_CONNLIMIT=mCONFIG_NETFILTER_XT_MATCH_CONNMARK=mCONFIG_NETFILTER_XT_MATCH_CONNTRACK=mCONFIG_NETFILTER_XT_MATCH_CPU=mCONFIG_NETFILTER_XT_MATCH_DCCP=mCONFIG_NETFILTER_XT_MATCH_DEVGROUP=mCONFIG_NETFILTER_XT_MATCH_DSCP=mCONFIG_NETFILTER_XT_MATCH_ECN=mCONFIG_NETFILTER_XT_MATCH_ESP=mCONFIG_NETFILTER_XT_MATCH_HASHLIMIT=mCONFIG_NETFILTER_XT_MATCH_HELPER=mCONFIG_NETFILTER_XT_MATCH_HL=mCONFIG_NETFILTER_XT_MATCH_IPRANGE=mCONFIG_NETFILTER_XT_MATCH_IPVS=mCONFIG_NETFILTER_XT_MATCH_LENGTH=mCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_MULTIPORT=mCONFIG_NETFILTER_XT_MATCH_NFACCT=mCONFIG_NETFILTER_XT_MATCH_OSF=mCONFIG_NETFILTER_XT_MATCH_OWNER=mCONFIG_NETFILTER_XT_MATCH_POLICY=mCONFIG_NETFILTER_XT_MATCH_PHYSDEV=mCONFIG_NETFILTER_XT_MATCH_PKTTYPE=mCONFIG_NETFILTER_XT_MATCH_QUOTA=mCONFIG_NETFILTER_XT_MATCH_RATEEST=mCONFIG_NETFILTER_XT_MATCH_REALM=mCONFIG_NETFILTER_XT_MATCH_RECENT=mCONFIG_NETFILTER_XT_MATCH_SCTP=mCONFIG_NETFILTER_XT_MATCH_SOCKET=mCONFIG_NETFILTER_XT_MATCH_STATE=mCONFIG_NETFILTER_XT_MATCH_STATISTIC=mCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=mCONFIG_NETFILTER_XT_MATCH_TIME=mCONFIG_NETFILTER_XT_MATCH_U32=mCONFIG_IP_SET=mCONFIG_IP_SET_MAX=256CONFIG_IP_SET_BITMAP_IP=mCONFIG_IP_SET_BITMAP_IPMAC=mCONFIG_IP_SET_BITMAP_PORT=mCONFIG_IP_SET_HASH_IP=mCONFIG_IP_SET_HASH_IPPORT=mCONFIG_IP_SET_HASH_IPPORTIP=mCONFIG_IP_SET_HASH_IPPORTNET=mCONFIG_IP_SET_HASH_NET=mCONFIG_IP_SET_HASH_NETPORT=mCONFIG_IP_SET_HASH_NETIFACE=mCONFIG_IP_SET_LIST_SET=mCONFIG_IP_VS=mCONFIG_IP_VS_IPV6=y
# CONFIG_IP_VS_DEBUG is not setCONFIG_IP_VS_TAB_BITS=12
#
# IPVS transport protocol load balancing support
#CONFIG_IP_VS_PROTO_TCP=yCONFIG_IP_VS_PROTO_UDP=yCONFIG_IP_VS_PROTO_AH_ESP=yCONFIG_IP_VS_PROTO_ESP=yCONFIG_IP_VS_PROTO_AH=yCONFIG_IP_VS_PROTO_SCTP=y
#
# IPVS scheduler
#CONFIG_IP_VS_RR=mCONFIG_IP_VS_WRR=mCONFIG_IP_VS_LC=mCONFIG_IP_VS_WLC=mCONFIG_IP_VS_LBLC=mCONFIG_IP_VS_LBLCR=mCONFIG_IP_VS_DH=mCONFIG_IP_VS_SH=mCONFIG_IP_VS_SED=mCONFIG_IP_VS_NQ=m
#
# IPVS SH scheduler
#CONFIG_IP_VS_SH_TAB_BITS=8
#
# IPVS application helper
#CONFIG_IP_VS_NFCT=yCONFIG_IP_VS_PE_SIP=m
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_CONNTRACK_IPV4=m
# CONFIG_NF_CONNTRACK_PROC_COMPAT is not setCONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_RPFILTER=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_ULOG=m
# CONFIG_NF_NAT_IPV4 is not setCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_SECURITY=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
#
# IPv6: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV6=mCONFIG_NF_CONNTRACK_IPV6=mCONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_MATCH_AH=mCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_IP6_NF_MATCH_FRAG=mCONFIG_IP6_NF_MATCH_OPTS=mCONFIG_IP6_NF_MATCH_HL=mCONFIG_IP6_NF_MATCH_IPV6HEADER=mCONFIG_IP6_NF_MATCH_MH=mCONFIG_IP6_NF_MATCH_RPFILTER=mCONFIG_IP6_NF_MATCH_RT=mCONFIG_IP6_NF_TARGET_HL=mCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=mCONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=mCONFIG_IP6_NF_SECURITY=m
# CONFIG_NF_NAT_IPV6 is not setCONFIG_BRIDGE_NF_EBTABLES=mCONFIG_BRIDGE_EBT_BROUTE=mCONFIG_BRIDGE_EBT_T_FILTER=mCONFIG_BRIDGE_EBT_T_NAT=mCONFIG_BRIDGE_EBT_802_3=mCONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=mCONFIG_BRIDGE_EBT_PKTTYPE=mCONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=mCONFIG_BRIDGE_EBT_ARPREPLY=mCONFIG_BRIDGE_EBT_DNAT=mCONFIG_BRIDGE_EBT_MARK_T=mCONFIG_BRIDGE_EBT_REDIRECT=mCONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_ULOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_IP_DCCP=mCONFIG_INET_DCCP_DIAG=m
#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not setCONFIG_IP_DCCP_TFRC_LIB=y
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not set
# CONFIG_NET_DCCPPROBE is not setCONFIG_IP_SCTP=mCONFIG_NET_SCTPPROBE=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not setCONFIG_SCTP_HMAC_MD5=yCONFIG_RDS=mCONFIG_RDS_TCP=m
# CONFIG_RDS_DEBUG is not set
# CONFIG_TIPC is not setCONFIG_ATM=mCONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not setCONFIG_ATM_LANE=mCONFIG_ATM_MPOA=mCONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_L2TP is not setCONFIG_STP=mCONFIG_GARP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_IGMP_SNOOPING=yCONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_DSA is not set
# CONFIG_NET_DSA_TAG_EDSA is not set
# CONFIG_NET_DSA_TAG_TRAILER is not setCONFIG_VLAN_8021Q=mCONFIG_VLAN_8021Q_GVRP=y
# CONFIG_DECNET is not setCONFIG_LLC=mCONFIG_LLC2=m
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not setCONFIG_IEEE802154=mCONFIG_IEEE802154_6LOWPAN=m
# CONFIG_MAC802154 is not setCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=mCONFIG_NET_SCH_ATM=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_MULTIQ=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_DSMARK=mCONFIG_NET_SCH_NETEM=mCONFIG_NET_SCH_DRR=mCONFIG_NET_SCH_MQPRIO=mCONFIG_NET_SCH_CHOKE=mCONFIG_NET_SCH_QFQ=m
# CONFIG_NET_SCH_CODEL is not set
# CONFIG_NET_SCH_FQ_CODEL is not setCONFIG_NET_SCH_INGRESS=mCONFIG_NET_SCH_PLUG=m
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_RSVP=mCONFIG_NET_CLS_RSVP6=mCONFIG_NET_CLS_FLOW=mCONFIG_NET_CLS_CGROUP=yCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32CONFIG_NET_EMATCH_CMP=mCONFIG_NET_EMATCH_NBYTE=mCONFIG_NET_EMATCH_U32=mCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=m
# CONFIG_NET_EMATCH_IPSET is not setCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=mCONFIG_GACT_PROB=yCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_IPT=mCONFIG_NET_ACT_NAT=mCONFIG_NET_ACT_PEDIT=mCONFIG_NET_ACT_SIMP=mCONFIG_NET_ACT_SKBEDIT=mCONFIG_NET_ACT_CSUM=mCONFIG_NET_CLS_IND=yCONFIG_NET_SCH_FIFO=yCONFIG_DCB=yCONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not setCONFIG_OPENVSWITCH=mCONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_XPS=yCONFIG_NETPRIO_CGROUP=mCONFIG_BQL=yCONFIG_BPF_JIT=y
#
# Network testing
#CONFIG_NET_PKTGEN=mCONFIG_NET_TCPPROBE=m
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not setCONFIG_FIB_RULES=y
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not setCONFIG_RFKILL=mCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not setCONFIG_CEPH_LIB=mCONFIG_CEPH_LIB_PRETTYDEBUG=y
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not setCONFIG_NFC=mCONFIG_NFC_NCI=m
# CONFIG_NFC_HCI is not setCONFIG_NFC_LLCP=y
#
# Near Field Communication (NFC) devices
#CONFIG_NFC_PN533=mCONFIG_NFC_WILINK=mCONFIG_HAVE_BPF_JIT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not setCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not setCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not setCONFIG_REGMAP=yCONFIG_REGMAP_I2C=mCONFIG_DMA_SHARED_BUFFER=y
#
# Bus devices
#
# CONFIG_OMAP_OCP2SCP is not setCONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
# CONFIG_MTD is not set
# CONFIG_PARPORT is not setCONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=mCONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_LOOP_MIN_COUNT=8CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_DRBD is not setCONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_OSD is not setCONFIG_BLK_DEV_SX8=mCONFIG_BLK_DEV_RAM=mCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=131072CONFIG_BLK_DEV_XIP=yCONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8CONFIG_CDROM_PKTCDVD_WCACHE=yCONFIG_ATA_OVER_ETH=mCONFIG_VIRTIO_BLK=m
# CONFIG_BLK_DEV_HD is not setCONFIG_BLK_DEV_RBD=m
#
# Misc devices
#CONFIG_SENSORS_LIS3LV02D=mCONFIG_AD525X_DPOT=mCONFIG_AD525X_DPOT_I2C=mCONFIG_AD525X_DPOT_SPI=mCONFIG_IBM_ASM=mCONFIG_PHANTOM=m
# CONFIG_INTEL_MID_PTI is not setCONFIG_SGI_IOC4=mCONFIG_TIFM_CORE=mCONFIG_TIFM_7XX1=mCONFIG_ICS932S401=mCONFIG_ENCLOSURE_SERVICES=mCONFIG_SGI_XP=mCONFIG_HP_ILO=mCONFIG_SGI_GRU=m
# CONFIG_SGI_GRU_DEBUG is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not setCONFIG_ISL29020=mCONFIG_SENSORS_TSL2550=mCONFIG_SENSORS_BH1780=mCONFIG_SENSORS_BH1770=mCONFIG_SENSORS_APDS990X=mCONFIG_HMC6352=mCONFIG_DS1682=mCONFIG_TI_DAC7512=mCONFIG_VMWARE_BALLOON=m
# CONFIG_BMP085_I2C is not set
# CONFIG_BMP085_SPI is not setCONFIG_PCH_PHUB=mCONFIG_USB_SWITCH_FSA9480=mCONFIG_C2PORT=mCONFIG_C2PORT_DURAMAR_2150=m
#
# EEPROM support
#CONFIG_EEPROM_AT24=mCONFIG_EEPROM_AT25=mCONFIG_EEPROM_LEGACY=mCONFIG_EEPROM_MAX6875=mCONFIG_EEPROM_93CX6=mCONFIG_EEPROM_93XX46=mCONFIG_CB710_CORE=m
# CONFIG_CB710_DEBUG is not setCONFIG_CB710_DEBUG_ASSUMPTIONS=y
#
# Texas Instruments shared transport line discipline #CONFIG_TI_ST=mCONFIG_SENSORS_LIS3_I2C=m
#
# Altera FPGA firmware download module
#CONFIG_ALTERA_STAPL=mCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_SCSI_MOD=yCONFIG_RAID_ATTRS=mCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=mCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=mCONFIG_CHR_DEV_OSST=mCONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not setCONFIG_CHR_DEV_SG=mCONFIG_CHR_DEV_SCH=mCONFIG_SCSI_ENCLOSURE=mCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=y
# CONFIG_SCSI_SCAN_ASYNC is not set
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=mCONFIG_SCSI_FC_TGT_ATTRS=yCONFIG_SCSI_ISCSI_ATTRS=mCONFIG_SCSI_SAS_ATTRS=mCONFIG_SCSI_SAS_LIBSAS=mCONFIG_SCSI_SAS_ATA=yCONFIG_SCSI_SAS_HOST_SMP=yCONFIG_SCSI_SRP_ATTRS=mCONFIG_SCSI_SRP_TGT_ATTRS=yCONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=mCONFIG_ISCSI_BOOT_SYSFS=mCONFIG_SCSI_CXGB3_ISCSI=mCONFIG_SCSI_CXGB4_ISCSI=mCONFIG_SCSI_BNX2_ISCSI=mCONFIG_SCSI_BNX2X_FCOE=mCONFIG_BE2ISCSI=mCONFIG_BLK_DEV_3W_XXXX_RAID=mCONFIG_SCSI_HPSA=mCONFIG_SCSI_3W_9XXX=mCONFIG_SCSI_3W_SAS=mCONFIG_SCSI_ACARD=mCONFIG_SCSI_AACRAID=mCONFIG_SCSI_AIC7XXX=mCONFIG_AIC7XXX_CMDS_PER_DEVICE=32CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_DEBUG_ENABLE is not setCONFIG_AIC7XXX_DEBUG_MASK=0CONFIG_AIC7XXX_REG_PRETTY_PRINT=yCONFIG_SCSI_AIC7XXX_OLD=mCONFIG_SCSI_AIC79XX=mCONFIG_AIC79XX_CMDS_PER_DEVICE=32CONFIG_AIC79XX_RESET_DELAY_MS=5000
# CONFIG_AIC79XX_DEBUG_ENABLE is not setCONFIG_AIC79XX_DEBUG_MASK=0CONFIG_AIC79XX_REG_PRETTY_PRINT=yCONFIG_SCSI_AIC94XX=m
# CONFIG_AIC94XX_DEBUG is not setCONFIG_SCSI_MVSAS=m
# CONFIG_SCSI_MVSAS_DEBUG is not setCONFIG_SCSI_MVSAS_TASKLET=yCONFIG_SCSI_MVUMI=mCONFIG_SCSI_DPT_I2O=mCONFIG_SCSI_ADVANSYS=mCONFIG_SCSI_ARCMSR=mCONFIG_MEGARAID_NEWGEN=yCONFIG_MEGARAID_MM=mCONFIG_MEGARAID_MAILBOX=mCONFIG_MEGARAID_LEGACY=mCONFIG_MEGARAID_SAS=mCONFIG_SCSI_MPT2SAS=mCONFIG_SCSI_MPT2SAS_MAX_SGE=128
# CONFIG_SCSI_MPT2SAS_LOGGING is not setCONFIG_SCSI_UFSHCD=mCONFIG_SCSI_HPTIOP=mCONFIG_SCSI_BUSLOGIC=mCONFIG_VMWARE_PVSCSI=mCONFIG_HYPERV_STORAGE=mCONFIG_LIBFC=mCONFIG_LIBFCOE=mCONFIG_FCOE=mCONFIG_FCOE_FNIC=mCONFIG_SCSI_DMX3191D=mCONFIG_SCSI_EATA=mCONFIG_SCSI_EATA_TAGGED_QUEUE=yCONFIG_SCSI_EATA_LINKED_COMMANDS=yCONFIG_SCSI_EATA_MAX_TAGS=16CONFIG_SCSI_FUTURE_DOMAIN=mCONFIG_SCSI_GDTH=mCONFIG_SCSI_ISCI=mCONFIG_SCSI_IPS=mCONFIG_SCSI_INITIO=mCONFIG_SCSI_INIA100=mCONFIG_SCSI_STEX=mCONFIG_SCSI_SYM53C8XX_2=mCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_SYM53C8XX_MMIO=yCONFIG_SCSI_IPR=mCONFIG_SCSI_IPR_TRACE=yCONFIG_SCSI_IPR_DUMP=yCONFIG_SCSI_QLOGIC_1280=mCONFIG_SCSI_QLA_FC=m
# CONFIG_TCM_QLA2XXX is not setCONFIG_SCSI_QLA_ISCSI=mCONFIG_SCSI_LPFC=m
# CONFIG_SCSI_LPFC_DEBUG_FS is not set
CONFIG_SCSI_DC395x=mCONFIG_SCSI_DC390T=mCONFIG_SCSI_DEBUG=mCONFIG_SCSI_PMCRAID=mCONFIG_SCSI_PM8001=mCONFIG_SCSI_SRP=mCONFIG_SCSI_BFA_FC=mCONFIG_SCSI_VIRTIO=mCONFIG_SCSI_DH=mCONFIG_SCSI_DH_RDAC=mCONFIG_SCSI_DH_HP_SW=mCONFIG_SCSI_DH_EMC=mCONFIG_SCSI_DH_ALUA=mCONFIG_SCSI_OSD_INITIATOR=mCONFIG_SCSI_OSD_ULD=mCONFIG_SCSI_OSD_DPRINT_SENSE=1
# CONFIG_SCSI_OSD_DEBUG is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_VERBOSE_ERROR=yCONFIG_ATA_ACPI=yCONFIG_SATA_PMP=y
#
# Controllers with non-SFF native interface
#CONFIG_SATA_AHCI=yCONFIG_SATA_AHCI_PLATFORM=mCONFIG_SATA_INIC162X=mCONFIG_SATA_ACARD_AHCI=mCONFIG_SATA_SIL24=mCONFIG_ATA_SFF=y
#
# SFF controllers with custom DMA interface
#CONFIG_PDC_ADMA=mCONFIG_SATA_QSTOR=mCONFIG_SATA_SX4=mCONFIG_ATA_BMDMA=y
#
# SATA SFF controllers with BMDMA
#CONFIG_ATA_PIIX=m
# CONFIG_SATA_HIGHBANK is not setCONFIG_SATA_MV=mCONFIG_SATA_NV=mCONFIG_SATA_PROMISE=mCONFIG_SATA_SIL=mCONFIG_SATA_SIS=mCONFIG_SATA_SVW=mCONFIG_SATA_ULI=mCONFIG_SATA_VIA=mCONFIG_SATA_VITESSE=m
#
# PATA SFF controllers with BMDMA
#CONFIG_PATA_ALI=mCONFIG_PATA_AMD=mCONFIG_PATA_ARASAN_CF=mCONFIG_PATA_ARTOP=mCONFIG_PATA_ATIIXP=mCONFIG_PATA_ATP867X=mCONFIG_PATA_CMD64X=mCONFIG_PATA_CS5520=mCONFIG_PATA_CS5530=mCONFIG_PATA_CS5536=mCONFIG_PATA_CYPRESS=mCONFIG_PATA_EFAR=mCONFIG_PATA_HPT366=mCONFIG_PATA_HPT37X=mCONFIG_PATA_HPT3X2N=mCONFIG_PATA_HPT3X3=m
# CONFIG_PATA_HPT3X3_DMA is not setCONFIG_PATA_IT8213=mCONFIG_PATA_IT821X=mCONFIG_PATA_JMICRON=mCONFIG_PATA_MARVELL=mCONFIG_PATA_NETCELL=mCONFIG_PATA_NINJA32=mCONFIG_PATA_NS87415=mCONFIG_PATA_OLDPIIX=mCONFIG_PATA_OPTIDMA=mCONFIG_PATA_PDC2027X=mCONFIG_PATA_PDC_OLD=mCONFIG_PATA_RADISYS=mCONFIG_PATA_RDC=mCONFIG_PATA_SC1200=mCONFIG_PATA_SCH=mCONFIG_PATA_SERVERWORKS=mCONFIG_PATA_SIL680=mCONFIG_PATA_SIS=mCONFIG_PATA_TOSHIBA=mCONFIG_PATA_TRIFLEX=mCONFIG_PATA_VIA=mCONFIG_PATA_WINBOND=m
#
# PIO-only SFF controllers
#CONFIG_PATA_CMD640_PCI=mCONFIG_PATA_MPIIX=mCONFIG_PATA_NS87410=mCONFIG_PATA_OPTI=mCONFIG_PATA_RZ1000=m
#
# Generic fallback / legacy drivers
#CONFIG_PATA_ACPI=mCONFIG_ATA_GENERIC=m
# CONFIG_PATA_LEGACY is not setCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=yCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=m
# CONFIG_MULTICORE_RAID456 is not setCONFIG_MD_MULTIPATH=mCONFIG_MD_FAULTY=mCONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not setCONFIG_DM_BUFIO=mCONFIG_DM_BIO_PRISON=mCONFIG_DM_PERSISTENT_DATA=mCONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=mCONFIG_DM_THIN_PROVISIONING=m
# CONFIG_DM_DEBUG_BLOCK_STACK_TRACING is not setCONFIG_DM_MIRROR=mCONFIG_DM_RAID=mCONFIG_DM_LOG_USERSPACE=mCONFIG_DM_ZERO=mCONFIG_DM_MULTIPATH=mCONFIG_DM_MULTIPATH_QL=mCONFIG_DM_MULTIPATH_ST=mCONFIG_DM_DELAY=mCONFIG_DM_UEVENT=yCONFIG_DM_FLAKEY=mCONFIG_DM_VERITY=mCONFIG_TARGET_CORE=mCONFIG_TCM_IBLOCK=mCONFIG_TCM_FILEIO=mCONFIG_TCM_PSCSI=mCONFIG_LOOPBACK_TARGET=mCONFIG_TCM_FC=mCONFIG_ISCSI_TARGET=m
# CONFIG_SBP_TARGET is not set
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=mCONFIG_FIREWIRE_SBP2=mCONFIG_FIREWIRE_NET=mCONFIG_FIREWIRE_NOSY=mCONFIG_I2O=mCONFIG_I2O_LCT_NOTIFY_ON_CHANGES=yCONFIG_I2O_EXT_ADAPTEC=yCONFIG_I2O_EXT_ADAPTEC_DMA64=yCONFIG_I2O_CONFIG=mCONFIG_I2O_CONFIG_OLD_IOCTL=yCONFIG_I2O_BUS=mCONFIG_I2O_BLOCK=mCONFIG_I2O_SCSI=mCONFIG_I2O_PROC=m
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=yCONFIG_NET_CORE=yCONFIG_BONDING=mCONFIG_DUMMY=mCONFIG_EQUALIZER=mCONFIG_NET_FC=yCONFIG_MII=yCONFIG_IFB=mCONFIG_NET_TEAM=m
# CONFIG_NET_TEAM_MODE_BROADCAST is not setCONFIG_NET_TEAM_MODE_ROUNDROBIN=mCONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
# CONFIG_NET_TEAM_MODE_LOADBALANCE is not setCONFIG_MACVLAN=mCONFIG_MACVTAP=m
# CONFIG_VXLAN is not setCONFIG_NETCONSOLE=mCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NETPOLL_TRAP=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_TUN=mCONFIG_VETH=mCONFIG_VIRTIO_NET=m
# CONFIG_ARCNET is not setCONFIG_ATM_DRIVERS=yCONFIG_ATM_DUMMY=mCONFIG_ATM_TCP=mCONFIG_ATM_LANAI=mCONFIG_ATM_ENI=m
# CONFIG_ATM_ENI_DEBUG is not setCONFIG_ATM_ENI_TUNE_BURST=yCONFIG_ATM_ENI_BURST_TX_16W=yCONFIG_ATM_ENI_BURST_TX_8W=yCONFIG_ATM_ENI_BURST_TX_4W=yCONFIG_ATM_ENI_BURST_TX_2W=yCONFIG_ATM_ENI_BURST_RX_16W=yCONFIG_ATM_ENI_BURST_RX_8W=yCONFIG_ATM_ENI_BURST_RX_4W=yCONFIG_ATM_ENI_BURST_RX_2W=yCONFIG_ATM_FIRESTREAM=mCONFIG_ATM_ZATM=m
# CONFIG_ATM_ZATM_DEBUG is not setCONFIG_ATM_NICSTAR=mCONFIG_ATM_NICSTAR_USE_SUNI=yCONFIG_ATM_NICSTAR_USE_IDT77105=yCONFIG_ATM_IDT77252=m
# CONFIG_ATM_IDT77252_DEBUG is not set
# CONFIG_ATM_IDT77252_RCV_ALL is not setCONFIG_ATM_IDT77252_USE_SUNI=yCONFIG_ATM_AMBASSADOR=m
# CONFIG_ATM_AMBASSADOR_DEBUG is not setCONFIG_ATM_HORIZON=m
# CONFIG_ATM_HORIZON_DEBUG is not setCONFIG_ATM_IA=m
# CONFIG_ATM_IA_DEBUG is not setCONFIG_ATM_FORE200E=mCONFIG_ATM_FORE200E_USE_TASKLET=yCONFIG_ATM_FORE200E_TX_RETRY=16CONFIG_ATM_FORE200E_DEBUG=0CONFIG_ATM_HE=mCONFIG_ATM_HE_USE_SUNI=yCONFIG_ATM_SOLOS=m
#
# CAIF transport drivers
#
#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
# CONFIG_NET_DSA_MV88E6131 is not set
# CONFIG_NET_DSA_MV88E6123_61_65 is not setCONFIG_ETHERNET=yCONFIG_MDIO=mCONFIG_NET_VENDOR_3COM=yCONFIG_VORTEX=mCONFIG_TYPHOON=m
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_ALTEON is not setCONFIG_NET_VENDOR_AMD=yCONFIG_AMD8111_ETH=mCONFIG_PCNET32=m
# CONFIG_NET_VENDOR_ATHEROS is not setCONFIG_NET_VENDOR_BROADCOM=yCONFIG_B44=mCONFIG_B44_PCI_AUTOSELECT=yCONFIG_B44_PCICORE_AUTOSELECT=yCONFIG_B44_PCI=yCONFIG_BNX2=mCONFIG_CNIC=mCONFIG_TIGON3=mCONFIG_BNX2X=m
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_CALXEDA_XGMAC is not setCONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not setCONFIG_CHELSIO_T3=mCONFIG_CHELSIO_T4=m
# CONFIG_CHELSIO_T4VF is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EXAR is not set
# CONFIG_NET_VENDOR_HP is not setCONFIG_NET_VENDOR_INTEL=yCONFIG_E100=mCONFIG_E1000=mCONFIG_E1000E=mCONFIG_IGB=mCONFIG_IGB_DCA=y
# CONFIG_IGB_PTP is not setCONFIG_IGBVF=mCONFIG_IXGB=mCONFIG_IXGBE=mCONFIG_IXGBE_HWMON=yCONFIG_IXGBE_DCA=yCONFIG_IXGBE_DCB=y
# CONFIG_IXGBE_PTP is not setCONFIG_IXGBEVF=mCONFIG_NET_VENDOR_I825XX=yCONFIG_ZNET=mCONFIG_IP1000=m
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not setCONFIG_NET_VENDOR_MICROCHIP=y
# CONFIG_ENC28J60 is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not setCONFIG_NET_VENDOR_NVIDIA=yCONFIG_FORCEDETH=m
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not setCONFIG_NET_PACKET_ENGINE=yCONFIG_HAMACHI=mCONFIG_YELLOWFIN=m
# CONFIG_NET_VENDOR_QLOGIC is not setCONFIG_NET_VENDOR_REALTEK=yCONFIG_8139CP=mCONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not setCONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not setCONFIG_R8169=m
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_SFC is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not setCONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not set
# CONFIG_FDDI is not setCONFIG_HIPPI=y
# CONFIG_ROADRUNNER is not set
# CONFIG_NET_SB1000 is not setCONFIG_PHYLIB=y
#
# MII PHY device drivers
#
# CONFIG_AT803X_PHY is not setCONFIG_AMD_PHY=mCONFIG_MARVELL_PHY=mCONFIG_DAVICOM_PHY=mCONFIG_QSEMI_PHY=mCONFIG_LXT_PHY=mCONFIG_CICADA_PHY=mCONFIG_VITESSE_PHY=mCONFIG_SMSC_PHY=mCONFIG_BROADCOM_PHY=m
# CONFIG_BCM87XX_PHY is not setCONFIG_ICPLUS_PHY=mCONFIG_REALTEK_PHY=mCONFIG_NATIONAL_PHY=mCONFIG_STE10XP=mCONFIG_LSI_ET1011C_PHY=mCONFIG_MICREL_PHY=mCONFIG_FIXED_PHY=yCONFIG_MDIO_BITBANG=mCONFIG_MDIO_GPIO=m
# CONFIG_MICREL_KS8995MA is not setCONFIG_PPP=m
# CONFIG_PPP_BSDCOMP is not setCONFIG_PPP_DEFLATE=mCONFIG_PPP_FILTER=yCONFIG_PPP_MPPE=mCONFIG_PPP_MULTILINK=yCONFIG_PPPOATM=mCONFIG_PPPOE=mCONFIG_PPTP=mCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_SLIP=mCONFIG_SLHC=mCONFIG_SLIP_COMPRESSED=y
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
#
# USB Network Adapters
#CONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=mCONFIG_USB_NET_AX8817X=mCONFIG_USB_NET_CDCETHER=mCONFIG_USB_NET_CDC_EEM=mCONFIG_USB_NET_CDC_NCM=mCONFIG_USB_NET_DM9601=mCONFIG_USB_NET_SMSC75XX=mCONFIG_USB_NET_SMSC95XX=mCONFIG_USB_NET_GL620A=mCONFIG_USB_NET_NET1080=mCONFIG_USB_NET_PLUSB=mCONFIG_USB_NET_MCS7830=mCONFIG_USB_NET_RNDIS_HOST=mCONFIG_USB_NET_CDC_SUBSET=mCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=mCONFIG_USB_NET_CX82310_ETH=mCONFIG_USB_NET_KALMIA=mCONFIG_USB_NET_QMI_WWAN=mCONFIG_USB_HSO=mCONFIG_USB_NET_INT51X1=mCONFIG_USB_IPHETH=mCONFIG_USB_SIERRA_NET=mCONFIG_USB_VL600=m
# CONFIG_WLAN is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
# CONFIG_WAN is not set CONFIG_IEEE802154_DRIVERS=m CONFIG_IEEE802154_FAKEHARD=m
# CONFIG_VMXNET3 is not set
# CONFIG_HYPERV_NET is not setCONFIG_ISDN=yCONFIG_ISDN_I4L=mCONFIG_ISDN_PPP=yCONFIG_ISDN_PPP_VJ=yCONFIG_ISDN_MPP=yCONFIG_IPPP_FILTER=yCONFIG_ISDN_PPP_BSDCOMP=mCONFIG_ISDN_AUDIO=yCONFIG_ISDN_TTY_FAX=y
#
# ISDN feature submodules
#CONFIG_ISDN_DIVERSION=m
#
# ISDN4Linux hardware drivers
#
#
# Passive cards
#CONFIG_ISDN_DRV_HISAX=m
#
# D-channel protocol features
#CONFIG_HISAX_EURO=yCONFIG_DE_AOC=y
# CONFIG_HISAX_NO_SENDCOMPLETE is not set
# CONFIG_HISAX_NO_LLC is not set
# CONFIG_HISAX_NO_KEYPAD is not setCONFIG_HISAX_1TR6=yCONFIG_HISAX_NI1=yCONFIG_HISAX_MAX_CARDS=8
#
# HiSax supported cards
#CONFIG_HISAX_16_3=yCONFIG_HISAX_TELESPCI=yCONFIG_HISAX_S0BOX=yCONFIG_HISAX_FRITZPCI=yCONFIG_HISAX_AVM_A1_PCMCIA=yCONFIG_HISAX_ELSA=yCONFIG_HISAX_DIEHLDIVA=yCONFIG_HISAX_SEDLBAUER=yCONFIG_HISAX_NETJET=yCONFIG_HISAX_NETJET_U=yCONFIG_HISAX_NICCY=yCONFIG_HISAX_BKM_A4T=yCONFIG_HISAX_SCT_QUADRO=yCONFIG_HISAX_GAZEL=yCONFIG_HISAX_HFC_PCI=yCONFIG_HISAX_W6692=yCONFIG_HISAX_HFC_SX=yCONFIG_HISAX_ENTERNOW_PCI=y
# CONFIG_HISAX_DEBUG is not set
#
# HiSax PCMCIA card service modules
#
#
# HiSax sub driver modules
#CONFIG_HISAX_ST5481=mCONFIG_HISAX_HFCUSB=mCONFIG_HISAX_HFC4S8S=mCONFIG_HISAX_FRITZ_PCIPNP=m
#
# Active cards
#CONFIG_ISDN_CAPI=mCONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=yCONFIG_CAPI_TRACE=yCONFIG_ISDN_CAPI_MIDDLEWARE=yCONFIG_ISDN_CAPI_CAPI20=mCONFIG_ISDN_CAPI_CAPIDRV=m
#
# CAPI hardware drivers
#CONFIG_CAPI_AVM=yCONFIG_ISDN_DRV_AVMB1_B1PCI=mCONFIG_ISDN_DRV_AVMB1_B1PCIV4=yCONFIG_ISDN_DRV_AVMB1_T1PCI=mCONFIG_ISDN_DRV_AVMB1_C4=mCONFIG_CAPI_EICON=yCONFIG_ISDN_DIVAS=mCONFIG_ISDN_DIVAS_BRIPCI=yCONFIG_ISDN_DIVAS_PRIPCI=yCONFIG_ISDN_DIVAS_DIVACAPI=mCONFIG_ISDN_DIVAS_USERIDI=mCONFIG_ISDN_DIVAS_MAINT=mCONFIG_ISDN_DRV_GIGASET=mCONFIG_GIGASET_CAPI=y
# CONFIG_GIGASET_I4L is not set
# CONFIG_GIGASET_DUMMYLL is not setCONFIG_GIGASET_BASE=mCONFIG_GIGASET_M105=mCONFIG_GIGASET_M101=m
# CONFIG_GIGASET_DEBUG is not setCONFIG_HYSDN=mCONFIG_HYSDN_CAPI=yCONFIG_MISDN=mCONFIG_MISDN_DSP=mCONFIG_MISDN_L1OIP=m
#
# mISDN hardware drivers
#CONFIG_MISDN_HFCPCI=mCONFIG_MISDN_HFCMULTI=mCONFIG_MISDN_HFCUSB=mCONFIG_MISDN_AVMFRITZ=mCONFIG_MISDN_SPEEDFAX=mCONFIG_MISDN_INFINEON=mCONFIG_MISDN_W6692=mCONFIG_MISDN_NETJET=mCONFIG_MISDN_IPAC=mCONFIG_MISDN_ISAR=mCONFIG_ISDN_HDLC=m
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=mCONFIG_INPUT_SPARSEKMAP=mCONFIG_INPUT_MATRIXKMAP=m
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADP5588=mCONFIG_KEYBOARD_ADP5589=mCONFIG_KEYBOARD_ATKBD=yCONFIG_KEYBOARD_QT1070=mCONFIG_KEYBOARD_QT2160=m
# CONFIG_KEYBOARD_LKKBD is not setCONFIG_KEYBOARD_GPIO=mCONFIG_KEYBOARD_GPIO_POLLED=mCONFIG_KEYBOARD_TCA6416=mCONFIG_KEYBOARD_TCA8418=mCONFIG_KEYBOARD_MATRIX=mCONFIG_KEYBOARD_LM8323=m
# CONFIG_KEYBOARD_LM8333 is not setCONFIG_KEYBOARD_MAX7359=mCONFIG_KEYBOARD_MCS=mCONFIG_KEYBOARD_MPR121=mCONFIG_KEYBOARD_NEWTON=mCONFIG_KEYBOARD_OPENCORES=m
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_KEYBOARD_SUNKBD=mCONFIG_KEYBOARD_OMAP4=mCONFIG_KEYBOARD_XTKBD=mCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_SENTELIC=yCONFIG_MOUSE_PS2_TOUCHKIT=yCONFIG_MOUSE_SERIAL=mCONFIG_MOUSE_APPLETOUCH=mCONFIG_MOUSE_BCM5974=mCONFIG_MOUSE_VSXXXAA=mCONFIG_MOUSE_GPIO=mCONFIG_MOUSE_SYNAPTICS_I2C=mCONFIG_MOUSE_SYNAPTICS_USB=mCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=mCONFIG_JOYSTICK_A3D=mCONFIG_JOYSTICK_ADI=mCONFIG_JOYSTICK_COBRA=mCONFIG_JOYSTICK_GF2K=mCONFIG_JOYSTICK_GRIP=mCONFIG_JOYSTICK_GRIP_MP=mCONFIG_JOYSTICK_GUILLEMOT=mCONFIG_JOYSTICK_INTERACT=mCONFIG_JOYSTICK_SIDEWINDER=mCONFIG_JOYSTICK_TMDC=mCONFIG_JOYSTICK_IFORCE=mCONFIG_JOYSTICK_IFORCE_USB=yCONFIG_JOYSTICK_IFORCE_232=yCONFIG_JOYSTICK_WARRIOR=mCONFIG_JOYSTICK_MAGELLAN=mCONFIG_JOYSTICK_SPACEORB=mCONFIG_JOYSTICK_SPACEBALL=mCONFIG_JOYSTICK_STINGER=mCONFIG_JOYSTICK_TWIDJOY=mCONFIG_JOYSTICK_ZHENHUA=mCONFIG_JOYSTICK_AS5011=mCONFIG_JOYSTICK_JOYDUMP=mCONFIG_JOYSTICK_XPAD=mCONFIG_JOYSTICK_XPAD_FF=yCONFIG_JOYSTICK_XPAD_LEDS=yCONFIG_INPUT_TABLET=yCONFIG_TABLET_USB_ACECAD=mCONFIG_TABLET_USB_AIPTEK=mCONFIG_TABLET_USB_GTCO=mCONFIG_TABLET_USB_HANWANG=mCONFIG_TABLET_USB_KBTAB=mCONFIG_TABLET_USB_WACOM=mCONFIG_INPUT_TOUCHSCREEN=yCONFIG_TOUCHSCREEN_ADS7846=mCONFIG_TOUCHSCREEN_AD7877=mCONFIG_TOUCHSCREEN_AD7879=mCONFIG_TOUCHSCREEN_AD7879_I2C=mCONFIG_TOUCHSCREEN_AD7879_SPI=mCONFIG_TOUCHSCREEN_ATMEL_MXT=mCONFIG_TOUCHSCREEN_AUO_PIXCIR=mCONFIG_TOUCHSCREEN_BU21013=mCONFIG_TOUCHSCREEN_CY8CTMG110=mCONFIG_TOUCHSCREEN_CYTTSP_CORE=mCONFIG_TOUCHSCREEN_CYTTSP_I2C=mCONFIG_TOUCHSCREEN_CYTTSP_SPI=mCONFIG_TOUCHSCREEN_DYNAPRO=mCONFIG_TOUCHSCREEN_HAMPSHIRE=mCONFIG_TOUCHSCREEN_EETI=mCONFIG_TOUCHSCREEN_FUJITSU=mCONFIG_TOUCHSCREEN_ILI210X=mCONFIG_TOUCHSCREEN_GUNZE=mCONFIG_TOUCHSCREEN_ELO=mCONFIG_TOUCHSCREEN_WACOM_W8001=m
# CONFIG_TOUCHSCREEN_WACOM_I2C is not setCONFIG_TOUCHSCREEN_MAX11801=mCONFIG_TOUCHSCREEN_MCS5000=m
# CONFIG_TOUCHSCREEN_MMS114 is not setCONFIG_TOUCHSCREEN_MTOUCH=mCONFIG_TOUCHSCREEN_INEXIO=mCONFIG_TOUCHSCREEN_MK712=mCONFIG_TOUCHSCREEN_PENMOUNT=m
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not setCONFIG_TOUCHSCREEN_TOUCHRIGHT=mCONFIG_TOUCHSCREEN_TOUCHWIN=mCONFIG_TOUCHSCREEN_PIXCIR=mCONFIG_TOUCHSCREEN_USB_COMPOSITE=mCONFIG_TOUCHSCREEN_USB_EGALAX=yCONFIG_TOUCHSCREEN_USB_PANJIT=yCONFIG_TOUCHSCREEN_USB_3M=yCONFIG_TOUCHSCREEN_USB_ITM=yCONFIG_TOUCHSCREEN_USB_ETURBO=yCONFIG_TOUCHSCREEN_USB_GUNZE=yCONFIG_TOUCHSCREEN_USB_DMC_TSC10=yCONFIG_TOUCHSCREEN_USB_IRTOUCH=yCONFIG_TOUCHSCREEN_USB_IDEALTEK=yCONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=yCONFIG_TOUCHSCREEN_USB_GOTOP=yCONFIG_TOUCHSCREEN_USB_JASTEC=yCONFIG_TOUCHSCREEN_USB_ELO=yCONFIG_TOUCHSCREEN_USB_E2I=yCONFIG_TOUCHSCREEN_USB_ZYTRONIC=yCONFIG_TOUCHSCREEN_USB_ETT_TC45USB=yCONFIG_TOUCHSCREEN_USB_NEXIO=yCONFIG_TOUCHSCREEN_USB_EASYTOUCH=yCONFIG_TOUCHSCREEN_TOUCHIT213=mCONFIG_TOUCHSCREEN_TSC_SERIO=mCONFIG_TOUCHSCREEN_TSC2005=mCONFIG_TOUCHSCREEN_TSC2007=mCONFIG_TOUCHSCREEN_PCAP=mCONFIG_TOUCHSCREEN_ST1232=mCONFIG_TOUCHSCREEN_TPS6507X=mCONFIG_INPUT_MISC=yCONFIG_INPUT_AD714X=mCONFIG_INPUT_AD714X_I2C=mCONFIG_INPUT_AD714X_SPI=mCONFIG_INPUT_BMA150=mCONFIG_INPUT_PCSPKR=mCONFIG_INPUT_MMA8450=mCONFIG_INPUT_MPU3050=mCONFIG_INPUT_APANEL=mCONFIG_INPUT_GP2A=mCONFIG_INPUT_GPIO_TILT_POLLED=mCONFIG_INPUT_ATLAS_BTNS=mCONFIG_INPUT_ATI_REMOTE2=mCONFIG_INPUT_KEYSPAN_REMOTE=mCONFIG_INPUT_KXTJ9=m
# CONFIG_INPUT_KXTJ9_POLLED_MODE is not setCONFIG_INPUT_POWERMATE=mCONFIG_INPUT_YEALINK=mCONFIG_INPUT_CM109=mCONFIG_INPUT_UINPUT=mCONFIG_INPUT_PCF8574=mCONFIG_INPUT_GPIO_ROTARY_ENCODER=mCONFIG_INPUT_PCAP=mCONFIG_INPUT_ADXL34X=mCONFIG_INPUT_ADXL34X_I2C=mCONFIG_INPUT_ADXL34X_SPI=mCONFIG_INPUT_CMA3000=mCONFIG_INPUT_CMA3000_I2C=m
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=mCONFIG_SERIO_CT82C710=mCONFIG_SERIO_PCIPS2=mCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=mCONFIG_SERIO_ALTERA_PS2=mCONFIG_SERIO_PS2MULT=mCONFIG_GAMEPORT=mCONFIG_GAMEPORT_NS558=mCONFIG_GAMEPORT_L4=mCONFIG_GAMEPORT_EMU10K1=mCONFIG_GAMEPORT_FM801=m
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_VT_CONSOLE_SLEEP=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_UNIX98_PTYS=yCONFIG_DEVPTS_MULTIPLE_INSTANCES=yCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=0CONFIG_SERIAL_NONSTANDARD=yCONFIG_ROCKETPORT=mCONFIG_CYCLADES=m
# CONFIG_CYZ_INTR is not setCONFIG_MOXA_INTELLIO=mCONFIG_MOXA_SMARTIO=mCONFIG_SYNCLINK=mCONFIG_SYNCLINKMP=mCONFIG_SYNCLINK_GT=mCONFIG_NOZOMI=mCONFIG_ISI=mCONFIG_N_HDLC=mCONFIG_N_GSM=mCONFIG_TRACE_ROUTER=mCONFIG_TRACE_SINK=mCONFIG_DEVKMEM=yCONFIG_STALDRV=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=yCONFIG_SERIAL_8250_NR_UARTS=16CONFIG_SERIAL_8250_RUNTIME_UARTS=8
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_KGDB_NMI is not set
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
# CONFIG_SERIAL_MRST_MAX3110 is not set
# CONFIG_SERIAL_MFD_HSU is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_CONSOLE_POLL=yCONFIG_SERIAL_JSM=m
# CONFIG_SERIAL_SCCNXP is not setCONFIG_SERIAL_TIMBERDALE=mCONFIG_SERIAL_ALTERA_JTAGUART=mCONFIG_SERIAL_ALTERA_UART=mCONFIG_SERIAL_ALTERA_UART_MAXPORTS=4CONFIG_SERIAL_ALTERA_UART_BAUDRATE=115200CONFIG_SERIAL_IFX6X60=mCONFIG_SERIAL_PCH_UART=mCONFIG_SERIAL_XILINX_PS_UART=mCONFIG_HVC_DRIVER=yCONFIG_VIRTIO_CONSOLE=mCONFIG_IPMI_HANDLER=mCONFIG_IPMI_PANIC_EVENT=y
# CONFIG_IPMI_PANIC_STRING is not setCONFIG_IPMI_DEVICE_INTERFACE=mCONFIG_IPMI_SI=m
# CONFIG_IPMI_WATCHDOG is not setCONFIG_IPMI_POWEROFF=mCONFIG_HW_RANDOM=yCONFIG_HW_RANDOM_TIMERIOMEM=mCONFIG_HW_RANDOM_INTEL=mCONFIG_HW_RANDOM_AMD=mCONFIG_HW_RANDOM_VIA=mCONFIG_HW_RANDOM_VIRTIO=mCONFIG_HW_RANDOM_TPM=mCONFIG_NVRAM=yCONFIG_R3964=mCONFIG_APPLICOM=mCONFIG_MWAVE=mCONFIG_RAW_DRIVER=mCONFIG_MAX_RAW_DEVS=4096CONFIG_HPET=yCONFIG_HPET_MMAP=yCONFIG_HANGCHECK_TIMER=mCONFIG_UV_MMTIMER=mCONFIG_TCG_TPM=mCONFIG_TCG_TIS=m
# CONFIG_TCG_TIS_I2C_INFINEON is not setCONFIG_TCG_NSC=mCONFIG_TCG_ATMEL=mCONFIG_TCG_INFINEON=mCONFIG_TELCLOCK=mCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=mCONFIG_I2C_MUX=m
#
# Multiplexer I2C Chip support
#CONFIG_I2C_MUX_GPIO=mCONFIG_I2C_MUX_PCA9541=m
CONFIG_I2C_MUX_PCA954x=mCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_SMBUS=mCONFIG_I2C_ALGOBIT=mCONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#CONFIG_I2C_ALI1535=mCONFIG_I2C_ALI1563=mCONFIG_I2C_ALI15X3=mCONFIG_I2C_AMD756=mCONFIG_I2C_AMD756_S4882=mCONFIG_I2C_AMD8111=mCONFIG_I2C_I801=mCONFIG_I2C_ISCH=mCONFIG_I2C_PIIX4=mCONFIG_I2C_NFORCE2=mCONFIG_I2C_NFORCE2_S4985=mCONFIG_I2C_SIS5595=mCONFIG_I2C_SIS630=mCONFIG_I2C_SIS96X=mCONFIG_I2C_VIA=mCONFIG_I2C_VIAPRO=m
#
# ACPI drivers
#CONFIG_I2C_SCMI=m
#
# I2C system bus drivers (mostly embedded / system-on-chip) #CONFIG_I2C_DESIGNWARE_CORE=m CONFIG_I2C_DESIGNWARE_PCI=mCONFIG_I2C_EG20T=mCONFIG_I2C_GPIO=m
# CONFIG_I2C_INTEL_MID is not set CONFIG_I2C_OCORES=mCONFIG_I2C_PCA_PLATFORM=m
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set
#
# External I2C/SMBus adapter drivers
#CONFIG_I2C_DIOLAN_U2C=mCONFIG_I2C_PARPORT_LIGHT=mCONFIG_I2C_TAOS_EVM=mCONFIG_I2C_TINY_USB=m
#
# Other I2C/SMBus bus drivers
#CONFIG_I2C_STUB=m
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not setCONFIG_SPI=y
# CONFIG_SPI_DEBUG is not setCONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#CONFIG_SPI_ALTERA=mCONFIG_SPI_BITBANG=mCONFIG_SPI_GPIO=mCONFIG_SPI_OC_TINY=m
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not setCONFIG_SPI_TOPCLIFF_PCH=m
# CONFIG_SPI_XCOMM is not setCONFIG_SPI_XILINX=mCONFIG_SPI_DESIGNWARE=yCONFIG_SPI_DW_PCI=m
# CONFIG_SPI_DW_MID_DMA is not set
#
# SPI Protocol Masters
#CONFIG_SPI_SPIDEV=mCONFIG_SPI_TLE62X0=m
# CONFIG_HSI is not set
#
# PPS support
#
# CONFIG_PPS is not set
#
# PPS generators support
#
#
# PTP clock support
#
#
# Enable Device Drivers -> PPS to see the PTP clock options. #CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not setCONFIG_GPIO_SYSFS=yCONFIG_GPIO_GENERIC=mCONFIG_GPIO_MAX730X=m
#
# Memory mapped GPIO drivers:
#CONFIG_GPIO_GENERIC_PLATFORM=mCONFIG_GPIO_IT8761E=m
# CONFIG_GPIO_SCH is not set
# CONFIG_GPIO_ICH is not setCONFIG_GPIO_VX855=m
#
# I2C GPIO expanders:
#CONFIG_GPIO_MAX7300=mCONFIG_GPIO_MAX732X=mCONFIG_GPIO_PCA953X=mCONFIG_GPIO_PCF857X=m
# CONFIG_GPIO_SX150X is not setCONFIG_GPIO_ADP5588=m
#
# PCI GPIO expanders:
#
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_AMD8111 is not set
# CONFIG_GPIO_LANGWELL is not set
# CONFIG_GPIO_PCH is not setCONFIG_GPIO_ML_IOH=m
# CONFIG_GPIO_RDC321X is not set
#
# SPI GPIO expanders:
#CONFIG_GPIO_MAX7301=mCONFIG_GPIO_MCP23S08=mCONFIG_GPIO_MC33880=mCONFIG_GPIO_74X164=m
#
# AC97 GPIO expanders:
#
#
# MODULbus GPIO expanders:
#CONFIG_W1=mCONFIG_W1_CON=y
#
# 1-wire Bus Masters
#CONFIG_W1_MASTER_MATROX=mCONFIG_W1_MASTER_DS2490=mCONFIG_W1_MASTER_DS2482=mCONFIG_W1_MASTER_DS1WM=mCONFIG_W1_MASTER_GPIO=m
# CONFIG_HDQ_MASTER_OMAP is not set
#
# 1-wire Slaves
#CONFIG_W1_SLAVE_THERM=mCONFIG_W1_SLAVE_SMEM=mCONFIG_W1_SLAVE_DS2408=mCONFIG_W1_SLAVE_DS2423=mCONFIG_W1_SLAVE_DS2431=mCONFIG_W1_SLAVE_DS2433=mCONFIG_W1_SLAVE_DS2433_CRC=yCONFIG_W1_SLAVE_DS2760=mCONFIG_W1_SLAVE_DS2780=mCONFIG_W1_SLAVE_DS2781=m
# CONFIG_W1_SLAVE_DS28E04 is not setCONFIG_W1_SLAVE_BQ27000=mCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not setCONFIG_PDA_POWER=m
# CONFIG_TEST_POWER is not setCONFIG_BATTERY_DS2760=mCONFIG_BATTERY_DS2780=mCONFIG_BATTERY_DS2781=mCONFIG_BATTERY_DS2782=mCONFIG_BATTERY_SBS=m
CONFIG_BATTERY_BQ27x00=mCONFIG_BATTERY_BQ27X00_I2C=yCONFIG_BATTERY_BQ27X00_PLATFORM=yCONFIG_BATTERY_MAX17040=mCONFIG_BATTERY_MAX17042=mCONFIG_CHARGER_MAX8903=mCONFIG_CHARGER_LP8727=mCONFIG_CHARGER_GPIO=mCONFIG_CHARGER_SMB347=m
# CONFIG_POWER_AVS is not setCONFIG_HWMON=yCONFIG_HWMON_VID=m
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#CONFIG_SENSORS_ABITUGURU=mCONFIG_SENSORS_ABITUGURU3=mCONFIG_SENSORS_AD7314=mCONFIG_SENSORS_AD7414=mCONFIG_SENSORS_AD7418=mCONFIG_SENSORS_ADCXX=mCONFIG_SENSORS_ADM1021=mCONFIG_SENSORS_ADM1025=mCONFIG_SENSORS_ADM1026=mCONFIG_SENSORS_ADM1029=mCONFIG_SENSORS_ADM1031=mCONFIG_SENSORS_ADM9240=m
# CONFIG_SENSORS_ADT7410 is not setCONFIG_SENSORS_ADT7411=mCONFIG_SENSORS_ADT7462=mCONFIG_SENSORS_ADT7470=mCONFIG_SENSORS_ADT7475=mCONFIG_SENSORS_ASC7621=mCONFIG_SENSORS_K8TEMP=mCONFIG_SENSORS_K10TEMP=mCONFIG_SENSORS_FAM15H_POWER=mCONFIG_SENSORS_ASB100=mCONFIG_SENSORS_ATXP1=mCONFIG_SENSORS_DS620=mCONFIG_SENSORS_DS1621=mCONFIG_SENSORS_I5K_AMB=mCONFIG_SENSORS_F71805F=mCONFIG_SENSORS_F71882FG=mCONFIG_SENSORS_F75375S=mCONFIG_SENSORS_FSCHMD=mCONFIG_SENSORS_G760A=mCONFIG_SENSORS_GL518SM=mCONFIG_SENSORS_GL520SM=mCONFIG_SENSORS_GPIO_FAN=m
# CONFIG_SENSORS_HIH6130 is not setCONFIG_SENSORS_CORETEMP=mCONFIG_SENSORS_IBMAEM=mCONFIG_SENSORS_IBMPEX=mCONFIG_SENSORS_IT87=mCONFIG_SENSORS_JC42=mCONFIG_SENSORS_LINEAGE=mCONFIG_SENSORS_LM63=mCONFIG_SENSORS_LM70=mCONFIG_SENSORS_LM73=mCONFIG_SENSORS_LM75=mCONFIG_SENSORS_LM77=mCONFIG_SENSORS_LM78=mCONFIG_SENSORS_LM80=mCONFIG_SENSORS_LM83=mCONFIG_SENSORS_LM85=mCONFIG_SENSORS_LM87=mCONFIG_SENSORS_LM90=mCONFIG_SENSORS_LM92=mCONFIG_SENSORS_LM93=mCONFIG_SENSORS_LTC4151=mCONFIG_SENSORS_LTC4215=mCONFIG_SENSORS_LTC4245=mCONFIG_SENSORS_LTC4261=mCONFIG_SENSORS_LM95241=mCONFIG_SENSORS_LM95245=mCONFIG_SENSORS_MAX1111=mCONFIG_SENSORS_MAX16065=mCONFIG_SENSORS_MAX1619=mCONFIG_SENSORS_MAX1668=m
# CONFIG_SENSORS_MAX197 is not setCONFIG_SENSORS_MAX6639=mCONFIG_SENSORS_MAX6642=mCONFIG_SENSORS_MAX6650=mCONFIG_SENSORS_MCP3021=mCONFIG_SENSORS_NTC_THERMISTOR=mCONFIG_SENSORS_PC87360=mCONFIG_SENSORS_PC87427=mCONFIG_SENSORS_PCF8591=mCONFIG_PMBUS=mCONFIG_SENSORS_PMBUS=mCONFIG_SENSORS_ADM1275=mCONFIG_SENSORS_LM25066=mCONFIG_SENSORS_LTC2978=mCONFIG_SENSORS_MAX16064=mCONFIG_SENSORS_MAX34440=mCONFIG_SENSORS_MAX8688=mCONFIG_SENSORS_UCD9000=mCONFIG_SENSORS_UCD9200=mCONFIG_SENSORS_ZL6100=mCONFIG_SENSORS_SHT15=mCONFIG_SENSORS_SHT21=mCONFIG_SENSORS_SIS5595=mCONFIG_SENSORS_SMM665=mCONFIG_SENSORS_DME1737=mCONFIG_SENSORS_EMC1403=mCONFIG_SENSORS_EMC2103=mCONFIG_SENSORS_EMC6W201=mCONFIG_SENSORS_SMSC47M1=mCONFIG_SENSORS_SMSC47M192=mCONFIG_SENSORS_SMSC47B397=m
# CONFIG_SENSORS_SCH56XX_COMMON is not setCONFIG_SENSORS_ADS1015=mCONFIG_SENSORS_ADS7828=mCONFIG_SENSORS_ADS7871=mCONFIG_SENSORS_AMC6821=m
# CONFIG_SENSORS_INA2XX is not setCONFIG_SENSORS_THMC50=mCONFIG_SENSORS_TMP102=mCONFIG_SENSORS_TMP401=mCONFIG_SENSORS_TMP421=mCONFIG_SENSORS_VIA_CPUTEMP=mCONFIG_SENSORS_VIA686A=mCONFIG_SENSORS_VT1211=mCONFIG_SENSORS_VT8231=mCONFIG_SENSORS_W83781D=mCONFIG_SENSORS_W83791D=mCONFIG_SENSORS_W83792D=mCONFIG_SENSORS_W83793=mCONFIG_SENSORS_W83795=m
# CONFIG_SENSORS_W83795_FANCTRL is not setCONFIG_SENSORS_W83L785TS=mCONFIG_SENSORS_W83L786NG=mCONFIG_SENSORS_W83627HF=mCONFIG_SENSORS_W83627EHF=mCONFIG_SENSORS_APPLESMC=m
#
# ACPI drivers
#CONFIG_SENSORS_ACPI_POWER=mCONFIG_SENSORS_ATK0110=mCONFIG_THERMAL=mCONFIG_THERMAL_HWMON=y
# CONFIG_CPU_THERMAL is not set
# CONFIG_WATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#CONFIG_SSB=mCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=y
# CONFIG_SSB_B43_PCI_BRIDGE is not set
# CONFIG_SSB_DEBUG is not setCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=yCONFIG_BCMA_POSSIBLE=y
#
# Broadcom specific AMBA
#CONFIG_BCMA=mCONFIG_BCMA_HOST_PCI_POSSIBLE=yCONFIG_BCMA_HOST_PCI=y
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set
# CONFIG_BCMA_DEBUG is not set
#
# Multifunction device drivers
#CONFIG_MFD_CORE=m
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_ABX500_CORE is not setCONFIG_EZX_PCAP=y
# CONFIG_MFD_CS5535 is not set
# CONFIG_MFD_TIMBERDALE is not setCONFIG_LPC_SCH=mCONFIG_LPC_ICH=m
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_JANZ_CMODIO is not setCONFIG_MFD_VX855=m
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_SIS=yCONFIG_AGP_VIA=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16CONFIG_VGA_SWITCHEROO=yCONFIG_DRM=mCONFIG_DRM_USB=mCONFIG_DRM_KMS_HELPER=mCONFIG_DRM_LOAD_EDID_FIRMWARE=yCONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=mCONFIG_DRM_RADEON_KMS=yCONFIG_DRM_NOUVEAU=mCONFIG_NOUVEAU_DEBUG=5CONFIG_NOUVEAU_DEBUG_DEFAULT=3CONFIG_DRM_NOUVEAU_BACKLIGHT=y
#
# I2C encoder or helper chips
#CONFIG_DRM_I2C_CH7006=mCONFIG_DRM_I2C_SIL164=mCONFIG_DRM_I915=mCONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not setCONFIG_DRM_VMWGFX=m
# CONFIG_DRM_VMWGFX_FBCON is not setCONFIG_DRM_GMA500=m
# CONFIG_DRM_GMA600 is not setCONFIG_DRM_GMA3600=yCONFIG_DRM_UDL=m
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_STUB_POULSBO is not setCONFIG_VGASTATE=mCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=mCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not setCONFIG_FB_SYS_FILLRECT=mCONFIG_FB_SYS_COPYAREA=mCONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not setCONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not setCONFIG_FB_VGA16=mCONFIG_FB_UVESA=mCONFIG_FB_VESA=yCONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not setCONFIG_FB_NVIDIA=mCONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not setCONFIG_FB_NVIDIA_BACKLIGHT=yCONFIG_FB_RIVA=mCONFIG_FB_RIVA_I2C=y
# CONFIG_FB_RIVA_DEBUG is not setCONFIG_FB_RIVA_BACKLIGHT=yCONFIG_FB_I740=m
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not setCONFIG_FB_RADEON=mCONFIG_FB_RADEON_I2C=yCONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_EXYNOS_VIDEO is not setCONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not setCONFIG_BACKLIGHT_CLASS_DEVICE=y
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3630 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LP855X is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_LOGO is not set
# CONFIG_SOUND is not set
#
# HID support
#CONFIG_HID=y
# CONFIG_HID_BATTERY_STRENGTH is not set
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not setCONFIG_HID_GENERIC=y
#
# Special HID drivers
#CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX is not setCONFIG_HID_APPLE=y
# CONFIG_HID_AUREAL is not setCONFIG_HID_BELKIN=yCONFIG_HID_CHERRY=yCONFIG_HID_CHICONY=yCONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not setCONFIG_HID_EZKEY=y
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_TWINHAN is not setCONFIG_HID_KENSINGTON=y
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not setCONFIG_HID_LOGITECH=y
# CONFIG_HID_LOGITECH_DJ is not set
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not setCONFIG_HID_MICROSOFT=yCONFIG_HID_MONTEREY=y
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_HYPERV_MOUSE is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
#
# USB HID support
#CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not setCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB_ARCH_HAS_XHCI=yCONFIG_USB_SUPPORT=yCONFIG_USB_COMMON=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB=y
# CONFIG_USB_DEBUG is not setCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not setCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_BCMA is not set
# CONFIG_USB_HCD_SSB is not set
# CONFIG_USB_CHIPIDEA is not set
#
# USB Device Class drivers
#CONFIG_USB_ACM=m
# CONFIG_USB_PRINTER is not setCONFIG_USB_WDM=m
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_REALTEK is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_STORAGE_ENE_UB6250 is not set # CONFIG_USB_UAS is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
#
# USB Physical Layer drivers
#
# CONFIG_OMAP_USB2 is not set
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_ATM is not set
# CONFIG_USB_GADGET is not set
#
# OTG and related infrastructure
#
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#CONFIG_LEDS_LM3530=m
# CONFIG_LEDS_LM3642 is not setCONFIG_LEDS_PCA9532=mCONFIG_LEDS_PCA9532_GPIO=yCONFIG_LEDS_GPIO=mCONFIG_LEDS_LP3944=mCONFIG_LEDS_LP5521=mCONFIG_LEDS_LP5523=mCONFIG_LEDS_CLEVO_MAIL=mCONFIG_LEDS_PCA955X=mCONFIG_LEDS_PCA9633=mCONFIG_LEDS_DAC124S085=mCONFIG_LEDS_BD2802=mCONFIG_LEDS_INTEL_SS4200=mCONFIG_LEDS_LT3593=mCONFIG_LEDS_DELL_NETBOOKS=mCONFIG_LEDS_TCA6507=m
# CONFIG_LEDS_LM355x is not setCONFIG_LEDS_OT200=m
# CONFIG_LEDS_BLINKM is not setCONFIG_LEDS_TRIGGERS=y
#
# LED Triggers
#CONFIG_LEDS_TRIGGER_TIMER=m
# CONFIG_LEDS_TRIGGER_ONESHOT is not setCONFIG_LEDS_TRIGGER_HEARTBEAT=mCONFIG_LEDS_TRIGGER_BACKLIGHT=m
# CONFIG_LEDS_TRIGGER_CPU is not setCONFIG_LEDS_TRIGGER_GPIO=mCONFIG_LEDS_TRIGGER_DEFAULT_ON=m
#
# iptables trigger is under Netfilter config (LED target) # # CONFIG_LEDS_TRIGGER_TRANSIENT is not set # CONFIG_ACCESSIBILITY is not set # CONFIG_INFINIBAND is not set CONFIG_EDAC=y
#
# Reporting subsystems
#CONFIG_EDAC_LEGACY_SYSFS=y
# CONFIG_EDAC_DEBUG is not setCONFIG_EDAC_DECODE_MCE=mCONFIG_EDAC_MCE_INJ=mCONFIG_EDAC_MM_EDAC=mCONFIG_EDAC_AMD64=mCONFIG_EDAC_AMD64_ERROR_INJECTION=yCONFIG_EDAC_E752X=mCONFIG_EDAC_I82975X=mCONFIG_EDAC_I3000=mCONFIG_EDAC_I3200=mCONFIG_EDAC_X38=mCONFIG_EDAC_I5400=mCONFIG_EDAC_I7CORE=mCONFIG_EDAC_I5000=mCONFIG_EDAC_I5100=mCONFIG_EDAC_I7300=mCONFIG_EDAC_SBRIDGE=mCONFIG_RTC_LIB=yCONFIG_RTC_CLASS=yCONFIG_RTC_HCTOSYS=yCONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
#
# I2C RTC drivers
#CONFIG_RTC_DRV_DS1307=mCONFIG_RTC_DRV_DS1374=mCONFIG_RTC_DRV_DS1672=mCONFIG_RTC_DRV_DS3232=mCONFIG_RTC_DRV_MAX6900=mCONFIG_RTC_DRV_RS5C372=mCONFIG_RTC_DRV_ISL1208=mCONFIG_RTC_DRV_ISL12022=mCONFIG_RTC_DRV_X1205=mCONFIG_RTC_DRV_PCF8563=mCONFIG_RTC_DRV_PCF8583=mCONFIG_RTC_DRV_M41T80=mCONFIG_RTC_DRV_M41T80_WDT=yCONFIG_RTC_DRV_BQ32K=mCONFIG_RTC_DRV_S35390A=mCONFIG_RTC_DRV_FM3130=mCONFIG_RTC_DRV_RX8581=mCONFIG_RTC_DRV_RX8025=mCONFIG_RTC_DRV_EM3027=mCONFIG_RTC_DRV_RV3029C2=m
#
# SPI RTC drivers
#CONFIG_RTC_DRV_M41T93=mCONFIG_RTC_DRV_M41T94=mCONFIG_RTC_DRV_DS1305=mCONFIG_RTC_DRV_DS1390=mCONFIG_RTC_DRV_MAX6902=mCONFIG_RTC_DRV_R9701=mCONFIG_RTC_DRV_RS5C348=mCONFIG_RTC_DRV_DS3234=mCONFIG_RTC_DRV_PCF2123=m
#
# Platform RTC drivers
#CONFIG_RTC_DRV_CMOS=yCONFIG_RTC_DRV_DS1286=mCONFIG_RTC_DRV_DS1511=mCONFIG_RTC_DRV_DS1553=mCONFIG_RTC_DRV_DS1742=mCONFIG_RTC_DRV_STK17TA8=mCONFIG_RTC_DRV_M48T86=mCONFIG_RTC_DRV_M48T35=mCONFIG_RTC_DRV_M48T59=mCONFIG_RTC_DRV_MSM6242=mCONFIG_RTC_DRV_BQ4802=mCONFIG_RTC_DRV_RP5C01=mCONFIG_RTC_DRV_V3020=m
# CONFIG_RTC_DRV_DS2404 is not set
#
# on-CPU RTC drivers
#CONFIG_RTC_DRV_PCAP=mCONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set
#
# DMA Devices
#CONFIG_INTEL_MID_DMAC=mCONFIG_INTEL_IOATDMA=mCONFIG_TIMB_DMA=mCONFIG_PCH_DMA=mCONFIG_DMA_ENGINE=y
#
# DMA Clients
#CONFIG_NET_DMA=yCONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not setCONFIG_DCA=mCONFIG_AUXDISPLAY=yCONFIG_UIO=mCONFIG_UIO_CIF=mCONFIG_UIO_PDRV=mCONFIG_UIO_PDRV_GENIRQ=mCONFIG_UIO_AEC=mCONFIG_UIO_SERCOS3=mCONFIG_UIO_PCI_GENERIC=mCONFIG_UIO_NETX=m
# CONFIG_VFIO is not setCONFIG_VIRTIO=m
#
# Virtio drivers
#CONFIG_VIRTIO_PCI=mCONFIG_VIRTIO_BALLOON=mCONFIG_VIRTIO_MMIO=m
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set
#
# Microsoft Hyper-V guest support
#CONFIG_HYPERV=mCONFIG_HYPERV_UTILS=m
# CONFIG_STAGING is not setCONFIG_X86_PLATFORM_DEVICES=yCONFIG_ACER_WMI=mCONFIG_ACERHDF=mCONFIG_ASUS_LAPTOP=mCONFIG_DELL_LAPTOP=mCONFIG_DELL_WMI=mCONFIG_DELL_WMI_AIO=mCONFIG_FUJITSU_LAPTOP=m
# CONFIG_FUJITSU_LAPTOP_DEBUG is not setCONFIG_FUJITSU_TABLET=mCONFIG_AMILO_RFKILL=mCONFIG_HP_ACCEL=mCONFIG_HP_WMI=mCONFIG_MSI_LAPTOP=mCONFIG_PANASONIC_LAPTOP=mCONFIG_COMPAL_LAPTOP=mCONFIG_SONY_LAPTOP=mCONFIG_SONYPI_COMPAT=yCONFIG_IDEAPAD_LAPTOP=mCONFIG_THINKPAD_ACPI=m
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not setCONFIG_THINKPAD_ACPI_VIDEO=yCONFIG_THINKPAD_ACPI_HOTKEY_POLL=yCONFIG_SENSORS_HDAPS=mCONFIG_INTEL_MENLOW=mCONFIG_EEEPC_LAPTOP=mCONFIG_ASUS_WMI=mCONFIG_ASUS_NB_WMI=mCONFIG_EEEPC_WMI=mCONFIG_ACPI_WMI=mCONFIG_MSI_WMI=mCONFIG_TOPSTAR_LAPTOP=mCONFIG_ACPI_TOSHIBA=mCONFIG_TOSHIBA_BT_RFKILL=mCONFIG_ACPI_CMPC=mCONFIG_INTEL_IPS=mCONFIG_IBM_RTL=mCONFIG_XO15_EBOOK=mCONFIG_SAMSUNG_LAPTOP=mCONFIG_MXM_WMI=mCONFIG_INTEL_OAKTRAIL=mCONFIG_SAMSUNG_Q10=mCONFIG_APPLE_GMUX=m
#
# Hardware Spinlock drivers
#CONFIG_CLKEVT_I8253=yCONFIG_I8253_LOCK=yCONFIG_CLKBLD_I8253=yCONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=yCONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not setCONFIG_AMD_IOMMU_V2=mCONFIG_DMAR_TABLE=yCONFIG_INTEL_IOMMU=y
# CONFIG_INTEL_IOMMU_DEFAULT_ON is not setCONFIG_INTEL_IOMMU_FLOPPY_WA=yCONFIG_IRQ_REMAP=y
#
# Remoteproc drivers (EXPERIMENTAL)
#
# CONFIG_STE_MODEM_RPROC is not set
#
# Rpmsg drivers (EXPERIMENTAL)
#CONFIG_VIRT_DRIVERS=y
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
#
# Firmware Drivers
#CONFIG_EDD=m
# CONFIG_EDD_OFF is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_EFI_VARS=yCONFIG_DELL_RBU=mCONFIG_DCDBAS=mCONFIG_DMIID=yCONFIG_DMI_SYSFS=mCONFIG_ISCSI_IBFT_FIND=yCONFIG_ISCSI_IBFT=m
# CONFIG_GOOGLE_FIRMWARE is not set
#
# File systems
#CONFIG_DCACHE_WORD_ACCESS=y
# CONFIG_EXT2_FS is not setCONFIG_EXT3_FS=yCONFIG_EXT3_DEFAULTS_TO_ORDERED=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not setCONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not setCONFIG_XFS_FS=mCONFIG_XFS_QUOTA=yCONFIG_XFS_POSIX_ACL=yCONFIG_XFS_RT=y
# CONFIG_XFS_DEBUG is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not setCONFIG_BTRFS_FS=mCONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_NILFS2_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_EXPORTFS=yCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_FANOTIFY=yCONFIG_FANOTIFY_ACCESS_PERMISSIONS=yCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=yCONFIG_PRINT_QUOTA_WARNING=y
# CONFIG_QUOTA_DEBUG is not setCONFIG_QUOTA_TREE=mCONFIG_QFMT_V1=mCONFIG_QFMT_V2=mCONFIG_QUOTACTL=yCONFIG_QUOTACTL_COMPAT=yCONFIG_AUTOFS4_FS=mCONFIG_FUSE_FS=mCONFIG_CUSE=mCONFIG_GENERIC_ACL=y
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_VMCORE=yCONFIG_PROC_SYSCTL=y CONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_TMPFS_XATTR=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=m CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not setCONFIG_CRAMFS=mCONFIG_SQUASHFS=mCONFIG_SQUASHFS_XATTR=y CONFIG_SQUASHFS_ZLIB=yCONFIG_SQUASHFS_LZO=yCONFIG_SQUASHFS_XZ=y
# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
# CONFIG_SQUASHFS_EMBEDDED is not set CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_PSTORE=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_FTRACE is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_EXOFS_FS is not setCONFIG_ORE=mCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V2=mCONFIG_NFS_V3=mCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=m
# CONFIG_NFS_SWAP is not set CONFIG_NFS_V4_1=yCONFIG_PNFS_FILE_LAYOUT=mCONFIG_PNFS_BLOCK=mCONFIG_PNFS_OBJLAYOUT=m CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN="kernel.org" # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=y CONFIG_NFS_DEBUG=y
# CONFIG_NFSD is not setCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_NFS_ACL_SUPPORT=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_BACKCHANNEL=y
# CONFIG_RPCSEC_GSS_KRB5 is not set CONFIG_SUNRPC_DEBUG=y
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="utf8" CONFIG_NLS_CODEPAGE_437=m CONFIG_NLS_CODEPAGE_737=m CONFIG_NLS_CODEPAGE_775=m CONFIG_NLS_CODEPAGE_850=m CONFIG_NLS_CODEPAGE_852=m CONFIG_NLS_CODEPAGE_855=m CONFIG_NLS_CODEPAGE_857=m CONFIG_NLS_CODEPAGE_860=m CONFIG_NLS_CODEPAGE_861=m CONFIG_NLS_CODEPAGE_862=m CONFIG_NLS_CODEPAGE_863=m CONFIG_NLS_CODEPAGE_864=m CONFIG_NLS_CODEPAGE_865=m CONFIG_NLS_CODEPAGE_866=m CONFIG_NLS_CODEPAGE_869=m CONFIG_NLS_CODEPAGE_936=m CONFIG_NLS_CODEPAGE_950=m CONFIG_NLS_CODEPAGE_932=m CONFIG_NLS_CODEPAGE_949=m CONFIG_NLS_CODEPAGE_874=m CONFIG_NLS_ISO8859_8=m CONFIG_NLS_CODEPAGE_1250=m CONFIG_NLS_CODEPAGE_1251=mCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=mCONFIG_NLS_ISO8859_3=mCONFIG_NLS_ISO8859_4=mCONFIG_NLS_ISO8859_5=mCONFIG_NLS_ISO8859_6=mCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=m CONFIG_NLS_ISO8859_13=m CONFIG_NLS_ISO8859_14=m CONFIG_NLS_ISO8859_15=mCONFIG_NLS_KOI8_R=mCONFIG_NLS_KOI8_U=m
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set CONFIG_NLS_UTF8=mCONFIG_DLM=mCONFIG_DLM_DEBUG=y
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_DEFAULT_MESSAGE_LOGLEVEL=4CONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not setCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=yCONFIG_HEADERS_CHECK=yCONFIG_DEBUG_SECTION_MISMATCH=yCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not setCONFIG_LOCKUP_DETECTOR=yCONFIG_HARDLOCKUP_DETECTOR=yCONFIG_BOOTPARAM_HARDLOCKUP_PANIC=yCONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=1
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not setCONFIG_PANIC_ON_OOPS_VALUE=0CONFIG_DETECT_HUNG_TASK=yCONFIG_DEFAULT_HUNG_TASK_TIMEOUT=480
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not setCONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_PROVE_RCU_DELAY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not setCONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_RCU_CPU_STALL_TIMEOUT=60CONFIG_RCU_CPU_STALL_VERBOSE=y
# CONFIG_RCU_CPU_STALL_INFO is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not setCONFIG_DEBUG_FORCE_WEAK_PER_CPU=y
# CONFIG_DEBUG_PER_CPU_MAPS is not setCONFIG_LKDTM=m
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not setCONFIG_LATENCYTOP=y
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_FENTRY=yCONFIG_HAVE_C_RECORDMCOUNT=yCONFIG_TRACE_CLOCK=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_EVENT_POWER_TRACING_DEPRECATED=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=yCONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not setCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not setCONFIG_STACK_TRACER=yCONFIG_BLK_DEV_IO_TRACE=yCONFIG_KPROBE_EVENT=y
# CONFIG_UPROBE_EVENT is not setCONFIG_PROBE_EVENTS=yCONFIG_DYNAMIC_FTRACE=y
# CONFIG_FUNCTION_PROFILER is not setCONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not setCONFIG_RING_BUFFER_BENCHMARK=m
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not setCONFIG_PROVIDE_OHCI1394_DMA_INIT=yCONFIG_FIREWIRE_OHCI_REMOTE_DMA=yCONFIG_BUILD_DOCSRC=yCONFIG_DYNAMIC_DEBUG=y
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not setCONFIG_ASYNC_RAID6_TEST=m
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=yCONFIG_KGDB=yCONFIG_KGDB_SERIAL_CONSOLE=m
# CONFIG_KGDB_TESTS is not setCONFIG_KGDB_LOW_LEVEL_TRAP=yCONFIG_KGDB_KDB=yCONFIG_KDB_KEYBOARD=yCONFIG_HAVE_ARCH_KMEMCHECK=y
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_X86_VERBOSE_BOOTUP is not setCONFIG_EARLY_PRINTK=yCONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not setCONFIG_DEBUG_SET_MODULE_RONX=y
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_IOMMU_DEBUG is not set
# CONFIG_IOMMU_STRESS is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=y
# CONFIG_X86_DECODER_SELFTEST is not setCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not setCONFIG_OPTIMIZE_INLINING=y
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
#
# Security options
#CONFIG_KEYS=yCONFIG_TRUSTED_KEYS=mCONFIG_ENCRYPTED_KEYS=m
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set CONFIG_SECURITY=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_NETWORK_XFRM=y CONFIG_SECURITY_PATH=y
# CONFIG_INTEL_TXT is not set CONFIG_LSM_MMAP_MIN_ADDR=0 CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_SECURITY_SELINUX_DEVELOP=y CONFIG_SECURITY_SELINUX_AVC_STATS=y CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set # CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_YAMA is not set
# CONFIG_IMA is not set CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_DAC is not set CONFIG_DEFAULT_SECURITY="selinux" CONFIG_XOR_BLOCKS=mCONFIG_ASYNC_CORE=mCONFIG_ASYNC_MEMCPY=mCONFIG_ASYNC_XOR=mCONFIG_ASYNC_PQ=mCONFIG_ASYNC_RAID6_RECOV=m CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=y CONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=y CONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=mCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=mCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=mCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=mCONFIG_CRYPTO_PCOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_USER=mCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_NULL=mCONFIG_CRYPTO_PCRYPT=mCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=mCONFIG_CRYPTO_AUTHENC=m
# CONFIG_CRYPTO_TEST is not setCONFIG_CRYPTO_ABLK_HELPER_X86=mCONFIG_CRYPTO_GLUE_HELPER_X86=m
#
# Authenticated Encryption with Associated Data
#CONFIG_CRYPTO_CCM=mCONFIG_CRYPTO_GCM=mCONFIG_CRYPTO_SEQIV=m
#
# Block modes
#CONFIG_CRYPTO_CBC=mCONFIG_CRYPTO_CTR=mCONFIG_CRYPTO_CTS=mCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_LRW=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XTS=m
#
# Hash modes
#CONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_XCBC=mCONFIG_CRYPTO_VMAC=m
#
# Digest
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32C_INTEL=mCONFIG_CRYPTO_GHASH=mCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=mCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_RMD128=mCONFIG_CRYPTO_RMD160=mCONFIG_CRYPTO_RMD256=mCONFIG_CRYPTO_RMD320=mCONFIG_CRYPTO_SHA1=mCONFIG_CRYPTO_SHA1_SSSE3=mCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_SHA512=mCONFIG_CRYPTO_TGR192=mCONFIG_CRYPTO_WP512=mCONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m
#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_X86_64=mCONFIG_CRYPTO_AES_NI_INTEL=mCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARC4=mCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_BLOWFISH_COMMON=mCONFIG_CRYPTO_BLOWFISH_X86_64=mCONFIG_CRYPTO_CAMELLIA=mCONFIG_CRYPTO_CAMELLIA_X86_64=mCONFIG_CRYPTO_CAST5=m
# CONFIG_CRYPTO_CAST5_AVX_X86_64 is not setCONFIG_CRYPTO_CAST6=m
# CONFIG_CRYPTO_CAST6_AVX_X86_64 is not setCONFIG_CRYPTO_DES=mCONFIG_CRYPTO_FCRYPT=mCONFIG_CRYPTO_KHAZAD=mCONFIG_CRYPTO_SALSA20=mCONFIG_CRYPTO_SALSA20_X86_64=mCONFIG_CRYPTO_SEED=mCONFIG_CRYPTO_SERPENT=mCONFIG_CRYPTO_SERPENT_SSE2_X86_64=m
# CONFIG_CRYPTO_SERPENT_AVX_X86_64 is not setCONFIG_CRYPTO_TEA=m
# CONFIG_CRYPTO_TWOFISH is not setCONFIG_CRYPTO_TWOFISH_COMMON=mCONFIG_CRYPTO_TWOFISH_X86_64=mCONFIG_CRYPTO_TWOFISH_X86_64_3WAY=m
# CONFIG_CRYPTO_TWOFISH_AVX_X86_64 is not set
#
# Compression
#CONFIG_CRYPTO_DEFLATE=mCONFIG_CRYPTO_ZLIB=mCONFIG_CRYPTO_LZO=y
#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=mCONFIG_CRYPTO_USER_API=mCONFIG_CRYPTO_USER_API_HASH=mCONFIG_CRYPTO_USER_API_SKCIPHER=mCONFIG_CRYPTO_HW=yCONFIG_CRYPTO_DEV_PADLOCK=mCONFIG_CRYPTO_DEV_PADLOCK_AES=mCONFIG_CRYPTO_DEV_PADLOCK_SHA=m
# CONFIG_ASYMMETRIC_KEY_TYPE is not setCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_APIC_ARCHITECTURE=yCONFIG_KVM_MMIO=yCONFIG_KVM_ASYNC_PF=yCONFIG_HAVE_KVM_MSI=yCONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=mCONFIG_KVM_INTEL=mCONFIG_KVM_AMD=mCONFIG_KVM_MMU_AUDIT=yCONFIG_VHOST_NET=mCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_RAID6_PQ=mCONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_PCI_IOMAP=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_IO=yCONFIG_CRC_CCITT=mCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=mCONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not setCONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not setCONFIG_CRC7=mCONFIG_LIBCRC32C=mCONFIG_CRC8=mCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_XZ_DEC=yCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=yCONFIG_XZ_DEC_IA64=yCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=yCONFIG_XZ_DEC_SPARC=yCONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not setCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZMA=yCONFIG_DECOMPRESS_XZ=yCONFIG_DECOMPRESS_LZO=yCONFIG_GENERIC_ALLOCATOR=yCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=mCONFIG_TEXTSEARCH_BM=mCONFIG_TEXTSEARCH_FSM=mCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_NLATTR=yCONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=yCONFIG_AVERAGE=yCONFIG_CORDIC=m
# CONFIG_DDR is not set
Signature · 8 lines
Mel Gorman SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>