@@ -34,7 +34,6 @@ struct folio_queue {
34
34
struct folio_queue * prev ; /* Previous queue segment of NULL */
35
35
unsigned long marks ; /* 1-bit mark per folio */
36
36
unsigned long marks2 ; /* Second 1-bit mark per folio */
37
- unsigned long marks3 ; /* Third 1-bit mark per folio */
38
37
#if PAGEVEC_SIZE > BITS_PER_LONG
39
38
#error marks is not big enough
40
39
#endif
@@ -58,7 +57,6 @@ static inline void folioq_init(struct folio_queue *folioq, unsigned int rreq_id)
58
57
folioq -> prev = NULL ;
59
58
folioq -> marks = 0 ;
60
59
folioq -> marks2 = 0 ;
61
- folioq -> marks3 = 0 ;
62
60
folioq -> rreq_id = rreq_id ;
63
61
folioq -> debug_id = 0 ;
64
62
}
@@ -178,45 +176,6 @@ static inline void folioq_unmark2(struct folio_queue *folioq, unsigned int slot)
178
176
clear_bit (slot , & folioq -> marks2 );
179
177
}
180
178
181
- /**
182
- * folioq_is_marked3: Check third folio mark in a folio queue segment
183
- * @folioq: The segment to query
184
- * @slot: The slot number of the folio to query
185
- *
186
- * Determine if the third mark is set for the folio in the specified slot in a
187
- * folio queue segment.
188
- */
189
- static inline bool folioq_is_marked3 (const struct folio_queue * folioq , unsigned int slot )
190
- {
191
- return test_bit (slot , & folioq -> marks3 );
192
- }
193
-
194
- /**
195
- * folioq_mark3: Set the third mark on a folio in a folio queue segment
196
- * @folioq: The segment to modify
197
- * @slot: The slot number of the folio to modify
198
- *
199
- * Set the third mark for the folio in the specified slot in a folio queue
200
- * segment.
201
- */
202
- static inline void folioq_mark3 (struct folio_queue * folioq , unsigned int slot )
203
- {
204
- set_bit (slot , & folioq -> marks3 );
205
- }
206
-
207
- /**
208
- * folioq_unmark3: Clear the third mark on a folio in a folio queue segment
209
- * @folioq: The segment to modify
210
- * @slot: The slot number of the folio to modify
211
- *
212
- * Clear the third mark for the folio in the specified slot in a folio queue
213
- * segment.
214
- */
215
- static inline void folioq_unmark3 (struct folio_queue * folioq , unsigned int slot )
216
- {
217
- clear_bit (slot , & folioq -> marks3 );
218
- }
219
-
220
179
/**
221
180
* folioq_append: Add a folio to a folio queue segment
222
181
* @folioq: The segment to add to
@@ -318,7 +277,6 @@ static inline void folioq_clear(struct folio_queue *folioq, unsigned int slot)
318
277
folioq -> vec .folios [slot ] = NULL ;
319
278
folioq_unmark (folioq , slot );
320
279
folioq_unmark2 (folioq , slot );
321
- folioq_unmark3 (folioq , slot );
322
280
}
323
281
324
282
#endif /* _LINUX_FOLIO_QUEUE_H */
0 commit comments