Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof of work SO2, lab02 #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Proof of work SO2, lab02 #1

wants to merge 7 commits into from

Commits on Mar 11, 2022

  1. Add skels for lab02

    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    4bbe509 View commit details
    Browse the repository at this point in the history
  2. Solve 2nd exercise

    The bug is raised beacause sleeping is not allowed in atomic context.
    
    BUG: scheduling while atomic: insmod/228/0x00000002
    1 lock held by insmod/228
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    c74acaf View commit details
    Browse the repository at this point in the history
  3. Solve 3rd exercise

    root@qemux86:~/skels/kernel_api# rmmod 3-memory/memory.ko
    pid: 228, timestamp: -55002
    pid: 0, timestamp: -55002
    pid: 1, timestamp: -55002
    pid: 2, timestamp: -55002
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    483b0e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Solve 4th exercise

    before exiting: [
    (1, 4294964624)
    (0, 4294964624)
    (205, 4294964624)
    (236, 4294964623)
    ]
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    14764d2 View commit details
    Browse the repository at this point in the history
  2. Solve 5th exercise

    To prevent removal, the value count should be above 6.
    
    after first add: [
    (1, 1823)
    (0, 1823)
    (205, 1823)
    (239, 1823)
    ]
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    41eaa4b View commit details
    Browse the repository at this point in the history
  3. Solve 6th exercise

    after first add: [
    (1, 4294951615)
    (0, 4294951615)
    (204, 4294951615)
    (229, 4294951615)
    ]
    
    after removing expired: [
    (229, 4294951615)
    ]
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    a3e0b6d View commit details
    Browse the repository at this point in the history
  4. Solve 7th exercice

    after new addition: [
    (234, 396)
    (1, 396)
    (0, 396)
    (203, 396)
    (231, 4294962409)
    ]
    
    lsmod:
        Tainted: G
    list_test 16384 0 - Live 0xd0848000 (O)
    list_sync 16384 1 list_test, Live 0xd0859000 (O)
    
    unloading:
    The unloading of the test module triggers the remove_expired
    function from ex 6.
    The module for ex6 is still loaded.
    
    lsmod
        Tainted: G
    list_sync 16384 0 - Live 0xd0859000 (O)
    
    Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com>
    IulianOlaru249 committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    2290fc9 View commit details
    Browse the repository at this point in the history