#
1ec09974 |
| 31-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
lift the calls of ep_read_events_proc() into the callers
Expand the calls of ep_scan_ready_list() that get ep_read_events_proc(). As a side benefit we can pass depth to ep_read_events_proc() by valu
lift the calls of ep_read_events_proc() into the callers
Expand the calls of ep_scan_ready_list() that get ep_read_events_proc(). As a side benefit we can pass depth to ep_read_events_proc() by value and not by address - the latter used to be forced by the signature expected from ep_scan_ready_list() callback.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
db502f8a |
| 31-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
ep_scan_ready_list(): prepare to splitup
take the stuff done before and after the callback into separate helpers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
bde03c4c |
| 26-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
ep_loop_check_proc(): saner calling conventions
1) 'cookie' argument is unused; kill it. 2) 'priv' one is always an epoll struct file, and we only care about its associated struct eventpoll; pass th
ep_loop_check_proc(): saner calling conventions
1) 'cookie' argument is unused; kill it. 2) 'priv' one is always an epoll struct file, and we only care about its associated struct eventpoll; pass that instead.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
6a3890c4 |
| 26-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
get rid of ep_push_nested()
The only remaining user is loop checking. But there we only need to check that we have not walked into the epoll we are inserting into - we are adding an edge to acyclic
get rid of ep_push_nested()
The only remaining user is loop checking. But there we only need to check that we have not walked into the epoll we are inserting into - we are adding an edge to acyclic graph, so any loop being created will have to pass through the source of that edge.
So we don't need that array of cookies - we have only one eventpoll to watch out for. RIP ep_push_nested(), along with the cookies array.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
56c428ca |
| 26-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
ep_loop_check_proc(): lift pushing the cookie into callers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
d16312a4 |
| 26-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
clean reverse_path_check_proc() a bit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
0c320f77 |
| 25-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
reverse_path_check_proc(): don't bother with cookies
We know there's no loops by the time we call it; the only thing we care about is too deep reverse paths.
Signed-off-by: Al Viro <viro@zeniv.linu
reverse_path_check_proc(): don't bother with cookies
We know there's no loops by the time we call it; the only thing we care about is too deep reverse paths.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
Revision tags: v5.8.5, v5.8.4, v5.4.61 |
|
#
aebf15f0 |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
reverse_path_check_proc(): sane arguments
no need to force its calling conventions to match the callback for late unlamented ep_call_nested()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
773318ed |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
untangling ep_call_nested(): and there was much rejoicing
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
99d84d43 |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
untangling ep_call_nested(): move push/pop of cookie into the callbacks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
3b1688ef |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
untangling ep_call_nested(): take pushing cookie into a helper
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
d01f0594 |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
untangling ep_call_nested(): it's all serialized on epmutex.
IOW, * no locking is needed to protect the list * the list is actually a stack * no need to check ->ctx * it can bloody well be a sta
untangling ep_call_nested(): it's all serialized on epmutex.
IOW, * no locking is needed to protect the list * the list is actually a stack * no need to check ->ctx * it can bloody well be a static 5-element array - nobody is going to be accessing it in parallel.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
8677600d |
| 22-Aug-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
untangling ep_call_nested(): get rid of useless arguments
ctx is always equal to current, ncalls - to &poll_loop_ncalls.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|
#
364f374f |
| 02-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
epoll: get rid of epitem->nwait
we use it only to indicate allocation failures within queueing callback back to ep_insert(). Might as well use epq.epi for that reporting...
Signed-off-by: Al Viro
epoll: get rid of epitem->nwait
we use it only to indicate allocation failures within queueing callback back to ep_insert(). Might as well use epq.epi for that reporting...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
80285b75 |
| 02-Sep-2020 |
Al Viro <viro@zeniv.linux.org.uk> |
epoll: switch epitem->pwqlist to single-linked list
We only traverse it once to destroy all associated eppoll_entry at epitem destruction time. The order of traversal is irrelevant there.
Signed-o
epoll: switch epitem->pwqlist to single-linked list
We only traverse it once to destroy all associated eppoll_entry at epitem destruction time. The order of traversal is irrelevant there.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
show more ...
|
#
16e7483e |
| 09-Oct-2020 |
Jason Gunthorpe <jgg@nvidia.com> |
Merge branch 'dynamic_sg' into rdma.git for-next
From Maor Gottlieb says:
==================== This series extends __sg_alloc_table_from_pages to allow chaining of new pages to an already initializ
Merge branch 'dynamic_sg' into rdma.git for-next
From Maor Gottlieb says:
==================== This series extends __sg_alloc_table_from_pages to allow chaining of new pages to an already initialized SG table.
This allows for drivers to utilize the optimization of merging contiguous pages without a need to pre allocate all the pages and hold them in a very large temporary buffer prior to the call to SG table initialization.
The last patch changes the Infiniband core to use the new API. It removes duplicate functionality from the code and benefits from the optimization of allocating dynamic SG table from pages.
In huge pages system of 2MB page size, without this change, the SG table would contain x512 SG entries. ====================
* branch 'dynamic_sg': RDMA/umem: Move to allocate SG table from pages lib/scatterlist: Add support in dynamic allocation of SG table from pages tools/testing/scatterlist: Show errors in human readable form tools/testing/scatterlist: Rejuvenate bit-rotten test
show more ...
|
#
62b31a04 |
| 15-Oct-2020 |
Jiri Kosina <jkosina@suse.cz> |
Merge branch 'for-5.10/core' into for-linus
- nonblocking read semantics fix for hid-debug
|
#
f401b2c9 |
| 12-Oct-2020 |
Takashi Iwai <tiwai@suse.de> |
Merge tag 'asoc-v5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v5.10
Not a huge amount going on in the core for ASoC this time but quite a
Merge tag 'asoc-v5.10' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for v5.10
Not a huge amount going on in the core for ASoC this time but quite a lot of driver activity, especially for the Intel platforms:
- Replacement of the DSP driver for some older x86 systems with a new one which was written with closer reference to the DSP firmware so should hopefully be more robust and maintainable. - A big batch of static checker and other fixes for the rest of the x86 DSP drivers. - Cleanup of the error unwinding code from Morimoto-san, hopefully making it more robust. - Helpers for parsing auxiluary devices from the device tree from Stephan Gerhold. - New support for AllWinner A64, Cirrus Logic CS4234, Mediatek MT6359 Microchip S/PDIF TX and RX controllers, Realtek RT1015P, and Texas Instruments J721E, TAS2110, TAS2564 and TAS2764
show more ...
|
#
80510e25 |
| 11-Oct-2020 |
Richard Weinberger <richard@nod.at> |
Merge tag 'spi-nor/for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into mtd/next
SPI NOR core changes: - Support for Winbond w25q64jwm flash - Enable 4K sector support for mx25l
Merge tag 'spi-nor/for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux into mtd/next
SPI NOR core changes: - Support for Winbond w25q64jwm flash - Enable 4K sector support for mx25l12805d
SPI NOR controller drivers changes: - intel-spi: - Add Alder Lake-S PCI ID
show more ...
|
#
e705d397 |
| 09-Oct-2020 |
Ingo Molnar <mingo@kernel.org> |
Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
|
#
fd6b519a |
| 06-Oct-2020 |
Mark Brown <broonie@kernel.org> |
Merge tag 'v5.9-rc5' into asoc-5.10
Linux 5.9-rc5
|
#
8b0308fe |
| 05-Oct-2020 |
David S. Miller <davem@davemloft.net> |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Rejecting non-native endian BTF overlapped with the addition of support for it.
The rest were more simple overlapping changes, except
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Rejecting non-native endian BTF overlapped with the addition of support for it.
The rest were more simple overlapping changes, except the renesas ravb binding update, which had to follow a file move as well as a YAML conversion.
Signed-off-by: David S. Miller <davem@davemloft.net>
show more ...
|
#
a944a1fb |
| 05-Oct-2020 |
Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
Merge 5.9-rc8 into staging-next
We need the IIO fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
#
168ae5a7 |
| 05-Oct-2020 |
Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
Merge 5.9-rc8 into usb-next
We need the USB fixes in here as well for testing.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
#
d4fce2e2 |
| 02-Oct-2020 |
Linus Torvalds <torvalds@linux-foundation.org> |
Merge branch 'work.epoll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull epoll fixes from Al Viro: "Several race fixes in epoll"
* 'work.epoll' of git://git.kernel.org/pub/scm/linu
Merge branch 'work.epoll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull epoll fixes from Al Viro: "Several race fixes in epoll"
* 'work.epoll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: ep_create_wakeup_source(): dentry name can change under you... epoll: EPOLL_CTL_ADD: close the race in decision to take fast path epoll: replace ->visited/visited_list with generation count epoll: do not insert into poll queues until all sanity checks are done
show more ...
|