Announcement

Collapse
No announcement yet.

AMD Working To Allow Linux To Handle Up To 128 DRM Devices Per System

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by OneTimeShot View Post
    I know that it's a security risk to let a system register an infinite number of things, but how did they come up with the number 128? Is there a 7-bit number in there somewhere?

    Why not 256 or 1024?
    IIRC it's a statically allocated table (occupies memory even if only a small portion is used, ie you don't want to make it any bigger than needed) and 64 wasn't quite enough.
    Test signature

    Comment


    • #12
      seriously though, theres no way to engineer the code that doesnt involve these kind of arbitrary limits?

      Comment


      • #13
        Originally posted by quaz0r View Post
        seriously though, theres no way to engineer the code that doesnt involve these kind of arbitrary limits?
        If you want to add dynamically allocated memory into the kernel, sure. There are often reasons to try and avoid that though.

        Comment

        Working...
        X