Quentin LAMBERT

Articles de cet auteur

perf/core: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> The use of « rcu_assign_pointer() » is NULLing out the pointer. According to RCU_INIT_POINTER()’s block comment: « 1. This use of RCU_INIT_POINTER() is NULLing out the pointer » it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle semantic patch was used: @@ @@ – rcu_assign_pointer + …

Lire la suite

mac80211: scan: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> The use of « rcu_assign_pointer() » is NULLing out the pointer. According to RCU_INIT_POINTER()’s block comment: « 1. This use of RCU_INIT_POINTER() is NULLing out the pointer » it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle semantic patch was used: @@ @@ – rcu_assign_pointer + …

Lire la suite

br_multicast: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> The use of « rcu_assign_pointer() » is NULLing out the pointer. According to RCU_INIT_POINTER()’s block comment: « 1. This use of RCU_INIT_POINTER() is NULLing out the pointer » it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle semantic patch was used: @@ @@ – rcu_assign_pointer + …

Lire la suite

mfd: menelaus: Fix error return code

Author: Julia Lawall <julia.lawall@lip6.fr> Convert a zero return value on error to a negative one, as returned elsewhere in the function. Additionally, converted 1

af_decnet: Use time_after_eq

Author: Himangi Saraogi <himangi774@gmail.com> The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2,E3; @@ – jiffies – E1 >= (E2*E3) + time_after_eq(jiffies, E1+E2*E3) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David …

Lire la suite

decnet: Use time_after_eq

Author: Himangi Saraogi <himangi774@gmail.com> The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ – (jiffies – E1) >= E2 + time_after_eq(jiffies, E1+E2) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David …

Lire la suite

ipconfig: Use time_before

Author: Himangi Saraogi <himangi774@gmail.com> The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ – jiffies – E1 < E2 + time_before(jiffies, E1+E2) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: David …

Lire la suite

dn_dev: Use time_before

Author: Himangi Saraogi <himangi774@gmail.com> The functions time_before, time_before_eq, time_after, and time_after_eq are more robust for comparing jiffies against other values. A simplified version of the Coccinelle semantic patch making this change is as follows: @change@ expression E1,E2; @@ ( – (jiffies – E1) < E2 + time_before(jiffies, E1+E2) ) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall …

Lire la suite

libfc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> The uses of « rcu_assign_pointer() » are NULLing out the pointers. According to RCU_INIT_POINTER()’s block comment: « 1. This use of RCU_INIT_POINTER() is NULLing out the pointer » it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle semantic patch was used: @@ @@ – rcu_assign_pointer + …

Lire la suite

nvme: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

Author: Andreea-Cristina Bernat <bernat.ada@gmail.com> The use of « rcu_assign_pointer() » is NULLing out the pointer. According to RCU_INIT_POINTER()’s block comment: « 1. This use of RCU_INIT_POINTER() is NULLing out the pointer » it is better to use it instead of rcu_assign_pointer() because it has a smaller overhead. The following Coccinelle semantic patch was used: @@ @@ – rcu_assign_pointer + …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.