mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
bpf: Fix spelling mistakes
Fix some spelling mistakes in comments: aother ==> another Netiher ==> Neither desribe ==> describe intializing ==> initializing funciton ==> function wont ==> won't and move the word 'the' at the end to the next line accross ==> across pathes ==> paths triggerred ==> triggered excute ==> execute ether ==> either conervative ==> conservative convetion ==> convention markes ==> marks interpeter ==> interpreter Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210525025659.8898-2-thunder.leizhen@huawei.com
This commit is contained in:
committed by
Andrii Nakryiko
parent
4ce7d68beb
commit
8fb33b6055
@@ -58,7 +58,7 @@ struct bpf_local_storage_data {
|
||||
* from the object's bpf_local_storage.
|
||||
*
|
||||
* Put it in the same cacheline as the data to minimize
|
||||
* the number of cachelines access during the cache hit case.
|
||||
* the number of cachelines accessed during the cache hit case.
|
||||
*/
|
||||
struct bpf_local_storage_map __rcu *smap;
|
||||
u8 data[] __aligned(8);
|
||||
@@ -71,7 +71,7 @@ struct bpf_local_storage_elem {
|
||||
struct bpf_local_storage __rcu *local_storage;
|
||||
struct rcu_head rcu;
|
||||
/* 8 bytes hole */
|
||||
/* The data is stored in aother cacheline to minimize
|
||||
/* The data is stored in another cacheline to minimize
|
||||
* the number of cachelines access during a cache hit.
|
||||
*/
|
||||
struct bpf_local_storage_data sdata ____cacheline_aligned;
|
||||
|
||||
Reference in New Issue
Block a user