g for your opinion about this issue
and I'm looking for a "mentor" (some kind of guidance) to continue
this project. If someone is interested to help, it would be very
appreciated.
Best
Davide Italiano
___
freebsd-hackers@freebsd.org maili
oh, sorry I noticed that there's a typo.
In mtx_init(&uma_mtx, "Bitmap Lock", NULL, MTX_DEF);
you should replace uma_mtx with bitmap_mtx.
Davide
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To uns
It seems that today I've some good news.
I've done some job.
Before I tried stuffs userspace
http://davit.altervista.org/malloc_new.c , then I improved my patch a
bit http://davit.altervista.org/uma_large_allocations.patch )
So, the situation is follow. System starts (before it doesn't), but
I've
2011/10/2 Lev Serebryakov :
> Hello, Freebsd-hackers.
>
> Here are several memory-allocation mechanisms in the kernel. The two
> I'm aware of is MALLOC_DEFINE()/malloc()/free() and uma_* (zone(9)).
>
> As far as I understand, malloc() is general-purpose, but it has
> fixed "transaction cost" (in
2011/10/2 Lev Serebryakov :
> Hello, Davide.
> You wrote 2 октября 2011 г., 16:57:48:
>
>>> But what if I need to allocate a lot (say, 16K-32K) of page-sized
>>> blocks? Not in one chunk, for sure, but in lifetime of my kernel
>>> module. Which allocator should I use? It seems, the best one will
On Sun, Oct 2, 2011 at 4:37 PM, Lev Serebryakov wrote:
> Hello, Davide.
> You wrote 2 октября 2011 г., 18:00:26:
>
>>> BTW, I/O is often require big buffers, up to MAXPHYS (128KiB for
>>> now), do you mean, that any allocation of such memory has
>>> considerable performance penalties, especiall
Was the node you're removing actually part of the tree?
I had a similar issue some time ago because I've tried insert two
nodes w/ the same key and then remove then.
In practice, the second INSERT operation failed (due to the definition
of key in a BST), and so I was trying to remove a node that wa
On Thu, Jan 12, 2012 at 6:01 AM, Eitan Adler wrote:
> This is an implementation of dup3 for FreeBSD:
> man page here (with a FreeBSD patch coming soon):
> https://www.kernel.org/doc/man-pages/online/pages/man2/dup.2.html
>
> Is this implementation correct? If so any objection to adding this as
> a
On Wed, Jan 25, 2012 at 9:58 AM, Arnaud Lacombe wrote:
> Hi,
>
> On Wed, Jan 25, 2012 at 2:28 AM, Mark Linimon wrote:
>>> I might just be also interested to review/comment code, discuss
>>> regressions, and architecture, for a change ;-)
>>> Unfortunately, such threads rarely ever happen. Most of
On Wed, Jul 11, 2012 at 9:52 PM, Paul Albrecht wrote:
>
> Hi,
>
> Sorry about this repost but I'm confused about the responses I received
> in my last post so I'm looking for some clarification.
>
> Specifically, I though I could use the kqueue timer as essentially a
> "drop in" replacement for li
On Thu, Jul 12, 2012 at 4:26 PM, John Baldwin wrote:
> On Thursday, July 12, 2012 9:57:16 am Ian Lepore wrote:
>> On Thu, 2012-07-12 at 08:34 -0400, John Baldwin wrote:
>> > On Wednesday, July 11, 2012 5:00:47 pm Ian Lepore wrote:
>> > > On Wed, 2012-07-11 at 14:52 -0500, Paul Albrecht wrote:
>> >
On Thu, Jul 12, 2012 at 5:25 PM, John Baldwin wrote:
> On Thursday, July 12, 2012 11:08:47 am Davide Italiano wrote:
>> On Thu, Jul 12, 2012 at 4:26 PM, John Baldwin wrote:
>> > On Thursday, July 12, 2012 9:57:16 am Ian Lepore wrote:
>> >> On Thu, 2012-07-12 at 0
On Thu, Jul 19, 2012 at 5:06 PM, Paul Albrecht wrote:
> On Fri, 2012-07-13 at 07:22 -0500, Davide Italiano wrote:
>> On Thu, Jul 12, 2012 at 5:25 PM, John Baldwin wrote:
>> > On Thursday, July 12, 2012 11:08:47 am Davide Italiano wrote:
>> >> On Thu, Jul 12, 2012 a
On Wed, Aug 1, 2012 at 7:05 PM, Arnaud Lacombe wrote:
> Hi,
>
> On Wed, Aug 1, 2012 at 12:40 PM, Attilio Rao wrote:
>> On Wed, Aug 1, 2012 at 5:32 PM, Arnaud Lacombe wrote:
>>> Hi,
>>>
>>> On Tue, Jul 31, 2012 at 4:14 PM, Attilio Rao wrote:
You don't want to work cooperatively.
>
On Thu, Dec 6, 2012 at 4:18 PM, Andriy Gapon wrote:
>
> So I configured a kernel with the following option:
> options KTR_ENTRIES="(1024UL*1024)"
> then booted the kernel and did
> $ sysctl debug.ktr.clear=1
> and got an insta-reboot.
>
> No panic, nothing, just a reset.
>
> I suspect that t
On Fri, Mar 1, 2013 at 2:50 PM, Andriy Gapon wrote:
>
> I am trying to understand if it is possible to allow memory allocations
> (M_NOWAIT,
> of course) in a spinlock context.
> I do not see any obvious architectural obstacles.
> But the fact that all of the uma locks, system map lock, object lo
Hi.
I'm running 8.1 on my Sony Vaio laptop, with dwm as window manager on
lastest Xorg on ports.
When I'm trying to run firefox3, the system "freezes" unexpectly. I
know that "freezes" is a bit generic but I can't find a more specific
term to describe the situation. Dmesg doesn't give useful infos.
On Sun, Aug 29, 2010 at 6:29 PM, Glen Barber wrote:
> On 8/29/10 10:18 AM, Davide Italiano wrote:
>> Hi.
>> I'm running 8.1 on my Sony Vaio laptop, with dwm as window manager on
>> lastest Xorg on ports.
>> When I'm trying to run firefox3, the system "fr
On Sun, Aug 29, 2010 at 10:06 PM, Garrett Cooper wrote:
> On Sun, Aug 29, 2010 at 9:33 AM, Davide Italiano
> wrote:
>> On Sun, Aug 29, 2010 at 6:29 PM, Glen Barber wrote:
>>> On 8/29/10 10:18 AM, Davide Italiano wrote:
>>>> Hi.
>>>> I'm runn
>
> Ok. How about this?
>
> Firefox items:
> 1. What version of Firefox are you using?
Firefox 3.6.4. Lastest from ports, compiled now.
> 2. Are you using any Firefox plugins?
Yes, Xmarks.
> 3. When you try to bring up Firefox, does it start to render the GTK
> window and then freeze, or does i
removing ~/.mozilla works fine. I think that problem's related to
add-on Xmarks I've been installer or to "Restore session"
functionality
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe
On 31/08/10 07:53, John Baldwin wrote:
> On Monday, August 30, 2010 12:45:40 pm Garrett Cooper wrote:
> > On Mon, Aug 30, 2010 at 9:24 AM, Davide Italiano
> > wrote:
> > > removing ~/.mozilla works fine. I think that problem's related to
> > > add-on Xma
On Wed, Aug 28, 2013 at 3:56 PM, Ivan Voras wrote:
> Hi,
>
> Prodded by davide@, I'd like to collect opinions about raising the
> vfs.ufs.dirhash_reclaimage sysctl from 5 to 60, committed at:
>
> http://svnweb.freebsd.org/changeset/base/254986
>
> What it does:
>
> Used in lowmem handler at
> http
> What would perhaps be better than a hardcoded reclaim age would be to use
> an LRU-type approach and perhaps set a target percent to reclaim. That is,
> suppose you were to reclaim the oldest 10% of hashes on each lowmem call
> (and make the '10%' the tunable value). Then you will always make s
On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd wrote:
> Hi,
>
Hi Adrian,
> Please try it out on a -10 VM with something RAM limited - say, 128mb w/
> GENERIC. See how it behaves.
>
> I've successfully done buildworlds on 10-i386 with 128mb RAM. Let's try not
> to break that before releng/10 is cut
On Tue, Oct 8, 2013 at 1:32 PM, Davide Italiano wrote:
> On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd wrote:
>> Hi,
>>
>
> Hi Adrian,
>
>> Please try it out on a -10 VM with something RAM limited - say, 128mb w/
>> GENERIC. See how it behaves.
>>
>&g
On Tue, Oct 8, 2013 at 3:38 PM, RW wrote:
> On Tue, 8 Oct 2013 13:32:58 +0200
> Davide Italiano wrote:
>
>> On Tue, Oct 8, 2013 at 1:25 PM, Adrian Chadd
>> wrote:
>> > Hi,
>> >
>>
>> Hi Adrian,
>>
>> > Please try it out on a -10 V
27 matches
Mail list logo