Re: [PATCH net] net/tcp: use deferred jump label for TCP acked data hook

2019-05-09 Thread David Miller
From: Jakub Kicinski Date: Wed, 8 May 2019 16:46:14 -0700 > User space can flip the clean_acked_data_enabled static branch > on and off with TLS offload when CONFIG_TLS_DEVICE is enabled. > jump_label.h suggests we use the delayed version in this case. > > Deferred branches now also don't take

Re: [PATCH net] net/tcp: use deferred jump label for TCP acked data hook

2019-05-09 Thread Eric Dumazet
On Thu, May 9, 2019 at 9:46 AM David Miller wrote: > > From: Jakub Kicinski > Date: Wed, 8 May 2019 16:46:14 -0700 > > > User space can flip the clean_acked_data_enabled static branch > > on and off with TLS offload when CONFIG_TLS_DEVICE is enabled. > > jump_label.h suggests we use the delayed

Re: [PATCH net] net/tcp: use deferred jump label for TCP acked data hook

2019-05-09 Thread David Miller
From: Jakub Kicinski Date: Wed, 8 May 2019 16:46:14 -0700 > User space can flip the clean_acked_data_enabled static branch > on and off with TLS offload when CONFIG_TLS_DEVICE is enabled. > jump_label.h suggests we use the delayed version in this case. > > Deferred branches now also don't take

[PATCH net] net/tcp: use deferred jump label for TCP acked data hook

2019-05-08 Thread Jakub Kicinski
User space can flip the clean_acked_data_enabled static branch on and off with TLS offload when CONFIG_TLS_DEVICE is enabled. jump_label.h suggests we use the delayed version in this case. Deferred branches now also don't take the branch mutex on decrement, so we avoid potential locking issues. S