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. What We Can Learn From BSD by Anonymous Coward · · Score: -1, Troll

    What We Can Learn From BSD
    By Chinese Karma Whore, Version 1.0

    Everyone knows about BSD's failure and imminent demise. As we pore over the history of BSD, we'll uncover a story of fatal mistakes, poor priorities, and personal rivalry, and we'll learn what mistakes to avoid so as to save Linux from a similarly grisly fate.

    Let's not be overly morbid and give BSD credit for its early successes. In the 1970s, Ken Thompson and Bill Joy both made significant contributions to the computing world on the BSD platform. In the 80s, DARPA saw BSD as the premiere open platform, and, after initial successes with the 4.1BSD product, gave the BSD company a 2 year contract.

    These early triumphs would soon be forgotten in a series of internal conflicts that would mar BSD's progress. In 1992, AT&T filed suit against Berkeley Software, claiming that proprietary code agreements had been haphazardly violated. In the same year, BSD filed countersuit, reciprocating bad intentions and fueling internal rivalry. While AT&T and Berkeley Software lawyers battled in court, lead developers of various BSD distributions quarreled on Usenet. In 1995, Theo de Raadt, one of the founders of the NetBSD project, formed his own rival distribution, OpenBSD, as the result of a quarrel that he documents on his website. Mr. de Raadt's stubborn arrogance was later seen in his clash with Darren Reed, which resulted in the expulsion of IPF from the OpenBSD distribution.

    As personal rivalries took precedence over a quality product, BSD's codebase became worse and worse. As we all know, incompatibilities between each BSD distribution make code sharing an arduous task. Research conducted at MIT found BSD's filesystem implementation to be "very poorly performing." Even BSD's acclaimed TCP/IP stack has lagged behind, according to this study.

    Problems with BSD's codebase were compounded by fundamental flaws in the BSD design approach. As argued by Eric Raymond in his watershed essay, The Cathedral and the Bazaar, rapid, decentralized development models are inherently superior to slow, centralized ones in software development. BSD developers never heeded Mr. Raymond's lesson and insisted that centralized models lead to 'cleaner code.' Don't believe their hype - BSD's development model has significantly impaired its progress. Any achievements that BSD managed to make were nullified by the BSD license, which allows corporations and coders alike to reap profits without reciprocating the goodwill of open-source. Fortunately, Linux is not prone to this exploitation, as it is licensed under the GPL.

    The failure of BSD culminated in the resignation of Jordan Hubbard and Michael Smith from the FreeBSD core team. They both believed that FreeBSD had long lost its earlier vitality. Like an empire in decline, BSD had become bureaucratic and stagnant. As Linux gains market share and as BSD sinks deeper into the mire of decay, their parting addresses will resound as fitting eulogies to BSD's demise.

  5. Elegy for *BSD by Anonymous Coward · · Score: -1, Troll

    Elegy For *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  6. 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.

  7. 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.

  8. Is Dying by Anonymous Coward · · Score: -1, Troll

    What's this?! Only two "is dying" trolls so far. Pitiful! Stop being so lazy, and start posting, all you smelly GNU hippies!

    1. 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

  9. BSD is dying by Anonymous Coward · · Score: -1, Redundant

    When it comes to the subject of operating systems, most of us can agree on at least one thing, and that is the simple plain truth that *BSD is dying. But the deeper question is why? Why did *BSD fail?

    Once you get past the fact that *BSD is fragmented between a myriad of incompatible kernels, there is the historical record of failure and of failed operating systems. *BSD experienced moderate success about 15 years ago in academic circles. Since then it has been in steady decline. We all know *BSD keeps losing market share but why? Is it the problematic personalities of many of the key players? Or is it larger than their troubled personas?

    The record is clear on one thing: no operating system has ever come back from the grave. Efforts to resuscitate *BSD are one step away from spiritualists wishing to communicate with the dead. As the situation grows more desperate for the adherents of this doomed OS, the sorrow takes hold. An unremitting gloom hangs like a death shroud over a once hopeful *BSD community. That hope is long gone, replaced by an inconsolable despair. A mournful and plaintive nostalgia has settled in. Now is the end time for *BSD.

  10. *BSD Sux0rs by Anonymous Coward · · Score: -1, Troll
    In a startling turn of events today, a previously little-known fact came into the public eye: "*BSD Sux0rs". This came as a complete surprise to the BUWLA, or BSD Users With Large Assholes, as they previously thought that *BSD 0wned.

    "You see, even though I have never contributed code to any BSD project, I thought it was my duty to be a big asshole to others which don't use the OS I do, because it just 0wnz.", said one FreeBSD user. "Now that I know it sux0rs, though, I have to go find something else to be an asshole about."

    One notorious OpenBSD fanatic known as WideOpen, told reporters, "I have to kill myself. This isn't how it was supposed to happen. My BSD has always been the best, and shouting that opinion in other people's faces at every chance I got has been my only hobby. It was all I ever did. It was what got me out of bed in the morning. Now I have to die. I will jam my bedpost up my ass until I hit my brain. It is the only way to go: BSD style."

    In the volatile world of operating systems anything can happen. "At least we don't sux0r as much as Windows users", BigAzz, a relatively well-known NetBSD user said. "Screaming things in people's faces is my calling. Now I need to scream that BSD sux0rs. What a sad world. At least I won't kill myself like those uber-asshole OpenBSD guys. They are just way over the top. Or were, at least."

    Nobody knows for sure what the future holds for the state of operating systems, but with Netcraft confirming the sux0r status, *BSD users all over the world will have to stick something else up their asses from now on or risk looking even more gay than they used to.

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

    What is "refcounting" ?

  12. 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}}
  13. *BSD is dying by Anonymous Coward · · Score: -1, Troll
    It is official; Netcraft now confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

    1. 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.