[PATCH] Light weight event counters
[deliverable/linux.git] / block / ll_rw_blk.c
index eee03a3876a3f2f875260b64c1c0bc51267219a3..fb83547f563e0388303faf000c7a4c8fc43bf5db 100644 (file)
@@ -3117,9 +3117,9 @@ void submit_bio(int rw, struct bio *bio)
        BIO_BUG_ON(!bio->bi_io_vec);
        bio->bi_rw |= rw;
        if (rw & WRITE)
-               mod_page_state(pgpgout, count);
+               count_vm_events(PGPGOUT, count);
        else
-               mod_page_state(pgpgin, count);
+               count_vm_events(PGPGIN, count);
 
        if (unlikely(block_dump)) {
                char b[BDEVNAME_SIZE];
This page took 0.047054 seconds and 5 git commands to generate.