summaryrefslogtreecommitdiff
path: root/include/linux
AgeCommit message (Expand)Author
2010-05-20USB: include/usb/*.h checkpatch cleanupGreg Kroah-Hartman
2010-05-20USB: usb.h: checkpatch cleanupsGreg Kroah-Hartman
2010-05-20USB: remove usb_find_deviceMing Lei
2010-05-20USB: f_fs: the FunctionFS driverMichal Nazarewicz
2010-05-20wait_event_interruptible_locked() interfaceMichal Nazarewicz
2010-05-20USB: serial: remove multi-urb write from generic driverJohan Hovold
2010-05-20USB: serial: reimplement generic fifo-based writesJohan Hovold
2010-05-20USB: simplify usb_sg_init()Alan Stern
2010-05-20USB: Change the scatterlist type in struct urbMatthew Wilcox
2010-05-20USB: Turn interface_to_usbdev into an inline functionMatthew Wilcox
2010-05-20USB: Add a usb_pipe_endpoint() convenience functionMatthew Wilcox
2010-05-20USB: Add definition for the Pipe Usage descriptorMatthew Wilcox
2010-05-20USB: remove URB_NO_SETUP_DMA_MAPAlan Stern
2010-05-20USB: remove the usb_host_ss_ep_comp structureAlan Stern
2010-05-20USB: export the new ch11.h file to userspceAlan Stern
2010-05-20USB: Composite framework: Add suspended sysfs entryFabien Chouteau
2010-05-20USB: ncm: added ncm.h with auxiliary definitionsYauheni Kaliuta
2010-05-20usb: cdc: ncm constants and structures addedYauheni Kaliuta
2010-05-20USB: Support for allocating USB 3.0 streams.Sarah Sharp
2010-05-20USB: Add stream ID field to struct urb.Sarah Sharp
2010-05-20USB: Add parsing of SuperSpeed endpoint companion descriptor.Sarah Sharp
2010-05-20USB: use PM core routines to enable/disable autosuspendAlan Stern
2010-05-20USB: fix usbmon and DMA mapping for scatter-gather URBsAlan Stern
2010-05-20usb: otg: add global ULPI register definitionsHeikki Krogerus
2010-05-20USB: gadget: add HID gadget driverFabien Chouteau
2010-05-20USB: serial: generalise write buffer preparationJohan Hovold
2010-05-20USB: serial: re-implement multi-urb writes in generic driverJohan Hovold
2010-05-20USB: serial: generalise generic read implementationJohan Hovold
2010-05-20USB: serial: refactor read urb submission in generic driverJohan Hovold
2010-05-20USB: serial: allow drivers to define bulk buffer sizesJohan Hovold
2010-05-20USB: Add a new quirk: USB_QUIRK_HONOR_BNUMINTERFACESHans de Goede
2010-05-20USB: musb: allow the Blackfin vrsel gpio to be active lowCliff Cai
2010-05-20usb: musb: allow board to pass down fifo modeFelipe Balbi
2010-05-20usb-serial: Use tty_port version console instead of usb_serial_portJason Wessel
2010-05-20USB: remove bogus USB_PORT_FEAT_*_SPEED symbolsAlan Stern
2010-05-20USB: split hub.h into ch11.h and merge-in hcd.hEric Lescouet
2010-05-20USB: make hub.h public (drivers dependency)Eric Lescouet
2010-05-20USB: make hcd.h public (drivers dependency)Eric Lescouet
2010-05-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds
2010-05-16rtnetlink: make SR-IOV VF interface symmetricChris Wright
2010-05-15Fix the regression created by "set S_DEAD on unlink()..." commitAl Viro
2010-05-11revert "procfs: provide stack information for threads" and its fixup commitsRobin Holt
2010-05-07Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds
2010-05-06rcu: create rcu_my_thread_group_empty() wrapperPaul E. McKenney
2010-05-04cgroup: Check task_lock in task_subsys_state()Li Zefan
2010-05-04i2c-core: Use per-adapter userspace device listsJean Delvare
2010-04-30USB: rename usb_buffer_alloc() and usb_buffer_free()Daniel Mack
2010-04-29Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6Linus Torvalds
2010-04-28Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds
2010-04-28coda: move backing-dev.h kernel include inside __KERNEL__Jens Axboe
anual review was done on the spreadsheet to determine the SPDX license identifiers to apply to the source files by Kate, Philippe, Thomas and, in some cases, confirmation by lawyers working with the Linux Foundation. Kate also obtained a third independent scan of the 4.13 code base from FOSSology, and compared selected files where the other two scanners disagreed against that SPDX file, to see if there was new insights. The Windriver scanner is based on an older version of FOSSology in part, so they are related. Thomas did random spot checks in about 500 files from the spreadsheets for the uapi headers and agreed with SPDX license identifier in the files he inspected. For the non-uapi files Thomas did random spot checks in about 15000 files. In initial set of patches against 4.14-rc6, 3 files were found to have copy/paste license identifier errors, and have been fixed to reflect the correct identifier. Additionally Philippe spent 10 hours this week doing a detailed manual inspection and review of the 12,461 patched files from the initial patch version early this week with: - a full scancode scan run, collecting the matched texts, detected license ids and scores - reviewing anything where there was a license detected (about 500+ files) to ensure that the applied SPDX license was correct - reviewing anything where there was no detection but the patch license was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied SPDX license was correct This produced a worksheet with 20 files needing minor correction. This worksheet was then exported into 3 different .csv files for the different types of files to be modified. These .csv files were then reviewed by Greg. Thomas wrote a script to parse the csv files and add the proper SPDX tag to the file, in the format that the file expected. This script was further refined by Greg based on the output to detect more types of files automatically and to distinguish between header and source .c files (which need different comment types.) Finally Greg ran the script using the .csv files to generate the patches. Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2017-09-06mm, sparse, page_ext: drop ugly N_HIGH_MEMORY branches for allocationsMichal Hocko Commit f52407ce2dea ("memory hotplug: alloc page from other node in memory online") has introduced N_HIGH_MEMORY checks to only use NUMA aware allocations when there is some memory present because the respective node might not have any memory yet at the time and so it could fail or even OOM. Things have changed since then though. Zonelists are now always initialized before we do any allocations even for hotplug (see 959ecc48fc75 ("mm/memory_hotplug.c: fix building of node hotplug zonelist")). Therefore these checks are not really needed. In fact caller of the allocator should never care about whether the node is populated because that might change at any time. Link: http://lkml.kernel.org/r/20170721143915.14161-10-mhocko@kernel.org Signed-off-by: Michal Hocko <mhocko@suse.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Shaohua Li <shaohua.li@intel.com> Cc: Joonsoo Kim <js1304@gmail.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Toshi Kani <toshi.kani@hpe.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> 2017-07-12mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful ↵Michal Hocko semantic __GFP_REPEAT was designed to allow retry-but-eventually-fail semantic to the page allocator. This has been true but only for allocations requests larger than PAGE_ALLOC_COSTLY_ORDER. It has been always ignored for smaller sizes. This is a bit unfortunate because there is no way to express the same semantic for those requests and they are considered too important to fail so they might end up looping in the page allocator for ever, similarly to GFP_NOFAIL requests. Now that the whole tree has been cleaned up and accidental or misled usage of __GFP_REPEAT flag has been removed for !costly requests we can give the original flag a better name and more importantly a more useful semantic. Let's rename it to __GFP_RETRY_MAYFAIL which tells the user that the allocator would try really hard but there is no promise of a success. This will work independent of the order and overrides the default allocator behavior. Page allocator users have several levels of guarantee vs. cost options (take GFP_KERNEL as an example) - GFP_KERNEL & ~__GFP_RECLAIM - optimistic allocation without _any_ attempt to free memory at all. The most light weight mode which even doesn't kick the background reclaim. Should be used carefully because it might deplete the memory and the next user might hit the more aggressive reclaim - GFP_KERNEL & ~__GFP_DIRECT_RECLAIM (or GFP_NOWAIT)- optimistic allocation without any attempt to free memory from the current context but can wake kswapd to reclaim memory if the zone is below the low watermark. Can be used from either atomic contexts or when the request is a performance optimization and there is another fallback for a slow path. - (GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM (aka GFP_ATOMIC) - non sleeping allocation with an expensive fallback so it can access some portion of memory reserves. Usually used from interrupt/bh context with an expensive slow path fallback. - GFP_KERNEL - both background and direct reclaim are allowed and the _default_ page allocator behavior is used. That means that !costly allocation requests are basically nofail but there is no guarantee of that behavior so failures have to be checked properly by callers (e.g. OOM killer victim is allowed to fail currently). - GFP_KERNEL | __GFP_NORETRY - overrides the default allocator behavior and all allocation requests fail early rather than cause disruptive reclaim (one round of reclaim in this implementation). The OOM killer is not invoked. - GFP_KERNEL | __GFP_RETRY_MAYFAIL - overrides the default allocator behavior and all allocation requests try really hard. The request will fail if the reclaim cannot make any progress. The OOM killer won't be triggered. - GFP_KERNEL | __GFP_NOFAIL - overrides the default allocator behavior and all allocation requests will loop endlessly until they succeed. This might be really dangerous especially for larger orders. Existing users of __GFP_REPEAT are changed to __GFP_RETRY_MAYFAIL because they already had their semantic. No new users are added. __alloc_pages_slowpath is changed to bail out for __GFP_RETRY_MAYFAIL if there is no progress and we have already passed the OOM point. This means that all the reclaim opportunities have been exhausted except the most disruptive one (the OOM killer) and a user defined fallback behavior is more sensible than keep retrying in the page allocator. [akpm@linux-foundation.org: fix arch/sparc/kernel/mdesc.c] [mhocko@suse.com: semantic fix] Link: http://lkml.kernel.org/r/20170626123847.GM11534@dhcp22.suse.cz [mhocko@kernel.org: address other thing spotted by Vlastimil] Link: http://lkml.kernel.org/r/20170626124233.GN11534@dhcp22.suse.cz Link: http://lkml.kernel.org/r/20170623085345.11304-3-mhocko@kernel.org Signed-off-by: Michal Hocko <mhocko@suse.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Alex Belits <alex.belits@cavium.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Christoph Hellwig <hch@infradead.org> Cc: Darrick J. Wong <darrick.wong@oracle.com> Cc: David Daney <david.daney@cavium.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Mel Gorman <mgorman@suse.de> Cc: NeilBrown <neilb@suse.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>