/* According to linux/thread.h pids can not be bigger than or equal to 1 << 30 */ #define MAX_PID (1 << 30)
/* Just keep 6 chunks of both upper and lower in the cache on alloc */ #define CHUNK_ALLOC 6
/* Have 2 chunks free, trigger a refill of the cache */ #define CHUNK_REALLOC 2
union lower_chunk { union lower_chunk *next; unsignedlong data[LOWER_SIZE]; // 2K in size
};
union upper_chunk { union upper_chunk *next; union lower_chunk *data[UPPER2_SIZE]; // 1 or 2K in size
};
struct trace_pid_list {
raw_spinlock_t lock; struct irq_work refill_irqwork; union upper_chunk *upper[UPPER1_SIZE]; // 1 or 2K in size union upper_chunk *upper_list; union lower_chunk *lower_list; int free_upper_chunks; int free_lower_chunks;
};
#endif/* _TRACE_INTERNAL_PID_LIST_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.