Slashdot Mirror


HEADSUP: Change of Makedev() Semantics on FreeBSD

Dan writes "FreeBSD's Poul-Henning Kamp is in the process of adding ref-counting and locking to dev_t, and would very much prefer if this step is completed soon before 5-STABLE gets branched. He says that all this will be transparent to the majority of device drivers, as the refcounting will happen in the make_dev() and destroy_dev() family of calls and normal drivers need not know more about it."

21 comments

  1. HEADSUP?? by KDan · · Score: 0, Funny

    CATSUP!

    Daniel

    --
    Carpe Diem
  2. Umm... why post this here? by Anonymous Coward · · Score: 2, Insightful

    Seriously, that's what *-devel mailing lists are for. I doubt that the average (and even the not-so-average) Slashdot reader cares.

    (And, this is certainly not the place that FreeBSD device driver writers come to discuss changes to the kernel.)

    1. Re:Umm... why post this here? by KDan · · Score: 0, Troll

      It's an evil plan I tell you. They post this random stuff that affects possibly 1 out of 100'000 slashdotters on here and dare call it a topic. Then I make a perfectly reasonable Simspons comparison between the headline (HEADSUP) and Ketchup (CATSUP), and they mod me as troll... tsk tsk tsk...

      Daniel

      --
      Carpe Diem
  3. Anything to comment about? by DrSkwid · · Score: 2

    Anyone know why this is a good/bad thing ?

    The stuff concerning dev_t on the LKML concerned itself with tty stuff.

    Will it really mean the death of tty ? I do hope so.

    isatty is a stupid anachronism (which is why plan9 got rid of such idiocy).

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    1. Re:Anything to comment about? by __past__ · · Score: 2, Informative
      Anyone know why this is a good/bad thing?
      It's a completly uninteresting thing that will not affect any users, and only a few device driver developers.
      The stuff concerning dev_t on the LKML concerned itself with tty stuff.
      What does the LKML have to do with anything?
    2. Re:Anything to comment about? by DrSkwid · · Score: 1

      What does the LKML have to do with anything?

      L introduced dev_t reference counting in 2.5
      I was trying to find out what the features / costs were

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  4. In other news by baywulf · · Score: 1

    the second parameter to the kmalloc function has been changed to an unsigned int allowing for increased memory capacity. Users everywhere hail the dawn of a new age where more memory can be allocated.

  5. Do the math by MarkusQ · · Score: 4, Funny

    • World population: ~10^9
    • Proportion that speak english: ~1/10
    • Proportion that speak some form of technical english: ~1/10
    • Proportion of those who speak computer english: ~1/10
    • Proportion of those who program: ~1/10
    • Proportion of those who could write a device driver: ~1/10
    • Proportion of those who actual do write device drivers: ~1/10
    • Proportion of those who are doing so for *nix: ~1/3
    • Proportion of those who are doing so for FreeBSD: ~1/10
    • Proportion of those who use mkdev: ~1/2
    So even assuming 5% of them read /. to keep up an library changes, less than one person will care. Presumably, that was the poster.

    -- MarkusQ

    P.S. So what, you may ask, am I doing here? Easy. Some people are croud followers, and rush to the scene of a big fire or train wreck (or, if none are handy, a mall).

    I'm not like that.

    1. Re:Do the math by Anonymous Coward · · Score: 0

      I see you scored a "Score:0, Flamebait". That's amazing -- that one guy who cared happened to be your moderator. I bet you weren't expecting that!

    2. Re:Do the math by Anonymous Coward · · Score: 0

      I would say quite frankly, FreeBSD is dead.

    3. Re:Do the math by Anonymous Coward · · Score: 0

      This is interesting, because most BSD people care somewhat about the release of 5.x

      Who actualy has been informed by these changes and will change their driver though slashdot? You are likely correct.

      However major changes to 5.1-current will of course put it behind, and this is why its news.

  6. Re:Is Dying by Anonymous Coward · · Score: 1

    That is why this trademark exists.

    Mark (words only): LINUX
    GOODS AND/OR SERVICES
    laundry detergents and laundry bleaches for home use; all purpose cleaning preparations for home use; general purpose scouring powders; skin soap for personal use; perfume; essential oils for personal use; preparations for personal hygiene and cosmetic purposes, namely, hair shampoo, skin toners, shower gel, skin lotions; hair tonic and toothpaste

  7. Refcounting ? by Anonymous Coward · · Score: 0

    What is "refcounting" ?

  8. Does this need a Slashdot article ? by chrysalis · · Score: 2, Interesting

    I really don't understand why every time a single line of code is changed to this beta version of FreeBSD, a Slashdot article is made.

    Moreover something like that one... Except some rare developpers, nobody knows what it actually changes. Just because in fact... nothing changes... only internals. So what's the point?

    And the 3.4 OpenBSD song has been released :

    http://www.openbsd.org/lyrics.html

    Why is there no Slashdot article about this?

    --
    {{.sig}}
  9. Re:*BSD is dying by Anonymous Coward · · Score: 0

    Here is your rebutal to the same crap that you have been posting. Netcraft says FreeBSD has 2 million active sites. Sounds like a little more that 36000.