~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/kernel/Kconfig.locks

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /kernel/Kconfig.locks (Version linux-6.11.5) and /kernel/Kconfig.locks (Version linux-5.3.18)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 #                                                   2 #
  3 # The ARCH_INLINE foo is necessary because sel      3 # The ARCH_INLINE foo is necessary because select ignores "depends on"
  4 #                                                   4 #
  5 config ARCH_INLINE_SPIN_TRYLOCK                     5 config ARCH_INLINE_SPIN_TRYLOCK
  6         bool                                        6         bool
  7                                                     7 
  8 config ARCH_INLINE_SPIN_TRYLOCK_BH                  8 config ARCH_INLINE_SPIN_TRYLOCK_BH
  9         bool                                        9         bool
 10                                                    10 
 11 config ARCH_INLINE_SPIN_LOCK                       11 config ARCH_INLINE_SPIN_LOCK
 12         bool                                       12         bool
 13                                                    13 
 14 config ARCH_INLINE_SPIN_LOCK_BH                    14 config ARCH_INLINE_SPIN_LOCK_BH
 15         bool                                       15         bool
 16                                                    16 
 17 config ARCH_INLINE_SPIN_LOCK_IRQ                   17 config ARCH_INLINE_SPIN_LOCK_IRQ
 18         bool                                       18         bool
 19                                                    19 
 20 config ARCH_INLINE_SPIN_LOCK_IRQSAVE               20 config ARCH_INLINE_SPIN_LOCK_IRQSAVE
 21         bool                                       21         bool
 22                                                    22 
 23 config ARCH_INLINE_SPIN_UNLOCK                     23 config ARCH_INLINE_SPIN_UNLOCK
 24         bool                                       24         bool
 25                                                    25 
 26 config ARCH_INLINE_SPIN_UNLOCK_BH                  26 config ARCH_INLINE_SPIN_UNLOCK_BH
 27         bool                                       27         bool
 28                                                    28 
 29 config ARCH_INLINE_SPIN_UNLOCK_IRQ                 29 config ARCH_INLINE_SPIN_UNLOCK_IRQ
 30         bool                                       30         bool
 31                                                    31 
 32 config ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE          32 config ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
 33         bool                                       33         bool
 34                                                    34 
 35                                                    35 
 36 config ARCH_INLINE_READ_TRYLOCK                    36 config ARCH_INLINE_READ_TRYLOCK
 37         bool                                       37         bool
 38                                                    38 
 39 config ARCH_INLINE_READ_LOCK                       39 config ARCH_INLINE_READ_LOCK
 40         bool                                       40         bool
 41                                                    41 
 42 config ARCH_INLINE_READ_LOCK_BH                    42 config ARCH_INLINE_READ_LOCK_BH
 43         bool                                       43         bool
 44                                                    44 
 45 config ARCH_INLINE_READ_LOCK_IRQ                   45 config ARCH_INLINE_READ_LOCK_IRQ
 46         bool                                       46         bool
 47                                                    47 
 48 config ARCH_INLINE_READ_LOCK_IRQSAVE               48 config ARCH_INLINE_READ_LOCK_IRQSAVE
 49         bool                                       49         bool
 50                                                    50 
 51 config ARCH_INLINE_READ_UNLOCK                     51 config ARCH_INLINE_READ_UNLOCK
 52         bool                                       52         bool
 53                                                    53 
 54 config ARCH_INLINE_READ_UNLOCK_BH                  54 config ARCH_INLINE_READ_UNLOCK_BH
 55         bool                                       55         bool
 56                                                    56 
 57 config ARCH_INLINE_READ_UNLOCK_IRQ                 57 config ARCH_INLINE_READ_UNLOCK_IRQ
 58         bool                                       58         bool
 59                                                    59 
 60 config ARCH_INLINE_READ_UNLOCK_IRQRESTORE          60 config ARCH_INLINE_READ_UNLOCK_IRQRESTORE
 61         bool                                       61         bool
 62                                                    62 
 63                                                    63 
 64 config ARCH_INLINE_WRITE_TRYLOCK                   64 config ARCH_INLINE_WRITE_TRYLOCK
 65         bool                                       65         bool
 66                                                    66 
 67 config ARCH_INLINE_WRITE_LOCK                      67 config ARCH_INLINE_WRITE_LOCK
 68         bool                                       68         bool
 69                                                    69 
 70 config ARCH_INLINE_WRITE_LOCK_BH                   70 config ARCH_INLINE_WRITE_LOCK_BH
 71         bool                                       71         bool
 72                                                    72 
 73 config ARCH_INLINE_WRITE_LOCK_IRQ                  73 config ARCH_INLINE_WRITE_LOCK_IRQ
 74         bool                                       74         bool
 75                                                    75 
 76 config ARCH_INLINE_WRITE_LOCK_IRQSAVE              76 config ARCH_INLINE_WRITE_LOCK_IRQSAVE
 77         bool                                       77         bool
 78                                                    78 
 79 config ARCH_INLINE_WRITE_UNLOCK                    79 config ARCH_INLINE_WRITE_UNLOCK
 80         bool                                       80         bool
 81                                                    81 
 82 config ARCH_INLINE_WRITE_UNLOCK_BH                 82 config ARCH_INLINE_WRITE_UNLOCK_BH
 83         bool                                       83         bool
 84                                                    84 
 85 config ARCH_INLINE_WRITE_UNLOCK_IRQ                85 config ARCH_INLINE_WRITE_UNLOCK_IRQ
 86         bool                                       86         bool
 87                                                    87 
 88 config ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE         88 config ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
 89         bool                                       89         bool
 90                                                    90 
 91 config UNINLINE_SPIN_UNLOCK                        91 config UNINLINE_SPIN_UNLOCK
 92         bool                                       92         bool
 93                                                    93 
 94 #                                                  94 #
 95 # lock_* functions are inlined when:               95 # lock_* functions are inlined when:
 96 #   - DEBUG_SPINLOCK=n and GENERIC_LOCKBREAK=n     96 #   - DEBUG_SPINLOCK=n and GENERIC_LOCKBREAK=n and ARCH_INLINE_*LOCK=y
 97 #                                                  97 #
 98 # trylock_* functions are inlined when:            98 # trylock_* functions are inlined when:
 99 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y     99 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y
100 #                                                 100 #
101 # unlock and unlock_irq functions are inlined     101 # unlock and unlock_irq functions are inlined when:
102 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y    102 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y
103 #  or                                             103 #  or
104 #   - DEBUG_SPINLOCK=n and PREEMPTION=n        !! 104 #   - DEBUG_SPINLOCK=n and PREEMPT=n
105 #                                                 105 #
106 # unlock_bh and unlock_irqrestore functions ar    106 # unlock_bh and unlock_irqrestore functions are inlined when:
107 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y    107 #   - DEBUG_SPINLOCK=n and ARCH_INLINE_*LOCK=y
108 #                                                 108 #
109                                                   109 
110 if !DEBUG_SPINLOCK                                110 if !DEBUG_SPINLOCK
111                                                   111 
112 config INLINE_SPIN_TRYLOCK                        112 config INLINE_SPIN_TRYLOCK
113         def_bool y                                113         def_bool y
114         depends on ARCH_INLINE_SPIN_TRYLOCK       114         depends on ARCH_INLINE_SPIN_TRYLOCK
115                                                   115 
116 config INLINE_SPIN_TRYLOCK_BH                     116 config INLINE_SPIN_TRYLOCK_BH
117         def_bool y                                117         def_bool y
118         depends on ARCH_INLINE_SPIN_TRYLOCK_BH    118         depends on ARCH_INLINE_SPIN_TRYLOCK_BH
119                                                   119 
120 config INLINE_SPIN_LOCK                           120 config INLINE_SPIN_LOCK
121         def_bool y                                121         def_bool y
122         depends on !GENERIC_LOCKBREAK && ARCH_    122         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_SPIN_LOCK
123                                                   123 
124 config INLINE_SPIN_LOCK_BH                        124 config INLINE_SPIN_LOCK_BH
125         def_bool y                                125         def_bool y
126         depends on !GENERIC_LOCKBREAK && ARCH_    126         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_SPIN_LOCK_BH
127                                                   127 
128 config INLINE_SPIN_LOCK_IRQ                       128 config INLINE_SPIN_LOCK_IRQ
129         def_bool y                                129         def_bool y
130         depends on !GENERIC_LOCKBREAK && ARCH_    130         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_SPIN_LOCK_IRQ
131                                                   131 
132 config INLINE_SPIN_LOCK_IRQSAVE                   132 config INLINE_SPIN_LOCK_IRQSAVE
133         def_bool y                                133         def_bool y
134         depends on !GENERIC_LOCKBREAK && ARCH_    134         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_SPIN_LOCK_IRQSAVE
135                                                   135 
136 config INLINE_SPIN_UNLOCK_BH                      136 config INLINE_SPIN_UNLOCK_BH
137         def_bool y                                137         def_bool y
138         depends on ARCH_INLINE_SPIN_UNLOCK_BH     138         depends on ARCH_INLINE_SPIN_UNLOCK_BH
139                                                   139 
140 config INLINE_SPIN_UNLOCK_IRQ                     140 config INLINE_SPIN_UNLOCK_IRQ
141         def_bool y                                141         def_bool y
142         depends on !PREEMPTION || ARCH_INLINE_ !! 142         depends on !PREEMPT || ARCH_INLINE_SPIN_UNLOCK_IRQ
143                                                   143 
144 config INLINE_SPIN_UNLOCK_IRQRESTORE              144 config INLINE_SPIN_UNLOCK_IRQRESTORE
145         def_bool y                                145         def_bool y
146         depends on ARCH_INLINE_SPIN_UNLOCK_IRQ    146         depends on ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE
147                                                   147 
148                                                   148 
149 config INLINE_READ_TRYLOCK                        149 config INLINE_READ_TRYLOCK
150         def_bool y                                150         def_bool y
151         depends on ARCH_INLINE_READ_TRYLOCK       151         depends on ARCH_INLINE_READ_TRYLOCK
152                                                   152 
153 config INLINE_READ_LOCK                           153 config INLINE_READ_LOCK
154         def_bool y                                154         def_bool y
155         depends on !GENERIC_LOCKBREAK && ARCH_    155         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_READ_LOCK
156                                                   156 
157 config INLINE_READ_LOCK_BH                        157 config INLINE_READ_LOCK_BH
158         def_bool y                                158         def_bool y
159         depends on !GENERIC_LOCKBREAK && ARCH_    159         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_READ_LOCK_BH
160                                                   160 
161 config INLINE_READ_LOCK_IRQ                       161 config INLINE_READ_LOCK_IRQ
162         def_bool y                                162         def_bool y
163         depends on !GENERIC_LOCKBREAK && ARCH_    163         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_READ_LOCK_IRQ
164                                                   164 
165 config INLINE_READ_LOCK_IRQSAVE                   165 config INLINE_READ_LOCK_IRQSAVE
166         def_bool y                                166         def_bool y
167         depends on !GENERIC_LOCKBREAK && ARCH_    167         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_READ_LOCK_IRQSAVE
168                                                   168 
169 config INLINE_READ_UNLOCK                         169 config INLINE_READ_UNLOCK
170         def_bool y                                170         def_bool y
171         depends on !PREEMPTION || ARCH_INLINE_ !! 171         depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK
172                                                   172 
173 config INLINE_READ_UNLOCK_BH                      173 config INLINE_READ_UNLOCK_BH
174         def_bool y                                174         def_bool y
175         depends on ARCH_INLINE_READ_UNLOCK_BH     175         depends on ARCH_INLINE_READ_UNLOCK_BH
176                                                   176 
177 config INLINE_READ_UNLOCK_IRQ                     177 config INLINE_READ_UNLOCK_IRQ
178         def_bool y                                178         def_bool y
179         depends on !PREEMPTION || ARCH_INLINE_ !! 179         depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK_IRQ
180                                                   180 
181 config INLINE_READ_UNLOCK_IRQRESTORE              181 config INLINE_READ_UNLOCK_IRQRESTORE
182         def_bool y                                182         def_bool y
183         depends on ARCH_INLINE_READ_UNLOCK_IRQ    183         depends on ARCH_INLINE_READ_UNLOCK_IRQRESTORE
184                                                   184 
185                                                   185 
186 config INLINE_WRITE_TRYLOCK                       186 config INLINE_WRITE_TRYLOCK
187         def_bool y                                187         def_bool y
188         depends on ARCH_INLINE_WRITE_TRYLOCK      188         depends on ARCH_INLINE_WRITE_TRYLOCK
189                                                   189 
190 config INLINE_WRITE_LOCK                          190 config INLINE_WRITE_LOCK
191         def_bool y                                191         def_bool y
192         depends on !GENERIC_LOCKBREAK && ARCH_    192         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_WRITE_LOCK
193                                                   193 
194 config INLINE_WRITE_LOCK_BH                       194 config INLINE_WRITE_LOCK_BH
195         def_bool y                                195         def_bool y
196         depends on !GENERIC_LOCKBREAK && ARCH_    196         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_WRITE_LOCK_BH
197                                                   197 
198 config INLINE_WRITE_LOCK_IRQ                      198 config INLINE_WRITE_LOCK_IRQ
199         def_bool y                                199         def_bool y
200         depends on !GENERIC_LOCKBREAK && ARCH_    200         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_WRITE_LOCK_IRQ
201                                                   201 
202 config INLINE_WRITE_LOCK_IRQSAVE                  202 config INLINE_WRITE_LOCK_IRQSAVE
203         def_bool y                                203         def_bool y
204         depends on !GENERIC_LOCKBREAK && ARCH_    204         depends on !GENERIC_LOCKBREAK && ARCH_INLINE_WRITE_LOCK_IRQSAVE
205                                                   205 
206 config INLINE_WRITE_UNLOCK                        206 config INLINE_WRITE_UNLOCK
207         def_bool y                                207         def_bool y
208         depends on !PREEMPTION || ARCH_INLINE_ !! 208         depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK
209                                                   209 
210 config INLINE_WRITE_UNLOCK_BH                     210 config INLINE_WRITE_UNLOCK_BH
211         def_bool y                                211         def_bool y
212         depends on ARCH_INLINE_WRITE_UNLOCK_BH    212         depends on ARCH_INLINE_WRITE_UNLOCK_BH
213                                                   213 
214 config INLINE_WRITE_UNLOCK_IRQ                    214 config INLINE_WRITE_UNLOCK_IRQ
215         def_bool y                                215         def_bool y
216         depends on !PREEMPTION || ARCH_INLINE_ !! 216         depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK_IRQ
217                                                   217 
218 config INLINE_WRITE_UNLOCK_IRQRESTORE             218 config INLINE_WRITE_UNLOCK_IRQRESTORE
219         def_bool y                                219         def_bool y
220         depends on ARCH_INLINE_WRITE_UNLOCK_IR    220         depends on ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE
221                                                   221 
222 endif                                             222 endif
223                                                   223 
224 config ARCH_SUPPORTS_ATOMIC_RMW                   224 config ARCH_SUPPORTS_ATOMIC_RMW
225         bool                                      225         bool
226                                                   226 
227 config MUTEX_SPIN_ON_OWNER                        227 config MUTEX_SPIN_ON_OWNER
228         def_bool y                                228         def_bool y
229         depends on SMP && ARCH_SUPPORTS_ATOMIC    229         depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW
230                                                   230 
231 config RWSEM_SPIN_ON_OWNER                        231 config RWSEM_SPIN_ON_OWNER
232        def_bool y                                 232        def_bool y
233        depends on SMP && ARCH_SUPPORTS_ATOMIC_    233        depends on SMP && ARCH_SUPPORTS_ATOMIC_RMW
234                                                   234 
235 config LOCK_SPIN_ON_OWNER                         235 config LOCK_SPIN_ON_OWNER
236        def_bool y                                 236        def_bool y
237        depends on MUTEX_SPIN_ON_OWNER || RWSEM    237        depends on MUTEX_SPIN_ON_OWNER || RWSEM_SPIN_ON_OWNER
238                                                   238 
239 config ARCH_USE_QUEUED_SPINLOCKS                  239 config ARCH_USE_QUEUED_SPINLOCKS
240         bool                                      240         bool
241                                                   241 
242 config QUEUED_SPINLOCKS                           242 config QUEUED_SPINLOCKS
243         def_bool y if ARCH_USE_QUEUED_SPINLOCK    243         def_bool y if ARCH_USE_QUEUED_SPINLOCKS
244         depends on SMP                            244         depends on SMP
245                                                   245 
246 config BPF_ARCH_SPINLOCK                          246 config BPF_ARCH_SPINLOCK
247         bool                                      247         bool
248                                                   248 
249 config ARCH_USE_QUEUED_RWLOCKS                    249 config ARCH_USE_QUEUED_RWLOCKS
250         bool                                      250         bool
251                                                   251 
252 config QUEUED_RWLOCKS                             252 config QUEUED_RWLOCKS
253         def_bool y if ARCH_USE_QUEUED_RWLOCKS     253         def_bool y if ARCH_USE_QUEUED_RWLOCKS
254         depends on SMP && !PREEMPT_RT          !! 254         depends on SMP
255                                                   255 
256 config ARCH_HAS_MMIOWB                            256 config ARCH_HAS_MMIOWB
257         bool                                      257         bool
258                                                   258 
259 config MMIOWB                                     259 config MMIOWB
260         def_bool y if ARCH_HAS_MMIOWB             260         def_bool y if ARCH_HAS_MMIOWB
261         depends on SMP                            261         depends on SMP
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php