Re: Cleaning up vgone.
Next message: Tim Kientzle: "Removing gtar from base"
Date: Fri, 11 Mar 2005 16:33:23 -0800 (PST)
To: dillon@apollo.backplane.com
On 10 Mar, Matthew Dillon wrote:
> Another thing I did in DragonFly was to get rid of the crazy handling of
> the vnode's reference count during the reclaim. I don't know what
> FreeBSD-HEAD is doing now, but FreeBSD-4 dropped the ref count to 0
> and then did the crazy VXLOCK stuff. In DragonFly I changed that so
> the ref count is left at 1 (not 0) during the reclaim. This required
> fixing up a few cases that were checking the refcount against an absolute
> 0 or 1 (I forget the cases), but it made the code a whole lot easier to
> understand.
I suggested doing this a long time ago, but there seemed to be enough
side effects that I didn't try to implement it.
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
Next message: Tim Kientzle: "Removing gtar from base"
Relevant Pages
- Re: Write-to-disk cache via WeakReferences?
... However, in your code, it's only the Proxy objects that the GC will be able to reclaim since they're the only objects that are softly reachable. ... This will cause the associated Resources to be written to disk, more than is probably necessary since the GC doens't know that you intend on reclaiming the memory for the Resources. ... To reclaim memory from eden any objects that do still have a reference are copied into a survivor area. ... Finalisers can then be run in finaliser threads and ReferenceQueues can pass on the dead References. ... (comp.lang.java.programmer) - Re: Garbage collection problem
... Eligibility for reclaim and actual reclaiming ... through a strong reference to "test" local variable. ... determination that the TestA instance is eligible for reclaim. ... determination of GC eligibility is an incremental process. ... (comp.lang.java.programmer) - [PATCH 4/7] CART - an advanced page replacement policy
... This elevates the typical scan problem of eating your own tail. ... * Try to reclaim a specified number of pages. ... * Clears PG_lru of reclaimed pages, but does take 1 reference. ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: Exploiting Dual Cores with Py_NewInterpreters separated GIL ?
... This was put into Python to be able to reclaim object cycles. ... still that only walks on objects which have already zero refcount. ... Any object whose reference count goes to zero will immediately be reclaimed. ... The mark-sweep garbage collector is used to detect objects that are taking part in cycles - sets of objects that only refer to each other without being bound to a name in any current namespace or to any container object bound to such a name. ... (comp.lang.python) - Re: Flash disks and FFS layout heuristics
... :In message, Matthew Dillon w ... :> Er, why don't you explain it again, because I can't find the reference. ... no skin off my nose. ... (freebsd-arch) |
|