<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Eventfd on Nalar</title>
    <link>https://nalar.dev/id/tags/eventfd/</link>
    <description>Recent content in Eventfd on Nalar</description>
    <generator>Hugo</generator>
    <language>id-id</language>
    <lastBuildDate>Fri, 18 Sep 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://nalar.dev/id/tags/eventfd/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>eventfd Mengagregasi Notifikasi dalam Counter Kernel</title>
      <link>https://nalar.dev/id/eventfd-mengagregasi-notifikasi-dalam-counter-kernel/</link>
      <pubDate>Fri, 18 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://nalar.dev/id/eventfd-mengagregasi-notifikasi-dalam-counter-kernel/</guid>
      <description>&lt;p&gt;Sebuah &lt;code&gt;eventfd&lt;/code&gt; dapat menyerap beberapa write notifikasi sebelum userspace melayani descriptor. Kernel menyimpan write tersebut dalam counter 64-bit, sehingga readiness merepresentasikan state counter yang tertunda, bukan antrean dengan satu record untuk setiap notifikasi.&lt;/p&gt;&#xA;&lt;p&gt;Perbedaan ini penting di event loop. Producer dapat menambah nilai saat consumer sedang sibuk, lalu read berikutnya dapat melebur state yang terakumulasi menjadi satu hasil. Dengan &lt;code&gt;EFD_SEMAPHORE&lt;/code&gt;, objek yang sama menyediakan aturan konsumsi berbeda tanpa mengubah model readiness-nya.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
