You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina: "Usual earth-shaking, news-breaking, rocket science pile from trivial.git" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits) doc: usb: Fix typo in Documentation/usb/gadget_configs.txt doc: add missing files to timers/00-INDEX timekeeping: Fix some trivial typos in comments mm: Fix some trivial typos in comments irq: Fix some trivial typos in comments NUMA: fix typos in Kconfig help text mm: update 00-INDEX doc: Documentation/DMA-attributes.txt fix typo DRM: comment: `halve' -> `half' Docs: Kconfig: `devlopers' -> `developers' doc: typo on word accounting in kprobes.c in mutliple architectures treewide: fix "usefull" typo treewide: fix "distingush" typo mm/Kconfig: Grammar s/an/a/ kexec: Typo s/the/then/ Documentation/kvm: Update cpuid documentation for steal time and pv eoi treewide: Fix common typo in "identify" __page_to_pfn: Fix typo in comment Correct some typos for word frequency clk: fixed-factor: Fix a trivial typo ...
This commit is contained in:
@@ -13,7 +13,7 @@ all pending DMA writes to complete, and thus provides a mechanism to
|
|||||||
strictly order DMA from a device across all intervening busses and
|
strictly order DMA from a device across all intervening busses and
|
||||||
bridges. This barrier is not specific to a particular type of
|
bridges. This barrier is not specific to a particular type of
|
||||||
interconnect, it applies to the system as a whole, and so its
|
interconnect, it applies to the system as a whole, and so its
|
||||||
implementation must account for the idiosyncracies of the system all
|
implementation must account for the idiosyncrasies of the system all
|
||||||
the way from the DMA device to memory.
|
the way from the DMA device to memory.
|
||||||
|
|
||||||
As an example of a situation where DMA_ATTR_WRITE_BARRIER would be
|
As an example of a situation where DMA_ATTR_WRITE_BARRIER would be
|
||||||
@@ -60,7 +60,7 @@ such mapping is non-trivial task and consumes very limited resources
|
|||||||
Buffers allocated with this attribute can be only passed to user space
|
Buffers allocated with this attribute can be only passed to user space
|
||||||
by calling dma_mmap_attrs(). By using this API, you are guaranteeing
|
by calling dma_mmap_attrs(). By using this API, you are guaranteeing
|
||||||
that you won't dereference the pointer returned by dma_alloc_attr(). You
|
that you won't dereference the pointer returned by dma_alloc_attr(). You
|
||||||
can threat it as a cookie that must be passed to dma_mmap_attrs() and
|
can treat it as a cookie that must be passed to dma_mmap_attrs() and
|
||||||
dma_free_attrs(). Make sure that both of these also get this attribute
|
dma_free_attrs(). Make sure that both of these also get this attribute
|
||||||
set on each call.
|
set on each call.
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ to 'device' domain, what synchronizes CPU caches for the given region
|
|||||||
(usually it means that the cache has been flushed or invalidated
|
(usually it means that the cache has been flushed or invalidated
|
||||||
depending on the dma direction). However, next calls to
|
depending on the dma direction). However, next calls to
|
||||||
dma_map_{single,page,sg}() for other devices will perform exactly the
|
dma_map_{single,page,sg}() for other devices will perform exactly the
|
||||||
same sychronization operation on the CPU cache. CPU cache sychronization
|
same synchronization operation on the CPU cache. CPU cache synchronization
|
||||||
might be a time consuming operation, especially if the buffers are
|
might be a time consuming operation, especially if the buffers are
|
||||||
large, so it is highly recommended to avoid it if possible.
|
large, so it is highly recommended to avoid it if possible.
|
||||||
DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
|
DMA_ATTR_SKIP_CPU_SYNC allows platform code to skip synchronization of
|
||||||
|
|||||||
@@ -8,5 +8,9 @@ hpet_example.c
|
|||||||
- sample hpet timer test program
|
- sample hpet timer test program
|
||||||
hrtimers.txt
|
hrtimers.txt
|
||||||
- subsystem for high-resolution kernel timers
|
- subsystem for high-resolution kernel timers
|
||||||
|
NO_HZ.txt
|
||||||
|
- Summary of the different methods for the scheduler clock-interrupts management.
|
||||||
|
timers-howto.txt
|
||||||
|
- how to insert delays in the kernel the right (tm) way.
|
||||||
timer_stats.txt
|
timer_stats.txt
|
||||||
- timer usage statistics
|
- timer usage statistics
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Linux provides a number of functions for gadgets to use.
|
|||||||
Creating a gadget means deciding what configurations there will be
|
Creating a gadget means deciding what configurations there will be
|
||||||
and which functions each configuration will provide.
|
and which functions each configuration will provide.
|
||||||
|
|
||||||
Configfs (please see Documentation/filesystems/configfs/*) lends itslef nicely
|
Configfs (please see Documentation/filesystems/configfs/*) lends itself nicely
|
||||||
for the purpose of telling the kernel about the above mentioned decision.
|
for the purpose of telling the kernel about the above mentioned decision.
|
||||||
This document is about how to do it.
|
This document is about how to do it.
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ directories must be created:
|
|||||||
$ mkdir configs/<name>.<number>
|
$ mkdir configs/<name>.<number>
|
||||||
|
|
||||||
where <name> can be any string which is legal in a filesystem and the
|
where <name> can be any string which is legal in a filesystem and the
|
||||||
<numebr> is the configuration's number, e.g.:
|
<number> is the configuration's number, e.g.:
|
||||||
|
|
||||||
$ mkdir configs/c.1
|
$ mkdir configs/c.1
|
||||||
|
|
||||||
@@ -327,7 +327,7 @@ from the buffer to the cs), but it is up to the implementer of the
|
|||||||
two functions to decide what they actually do.
|
two functions to decide what they actually do.
|
||||||
|
|
||||||
typedef struct configured_structure cs;
|
typedef struct configured_structure cs;
|
||||||
typedef struc specific_attribute sa;
|
typedef struct specific_attribute sa;
|
||||||
|
|
||||||
sa
|
sa
|
||||||
+----------------------------------+
|
+----------------------------------+
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ active_mm.txt
|
|||||||
- An explanation from Linus about tsk->active_mm vs tsk->mm.
|
- An explanation from Linus about tsk->active_mm vs tsk->mm.
|
||||||
balance
|
balance
|
||||||
- various information on memory balancing.
|
- various information on memory balancing.
|
||||||
hugepage-mmap.c
|
cleancache.txt
|
||||||
- Example app using huge page memory with the mmap system call.
|
- Intro to cleancache and page-granularity victim cache.
|
||||||
hugepage-shm.c
|
frontswap.txt
|
||||||
- Example app using huge page memory with Sys V shared memory system calls.
|
- Outline frontswap, part of the transcendent memory frontend.
|
||||||
|
highmem.txt
|
||||||
|
- Outline of highmem and common issues.
|
||||||
hugetlbpage.txt
|
hugetlbpage.txt
|
||||||
- a brief summary of hugetlbpage support in the Linux kernel.
|
- a brief summary of hugetlbpage support in the Linux kernel.
|
||||||
hwpoison.txt
|
hwpoison.txt
|
||||||
@@ -16,21 +18,23 @@ ksm.txt
|
|||||||
- how to use the Kernel Samepage Merging feature.
|
- how to use the Kernel Samepage Merging feature.
|
||||||
locking
|
locking
|
||||||
- info on how locking and synchronization is done in the Linux vm code.
|
- info on how locking and synchronization is done in the Linux vm code.
|
||||||
map_hugetlb.c
|
|
||||||
- an example program that uses the MAP_HUGETLB mmap flag.
|
|
||||||
numa
|
numa
|
||||||
- information about NUMA specific code in the Linux vm.
|
- information about NUMA specific code in the Linux vm.
|
||||||
numa_memory_policy.txt
|
numa_memory_policy.txt
|
||||||
- documentation of concepts and APIs of the 2.6 memory policy support.
|
- documentation of concepts and APIs of the 2.6 memory policy support.
|
||||||
overcommit-accounting
|
overcommit-accounting
|
||||||
- description of the Linux kernels overcommit handling modes.
|
- description of the Linux kernels overcommit handling modes.
|
||||||
page-types.c
|
|
||||||
- Tool for querying page flags
|
|
||||||
page_migration
|
page_migration
|
||||||
- description of page migration in NUMA systems.
|
- description of page migration in NUMA systems.
|
||||||
pagemap.txt
|
pagemap.txt
|
||||||
- pagemap, from the userspace perspective
|
- pagemap, from the userspace perspective
|
||||||
slub.txt
|
slub.txt
|
||||||
- a short users guide for SLUB.
|
- a short users guide for SLUB.
|
||||||
|
soft-dirty.txt
|
||||||
|
- short explanation for soft-dirty PTEs
|
||||||
|
transhuge.txt
|
||||||
|
- Transparent Hugepage Support, alternative way of using hugepages.
|
||||||
unevictable-lru.txt
|
unevictable-lru.txt
|
||||||
- Unevictable LRU infrastructure
|
- Unevictable LRU infrastructure
|
||||||
|
zswap.txt
|
||||||
|
- Intro to compressed cache for swap pages
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned long trapnr)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* We increment the nmissed count for accounting,
|
/* We increment the nmissed count for accounting,
|
||||||
* we can also use npre/npostfault count for accouting
|
* we can also use npre/npostfault count for accounting
|
||||||
* these specific fault cases.
|
* these specific fault cases.
|
||||||
*/
|
*/
|
||||||
kprobes_inc_nmissed_count(cur);
|
kprobes_inc_nmissed_count(cur);
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ config SOC_STIH415
|
|||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This enables support for STMicroelectronics Digital Consumer
|
This enables support for STMicroelectronics Digital Consumer
|
||||||
Electronics family StiH415 parts, primarily targetted at set-top-box
|
Electronics family StiH415 parts, primarily targeted at set-top-box
|
||||||
and other digital audio/video applications using Flattned Device
|
and other digital audio/video applications using Flattned Device
|
||||||
Trees.
|
Trees.
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ config SOC_STIH416
|
|||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
This enables support for STMicroelectronics Digital Consumer
|
This enables support for STMicroelectronics Digital Consumer
|
||||||
Electronics family StiH416 parts, primarily targetted at set-top-box
|
Electronics family StiH416 parts, primarily targeted at set-top-box
|
||||||
and other digital audio/video applications using Flattened Device
|
and other digital audio/video applications using Flattened Device
|
||||||
Trees.
|
Trees.
|
||||||
|
|
||||||
|
|||||||
@@ -947,7 +947,7 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
|
|||||||
case KPROBE_HIT_SSDONE:
|
case KPROBE_HIT_SSDONE:
|
||||||
/*
|
/*
|
||||||
* We increment the nmissed count for accounting,
|
* We increment the nmissed count for accounting,
|
||||||
* we can also use npre/npostfault count for accouting
|
* we can also use npre/npostfault count for accounting
|
||||||
* these specific fault cases.
|
* these specific fault cases.
|
||||||
*/
|
*/
|
||||||
kprobes_inc_nmissed_count(cur);
|
kprobes_inc_nmissed_count(cur);
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ static inline void get_new_mmu_context(struct mm_struct *mm)
|
|||||||
Flush all TLB and start new cycle. */
|
Flush all TLB and start new cycle. */
|
||||||
local_flush_tlb_all();
|
local_flush_tlb_all();
|
||||||
/* Fix version if needed.
|
/* Fix version if needed.
|
||||||
Note that we avoid version #0 to distingush NO_CONTEXT. */
|
Note that we avoid version #0 to distinguish NO_CONTEXT. */
|
||||||
if (!mc)
|
if (!mc)
|
||||||
mmu_context_cache = mc = MMU_CONTEXT_FIRST_VERSION;
|
mmu_context_cache = mc = MMU_CONTEXT_FIRST_VERSION;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -192,13 +192,13 @@ typedef struct {
|
|||||||
/* Number of packets processed by PIP */
|
/* Number of packets processed by PIP */
|
||||||
uint32_t packets;
|
uint32_t packets;
|
||||||
/*
|
/*
|
||||||
* Number of indentified L2 multicast packets. Does not
|
* Number of identified L2 multicast packets. Does not
|
||||||
* include broadcast packets. Only includes packets whose
|
* include broadcast packets. Only includes packets whose
|
||||||
* parse mode is SKIP_TO_L2
|
* parse mode is SKIP_TO_L2
|
||||||
*/
|
*/
|
||||||
uint32_t multicast_packets;
|
uint32_t multicast_packets;
|
||||||
/*
|
/*
|
||||||
* Number of indentified L2 broadcast packets. Does not
|
* Number of identified L2 broadcast packets. Does not
|
||||||
* include multicast packets. Only includes packets whose
|
* include multicast packets. Only includes packets whose
|
||||||
* parse mode is SKIP_TO_L2
|
* parse mode is SKIP_TO_L2
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ static inline unsigned long allocate_mmu_context(struct mm_struct *mm)
|
|||||||
local_flush_tlb_all();
|
local_flush_tlb_all();
|
||||||
|
|
||||||
/* fix the TLB version if needed (we avoid version #0 so as to
|
/* fix the TLB version if needed (we avoid version #0 so as to
|
||||||
* distingush MMU_NO_CONTEXT) */
|
* distinguish MMU_NO_CONTEXT) */
|
||||||
if (!mc)
|
if (!mc)
|
||||||
*pmc = mc = MMU_CONTEXT_FIRST_VERSION;
|
*pmc = mc = MMU_CONTEXT_FIRST_VERSION;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
|
|||||||
case KPROBE_HIT_SSDONE:
|
case KPROBE_HIT_SSDONE:
|
||||||
/*
|
/*
|
||||||
* We increment the nmissed count for accounting,
|
* We increment the nmissed count for accounting,
|
||||||
* we can also use npre/npostfault count for accouting
|
* we can also use npre/npostfault count for accounting
|
||||||
* these specific fault cases.
|
* these specific fault cases.
|
||||||
*/
|
*/
|
||||||
kprobes_inc_nmissed_count(cur);
|
kprobes_inc_nmissed_count(cur);
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#define NVRW_CNT 0x20
|
#define NVRW_CNT 0x20
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set oops header version to distingush between old and new format header.
|
* Set oops header version to distinguish between old and new format header.
|
||||||
* lnx,oops-log partition max size is 4000, header version > 4000 will
|
* lnx,oops-log partition max size is 4000, header version > 4000 will
|
||||||
* help in identifying new header.
|
* help in identifying new header.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -680,7 +680,7 @@ static int __kprobes kprobe_trap_handler(struct pt_regs *regs, int trapnr)
|
|||||||
case KPROBE_HIT_SSDONE:
|
case KPROBE_HIT_SSDONE:
|
||||||
/*
|
/*
|
||||||
* We increment the nmissed count for accounting,
|
* We increment the nmissed count for accounting,
|
||||||
* we can also use npre/npostfault count for accouting
|
* we can also use npre/npostfault count for accounting
|
||||||
* these specific fault cases.
|
* these specific fault cases.
|
||||||
*/
|
*/
|
||||||
kprobes_inc_nmissed_count(p);
|
kprobes_inc_nmissed_count(p);
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Fix version; Note that we avoid version #0
|
* Fix version; Note that we avoid version #0
|
||||||
* to distingush NO_CONTEXT.
|
* to distinguish NO_CONTEXT.
|
||||||
*/
|
*/
|
||||||
if (!asid)
|
if (!asid)
|
||||||
asid = MMU_CONTEXT_FIRST_VERSION;
|
asid = MMU_CONTEXT_FIRST_VERSION;
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
|
|||||||
case KPROBE_HIT_SSDONE:
|
case KPROBE_HIT_SSDONE:
|
||||||
/*
|
/*
|
||||||
* We increment the nmissed count for accounting,
|
* We increment the nmissed count for accounting,
|
||||||
* we can also use npre/npostfault count for accouting
|
* we can also use npre/npostfault count for accounting
|
||||||
* these specific fault cases.
|
* these specific fault cases.
|
||||||
*/
|
*/
|
||||||
kprobes_inc_nmissed_count(cur);
|
kprobes_inc_nmissed_count(cur);
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ static void amd_get_topology(struct cpuinfo_x86 *c)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* On a AMD dual core setup the lower bits of the APIC id distingush the cores.
|
* On a AMD dual core setup the lower bits of the APIC id distinguish the cores.
|
||||||
* Assumes number of cores is a power of two.
|
* Assumes number of cores is a power of two.
|
||||||
*/
|
*/
|
||||||
static void amd_detect_cmp(struct cpuinfo_x86 *c)
|
static void amd_detect_cmp(struct cpuinfo_x86 *c)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Routines to indentify caches on Intel CPU.
|
* Routines to identify caches on Intel CPU.
|
||||||
*
|
*
|
||||||
* Changes:
|
* Changes:
|
||||||
* Venkatesh Pallipadi : Adding cache identification through cpuid(4)
|
* Venkatesh Pallipadi : Adding cache identification through cpuid(4)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Routines to indentify additional cpu features that are scattered in
|
* Routines to identify additional cpu features that are scattered in
|
||||||
* cpuid space.
|
* cpuid space.
|
||||||
*/
|
*/
|
||||||
#include <linux/cpu.h>
|
#include <linux/cpu.h>
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ u8 acpi_ut_valid_internal_object(void *object)
|
|||||||
default:
|
default:
|
||||||
|
|
||||||
ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
|
ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
|
||||||
"%p is not not an ACPI operand obj [%s]\n",
|
"%p is not an ACPI operand obj [%s]\n",
|
||||||
object, acpi_ut_get_descriptor_name(object)));
|
object, acpi_ut_get_descriptor_name(object)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ struct cma *dma_contiguous_default_area;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Default global CMA area size can be defined in kernel's .config.
|
* Default global CMA area size can be defined in kernel's .config.
|
||||||
* This is usefull mainly for distro maintainers to create a kernel
|
* This is useful mainly for distro maintainers to create a kernel
|
||||||
* that works correctly for most supported systems.
|
* that works correctly for most supported systems.
|
||||||
* The size can be set in bytes or as a percentage of the total memory
|
* The size can be set in bytes or as a percentage of the total memory
|
||||||
* in the system.
|
* in the system.
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user