Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 1998 18:46:27 +0100
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        zhihuizhang <bf20761@binghamton.edu>
Cc:        hackers <freebsd-hackers@FreeBSD.ORG>, seggers@semyam.dinoco.de
Subject:   Re: How sync() gets called every 30 seconds? 
Message-ID:  <199811041746.SAA02575@semyam.dinoco.de>
In-Reply-To: Your message of "Wed, 04 Nov 1998 12:19:41 EST." <Pine.SOL.L3.93.981104121741.14222A-100000@bingsun1> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi, Can anyone tell me where in the source code the sync() (in
> vfs_syscalls.c) is set up to be called every 30 seconds?

In vfs_subr.c with a SYSINIT_KT() and an associated struct.  This
creates a process which consists of sched_sync.

Stefan.
-- 
Stefan Eggers                 Lu4 yao2 zhi1 ma3 li4,
Max-Slevogt-Str. 1            ri4 jiu3 jian4 ren2 xin1.
51109 Koeln
Federal Republic of Germany

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811041746.SAA02575>