lwq_enqueue_batch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

lwq_enqueue_batch(9) πŸŽ€βœ¨

okay so we're in the Kernel API Manual, and this page is about lwq_enqueue_batch(9) β€” the way that it adds a list of new items to the end of the queue. No cap, it's giving batch-append main character energy. πŸ’…


🌸 NAME 🌸

  • lwq_enqueue_batch β€” add a list of new items to the end of the queue.
  • @n β€” the lwq_node embedded in the first item to be added.
  • @q β€” the lwq to append to.

✨ SYNOPSIS ✨

bool lwq_enqueue_batch (struct llist_node *n , struct lwq *q );

🫢 ARGUMENTS 🫢

  • n β€” -- undescribed -- (yes, the page literally leaves it undescribed, bestie 😭).
  • q β€” -- undescribed -- (same mysterious energy, no cap).

πŸ’… DESCRIPTION πŸ’…

No locking is needed to append to the queue, so this can be called from any context β€” fr fr, any context. It returns true if the list may have previously been empty. That's the whole flex. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/lwq.h


later, bestie β€” this one’s signed off from the source/version path ./include/linux, dated October 2026 πŸ’–βœ¨ periodt.

πŸ“¦ where this page comes from